/* Customer Dashboard New Design CSS */

/* Address Book Styles */
.address-header {
    margin-bottom: 20px;
}

.address-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.address-header .btn-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
}

.address-card {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 12px;
    height: 100%;
    transition: all 0.3s ease;
    width: 100%;
}

.address-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.address-type-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 2px;
    line-height: 1.5;
}

.address-header h5 {
    font-size: 13px;
    font-weight: 600;
}

.address-content {
    color: #555;
    font-size: 12px;
    line-height: 1.3;
}

.address-content p.small {
    font-size: 11px;
    margin-bottom: 2px;
}

.address-actions {
    margin-top: 8px;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.address-actions .btn {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}

/* My Orders Styles */
.orders-header {
    margin-bottom: 20px;
}

.orders-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.orders-table-container {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.orders-table thead {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.orders-table th {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.orders-table th.text-left {
    text-align: left;
}

.orders-table th.text-center {
    text-align: center;
}

.orders-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.orders-table td.text-center {
    text-align: center;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.order-id {
    font-weight: 600;
    color: #333;
}

.product-name {
    color: #555;
}

.price {
    font-weight: 600;
    color: #333;
}

.order-status {
    color: #666;
    font-size: 14px;
}

.view-order {
    text-align: center;
}

.view-order a {
    display: inline-block;
}

.eye-icon {
    color: #333;
    stroke-width: 1.5;
}

.view-order a:hover .eye-icon {
    color: #007bff;
}

.pagination-container {
    display: flex;
    justify-content: center;
}

/* New Breadcrumb Design */
.dashboard-breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.dashboard-breadcrumb .page-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    float: left;
}

.dashboard-breadcrumb .breadcrumbs {
    float: right;
    margin: 0;
    padding: 0;
}

.dashboard-breadcrumb .breadcrumbs a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.dashboard-breadcrumb .breadcrumbs a:hover {
    color: #4CAF50;
}

.dashboard-breadcrumb .breadcrumbs .title,
.dashboard-breadcrumb .breadcrumbs .main-title {
    color: #777;
    font-size: 14px;
}

.dashboard-breadcrumb .breadcrumbs i {
    font-size: 12px;
    color: #777;
    margin: 0 5px;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.dashboard-sidebar {
    width: 250px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-right: 30px;
}

.dashboard-content {
    flex: 1;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.profile-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-email {
    color: #777;
    font-size: 14px;
}

/* Navigation Menu */
.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li {
    border-bottom: 1px solid #eee;
}

.dashboard-nav li:last-child {
    border-bottom: none;
}

.dashboard-nav a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background-color: #f8f9fa;
    color: #4CAF50;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 25px;
}

.welcome-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.welcome-section p {
    color: #555;
    margin-bottom: 20px;
}

/* Order Statistics */
.order-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stat-box {
    display: flex;
    align-items: center;
    padding: 0;
}

.stat-icon {
    margin-right: 15px;
}

.stat-icon img {
    width: 45px;
    height: 45px;
}

.stat-content .number {
    font-size: 22px;
    font-weight: 700;
    color: #4CAF50;
    margin: 0;
    line-height: 1.2;
}

.stat-content .label {
    color: #555;
    font-size: 14px;
    margin: 0;
}

/* Account Information Sections */
.account-section {
    margin-bottom: 30px;
}

.account-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-section h3 .edit-link {
    font-size: 14px;
    color: #4CAF50;
    text-decoration: none;
}

.account-section h3 .edit-link:hover {
    text-decoration: underline;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 5px;
    color: #555;
}

.address-section {
    display: flex;
    justify-content: space-between;
}

.address-box {
    width: 48%;
}

.address-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.address-box address {
    margin-bottom: 10px;
    color: #555;
    font-style: normal;
}

.address-box .edit-address {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
}

.address-box .edit-address:hover {
    text-decoration: underline;
}
