/* Profile Page Styles */
.profile-main {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Sidebar Styles */
.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-card {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.user-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
}

.change-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #667eea;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.user-card h3 {
    margin: 0.5rem 0;
    color: #333;
}

.user-card p {
    color: #666;
    margin: 0.25rem 0;
}

.member-since {
    font-size: 0.9rem;
    color: #888;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #555;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-item.logout-btn {
    color: #ff4757;
    margin-top: 1rem;
}

.nav-item.logout-btn:hover {
    background: #ffeaea;
}

/* Main Content Styles */
.profile-main-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-section h2 {
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Form Styles */
.profile-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #667eea;
    outline: none;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.save-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cancel-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #e9ecef;
}

/* Orders Section */
.orders-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.filter-btn:hover {
    background: #e0e0e0;
}

.orders-list {
    min-height: 400px;
}

.no-orders,
.no-addresses {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-orders i,
.no-addresses i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.browse-products-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.browse-products-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* Addresses Section */
.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.add-address-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.add-address-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    min-height: 200px;
}

/* Security Section */
.security-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.security-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.security-card h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.toggle-switch label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #667eea;
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.view-sessions-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-sessions-btn:hover {
    background: #5a6268;
}

/* Preferences Section */
.preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.preference-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.preference-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preference-option {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preference-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.preference-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .security-options,
    .preferences-grid {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
}



/* Dashboard Widgets */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all {
    font-size: 0.85rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.widget-content {
    min-height: 150px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item i {
    width: 36px;
    height: 36px;
    background: #f0f4ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.summary-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

.quick-action i {
    font-size: 1.2rem;
}

/* Orders Page Specific */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.orders-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}

.stat-item i {
    color: #667eea;
}

.orders-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-box select {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
}

.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #f0f0f0;
}

.page-number.active {
    background: #667eea;
    color: white;
}

.order-actions-info {
    margin-top: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.action-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.action-card span {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-card small {
    color: #666;
    font-size: 0.85rem;
}

/* Addresses Page Specific */
.address-types-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.address-type-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e9ecef;
}

.address-type-card i {
    font-size: 1.5rem;
    color: #667eea;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.management-tips {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #f9f0ff 100%);
    border-radius: 12px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.tip-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.bulk-actions {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.bulk-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.bulk-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.bulk-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.bulk-btn.danger {
    color: #ff4757;
    border-color: #ff4757;
}

.bulk-btn.danger:hover {
    background: #ff4757;
    color: white;
}

/* Security Page Specific */
.security-status {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.status-meter {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #5cb85c);
    border-radius: 4px;
}

.status-text {
    font-weight: 600;
    color: #28a745;
}

.status-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-item.good i {
    color: #28a745;
}

.status-item.medium i {
    color: #ffc107;
}

.status-item.low i {
    color: #ff4757;
}

.security-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.security-form {
    margin-top: 1.5rem;
}

.2fa-setup {
    margin-top: 1.5rem;
}

.2fa-methods {
    margin-top: 2rem;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.method-card i {
    font-size: 2rem;
    color: #667eea;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-btn {
    padding: 0.5rem 1.5rem;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.setup-btn:hover {
    background: #667eea;
    color: white;
}

.sessions-list {
    margin: 1.5rem 0;
}

.session-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid #6c757d;
}

.session-card.current {
    border-left-color: #28a745;
    background: #f0f9f0;
}

.session-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.session-info i {
    font-size: 1.5rem;
    color: #667eea;
}

.session-status {
    padding: 0.25rem 0.75rem;
    background: #6c757d;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
}

.session-status.current {
    background: #28a745;
}

.recovery-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.recovery-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.recovery-card i {
    font-size: 2rem;
    color: #667eea;
}

.add-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background: #667eea;
    color: white;
}

.alert-settings {
    margin-top: 1.5rem;
}

.danger-zone {
    background: #fff5f5;
    border: 1px solid #ff6b6b;
}

.danger-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.danger-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #ff4757;
    color: #ff4757;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.danger-btn:hover {
    background: #ff4757;
    color: white;
}

.danger-warning {
    background: #ffeaea;
    padding: 1rem;
    border-radius: 6px;
    color: #cc0000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Preferences Page Specific */
.preferences-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.display-settings {
    margin-top: 1.5rem;
}

.privacy-settings,
.shopping-preferences {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.preference-option label span {
    font-weight: 500;
}

.preference-option small {
    display: block;
    color: #666;
    margin-left: 2rem;
    margin-top: 0.25rem;
    font-size: 0.85rem;
}

.preference-option input[type="radio"] {
    margin-right: 0.5rem;
}

.accessibility-settings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.preferences-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.export-btn {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: #5a6268;
}

/* Verification Section */
.verification-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.verification-status {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.verification-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e9ecef;
}

.verification-item.verified {
    border-color: #28a745;
    background: #f0f9f0;
}

.verification-item.pending {
    border-color: #ffc107;
    background: #fff9e6;
}

.verification-item i {
    font-size: 1.5rem;
}

.verification-item.verified i {
    color: #28a745;
}

.verification-item.pending i {
    color: #ffc107;
}

.verify-btn {
    padding: 0.5rem 1.5rem;
    background: #ffc107;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background: #e0a800;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* No Content States */
.no-orders,
.no-addresses,
.no-notifications {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.no-orders i,
.no-addresses i,
.no-notifications i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .orders-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .orders-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .address-types-info,
    .tips-grid,
    .recovery-options,
    .privacy-settings,
    .shopping-preferences {
        grid-template-columns: 1fr;
    }
    
    .preferences-actions {
        flex-direction: column;
    }
    
    .preferences-actions button {
        width: 100%;
    }
}

/* Order Cards */
.order-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #cce5ff;
    color: #004085;
}

.order-status.shipped {
    background: #d4edda;
    color: #155724;
}

.order-status.delivered {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.order-actions button {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.order-actions button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Address Cards */
.address-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.address-card.default-address {
    border-color: #667eea;
    background: #f0f4ff;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.default-badge {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.address-details p {
    margin: 0.5rem 0;
    color: #555;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.address-actions button {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.address-actions button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}


/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    border-left: 4px solid #28a745;
    font-weight: 500;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #ff4757;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #ff4757;
}

.notification.info i {
    color: #17a2b8;
}

/* ================================
   ENHANCED RESPONSIVE DESIGN
   ================================ */

/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .profile-main {
        max-width: 1600px;
    }
    
    .profile-content {
        grid-template-columns: 350px 1fr;
    }
    
    .dashboard-widgets {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .addresses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large tablets and small desktops (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .profile-content {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .addresses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-sidebar {
        position: static;
        margin-bottom: 1rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .addresses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .security-options,
    .preferences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .verification-status {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small tablets and large phones (600px to 768px) */
@media (max-width: 768px) and (min-width: 601px) {
    .profile-main {
        padding: 1rem;
    }
    
    .profile-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-sidebar,
    .profile-main-content {
        padding: 1.5rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .security-options,
    .preferences-grid,
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .orders-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .address-types-info {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .verification-status {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Mobile devices (480px to 600px) */
@media (max-width: 600px) and (min-width: 481px) {
    .profile-main {
        padding: 0.75rem;
    }
    
    .profile-header {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .profile-header h1 {
        font-size: 1.75rem;
    }
    
    .profile-header p {
        font-size: 1rem;
    }
    
    .profile-sidebar,
    .profile-main-content {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
    
    .change-avatar-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .nav-item {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .profile-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    .save-btn,
    .cancel-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .orders-filter {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .order-header,
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-actions,
    .address-actions {
        justify-content: center;
        width: 100%;
    }
    
    .order-actions button,
    .address-actions button {
        flex: 1;
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .preferences-actions {
        flex-direction: column;
    }
    
    .preferences-actions button {
        width: 100%;
    }
    
    .dashboard-widget {
        padding: 1.25rem;
    }
    
    .summary-value {
        font-size: 1.1rem;
    }
    
    .method-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .session-card {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* Small mobile devices (320px to 480px) */
@media (max-width: 480px) {
    .profile-main {
        padding: 0.5rem;
    }
    
    .profile-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .profile-header p {
        font-size: 0.9rem;
    }
    
    .profile-content {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .profile-sidebar,
    .profile-main-content {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .user-card {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
    }
    
    .user-card h3 {
        font-size: 1.25rem;
    }
    
    .user-card p {
        font-size: 0.9rem;
    }
    
    .nav-item {
        padding: 0.65rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
    
    .profile-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .profile-form {
        margin-top: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
        border-width: 1px;
    }
    
    .form-actions {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .save-btn,
    .cancel-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .dashboard-widgets {
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .dashboard-widget {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .widget-header {
        margin-bottom: 1rem;
    }
    
    .widget-header h3 {
        font-size: 1rem;
    }
    
    .summary-item {
        padding: 0.5rem 0;
    }
    
    .summary-value {
        font-size: 1rem;
    }
    
    .quick-action {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .orders-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
    
    .order-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .order-actions {
        justify-content: center;
    }
    
    .order-actions button {
        flex: 1;
        min-width: 100px;
        font-size: 0.85rem;
    }
    
    .address-card {
        padding: 1rem;
    }
    
    .address-details p {
        font-size: 0.9rem;
    }
    
    .address-actions button {
        flex: 1;
        min-width: 100px;
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }
    
    .security-card,
    .preference-card {
        padding: 1rem;
    }
    
    .toggle-switch label {
        width: 50px;
        height: 25px;
    }
    
    .toggle-slider:before {
        height: 18px;
        width: 18px;
        bottom: 3.5px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(25px);
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .notification {
        max-width: 90%;
        right: 5%;
        left: 5%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Extra small devices (below 320px) */
@media (max-width: 320px) {
    .profile-header h1 {
        font-size: 1.25rem;
    }
    
    .profile-header p {
        font-size: 0.85rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .user-card h3 {
        font-size: 1.1rem;
    }
    
    .nav-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .dashboard-widget {
        padding: 0.75rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    
    .stat-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.4rem;
    }
    
    .order-actions button,
    .address-actions button {
        min-width: 80px;
        font-size: 0.8rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 600px) and (orientation: landscape) {
    .profile-main {
        padding: 0.5rem;
    }
    
    .profile-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .profile-content {
        margin-top: 0.5rem;
    }
    
    .profile-sidebar {
        position: static;
        padding: 1rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-main-content {
        padding: 1rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .dashboard-widget {
        padding: 0.75rem;
    }
}

/* High-resolution displays */
@media (min-resolution: 192dpi) {
    .profile-header,
    .save-btn,
    .nav-item.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
}

/* Shared profile suite refresh */
.profile-suite {
    background:
        radial-gradient(circle at top left, rgba(255, 214, 153, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(102, 126, 234, 0.14), transparent 30%),
        linear-gradient(180deg, #f6f8fc 0%, #fffdf8 100%);
}

.profile-suite .profile-main {
    max-width: 1480px;
}

.profile-suite .profile-header {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 28px 60px rgba(79, 70, 229, 0.2);
}

.profile-suite .profile-header::after {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(8px);
}

.profile-suite .profile-content {
    align-items: start;
}

.profile-suite .profile-sidebar {
    padding: 1.5rem;
    border: 1px solid #eceff5;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.profile-suite .user-card {
    text-align: left;
    margin-bottom: 1.5rem;
}

.profile-suite .user-avatar {
    margin: 0 0 1rem;
    width: 112px;
    height: 112px;
}

.profile-suite .user-avatar img {
    border: 5px solid #ffffff;
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.18);
}

.profile-suite .change-avatar-btn {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.24);
}

.profile-suite .user-card h3 {
    font-size: 1.4rem;
    color: #101828;
}

.profile-suite .user-card p {
    color: #667085;
}

.profile-suite .member-since {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
}

.profile-suite .profile-nav {
    gap: 0.75rem;
}

.profile-suite .nav-item {
    gap: 0.85rem;
    border: 1px solid #eaecf0;
    background: #fff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

.profile-suite .nav-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #667eea;
}

.profile-suite .nav-item.active {
    box-shadow: 0 18px 32px rgba(102, 126, 234, 0.25);
}

.profile-suite .nav-item.active i {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.profile-suite .profile-main-content {
    border: 1px solid #eceff5;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.profile-suite .profile-section h2 {
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    color: #101828;
}

.profile-suite .section-header {
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    border: 1px solid #eaecf0;
    background: linear-gradient(135deg, #fffaf2 0%, #f7f9ff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.profile-suite .section-header h2 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-suite .addresses-header {
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    border: 1px solid #eaecf0;
    background: linear-gradient(135deg, #fffaf2 0%, #f7f9ff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.profile-suite .edit-btn,
.profile-suite .add-address-btn,
.profile-suite .bulk-btn,
.profile-suite .save-btn,
.profile-suite .cancel-btn,
.profile-suite .setup-btn,
.profile-suite .add-btn,
.profile-suite .danger-btn,
.profile-suite .export-btn,
.profile-suite .view-sessions-btn,
.profile-suite .browse-products-btn,
.profile-suite .verify-btn {
    min-height: 46px;
    border-radius: 14px;
    font-weight: 700;
}

.profile-suite .dashboard-widgets,
.profile-suite .addresses-grid,
.profile-suite .security-options,
.profile-suite .preferences-grid,
.profile-suite .privacy-settings,
.profile-suite .shopping-preferences,
.profile-suite .accessibility-settings {
    gap: 1.2rem;
}

.profile-suite .dashboard-widget,
.profile-suite .info-display,
.profile-suite .profile-form,
.profile-suite .verification-section,
.profile-suite .address-card,
.profile-suite .management-tips,
.profile-suite .bulk-actions,
.profile-suite .security-status,
.profile-suite .security-section,
.profile-suite .preferences-section,
.profile-suite .security-card,
.profile-suite .preference-card {
    border-radius: 22px;
    border: 1px solid #eaecf0;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.profile-suite .dashboard-widget:hover,
.profile-suite .address-card:hover,
.profile-suite .security-card:hover,
.profile-suite .preference-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(15, 23, 42, 0.1);
}

.profile-suite .widget-header {
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom-color: #eaecf0;
}

.profile-suite .view-all {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
    text-decoration: none;
}

.profile-suite .summary-item,
.profile-suite .quick-action,
.profile-suite .status-item,
.profile-suite .method-card,
.profile-suite .session-card,
.profile-suite .recovery-card,
.profile-suite .preference-option,
.profile-suite .alert-option,
.profile-suite .address-type-card,
.profile-suite .tip-card {
    border-radius: 18px;
    border: 1px solid #eceff3;
}

.profile-suite .summary-item,
.profile-suite .quick-action,
.profile-suite .status-item,
.profile-suite .preference-option,
.profile-suite .alert-option {
    background: rgba(255, 255, 255, 0.78);
}

.profile-suite .summary-item i,
.profile-suite .quick-action i,
.profile-suite .address-type-card i,
.profile-suite .method-card i,
.profile-suite .recovery-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef2ff;
    color: #4338ca;
}

.profile-suite .summary-value {
    color: #111827;
    font-size: 1.3rem;
}

.profile-suite .quick-action {
    padding: 0.95rem 1rem;
    border-color: #eaecf0;
}

.profile-suite .quick-action:hover {
    transform: translateX(0) translateY(-1px);
}

.profile-suite .form-group label,
.profile-suite .info-group label {
    color: #475467;
    font-weight: 700;
}

.profile-suite .form-group input,
.profile-suite .form-group select,
.profile-suite .form-group textarea,
.profile-suite .info-group p {
    border-radius: 16px;
    border-color: #d0d5dd;
    background: #fff;
}

.profile-suite .form-group input:focus,
.profile-suite .form-group select:focus,
.profile-suite .form-group textarea:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.profile-suite .form-help {
    color: #667085;
}

.profile-suite .verification-item,
.profile-suite .status-item,
.profile-suite .tip-card,
.profile-suite .method-card,
.profile-suite .session-card,
.profile-suite .recovery-card,
.profile-suite .preference-card,
.profile-suite .address-type-card {
    background: rgba(255, 255, 255, 0.82);
}

.profile-suite .management-tips,
.profile-suite .bulk-actions,
.profile-suite .security-status {
    background: linear-gradient(135deg, #fffaf2 0%, #f7f9ff 100%);
}

.profile-suite .status-meter {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
}

.profile-suite .meter-fill {
    border-radius: 999px;
}

.profile-suite .status-items,
.profile-suite .verification-status,
.profile-suite .recovery-options {
    gap: 1rem;
}

.profile-dashboard-page .profile-section {
    gap: 1.35rem;
}

.profile-dashboard-page.modal-open {
    overflow: hidden;
}

.profile-dashboard-page .dashboard-overview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.4rem 1.5rem;
    border-radius: 24px;
    border: 1px solid #e6e8ef;
    background: linear-gradient(135deg, #fff8ee 0%, #f7f9ff 58%, #f4fbf7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-dashboard-page .dashboard-overview-copy h2 {
    margin: 0.4rem 0 0.55rem;
}

.profile-dashboard-page .dashboard-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: #4338ca;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-dashboard-page .dashboard-intro {
    margin: 0;
    max-width: 700px;
    color: #667085;
    line-height: 1.7;
}

.profile-dashboard-page .dashboard-track-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827 0%, #334155 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.profile-dashboard-page .dashboard-track-link:hover {
    transform: translateY(-1px);
}

.profile-dashboard-page .dashboard-widget-wide {
    grid-column: 1 / -1;
}

.profile-dashboard-page .dashboard-widget-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
}

.profile-dashboard-page .widget-content-stack,
.profile-dashboard-page .summary-grid,
.profile-dashboard-page .quick-actions-grid {
    display: grid;
    gap: 1rem;
}

.profile-dashboard-page .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-dashboard-page .summary-item {
    align-items: flex-start;
    padding: 1rem 1.05rem;
    gap: 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.profile-dashboard-page .summary-item div {
    display: grid;
    gap: 0.22rem;
}

.profile-dashboard-page .summary-label {
    color: #475467;
    font-weight: 700;
}

.profile-dashboard-page .summary-meta {
    color: #667085;
    line-height: 1.45;
}

.profile-dashboard-page .quick-actions-grid {
    grid-template-columns: 1fr;
}

.profile-dashboard-page .quick-action {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.05);
}

.profile-dashboard-page .quick-action-copy {
    display: grid;
    gap: 0.2rem;
}

.profile-dashboard-page .quick-action-copy strong {
    color: #101828;
    font-size: 0.98rem;
}

.profile-dashboard-page .quick-action-copy span {
    color: #667085;
    line-height: 1.5;
}

.profile-dashboard-page .quick-action-arrow {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #667085;
}

.profile-dashboard-page .quick-action-arrow i {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.profile-dashboard-page .widget-empty-state {
    display: grid;
    place-items: center;
    gap: 0.4rem;
    min-height: 220px;
    padding: 1.4rem;
    border-radius: 22px;
    border: 1px dashed #d0d5dd;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.86) 0%, rgba(255, 255, 255, 0.92) 100%);
    text-align: center;
}

.profile-dashboard-page .widget-empty-state i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4338ca;
    font-size: 1.2rem;
}

.profile-dashboard-page .widget-empty-state p {
    margin: 0;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-dashboard-page .widget-empty-state span {
    max-width: 420px;
    color: #667085;
    line-height: 1.55;
}

.profile-dashboard-page .empty-state-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.3rem;
    padding: 0.82rem 1.05rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.profile-dashboard-page .dashboard-order-card {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid #e7eaf0;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf3 100%);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
}

.profile-dashboard-page .dashboard-order-card:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
    box-shadow: 0 28px 42px rgba(15, 23, 42, 0.1);
}

.profile-dashboard-page .dashboard-order-card-processing,
.profile-dashboard-page .dashboard-order-card-shipped {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.profile-dashboard-page .dashboard-order-card-delivered {
    background: linear-gradient(135deg, #f7fff9 0%, #edfdf3 100%);
}

.profile-dashboard-page .dashboard-order-card-cancelled,
.profile-dashboard-page .dashboard-order-card-returned {
    background: linear-gradient(135deg, #fff7f7 0%, #fff1f1 100%);
}

.profile-dashboard-page .dashboard-order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.profile-dashboard-page .dashboard-order-top-copy h4 {
    margin: 0.45rem 0 0.35rem;
    color: #111827;
    font-size: 1.08rem;
}

.profile-dashboard-page .dashboard-order-top-copy p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.profile-dashboard-page .dashboard-order-date-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-dashboard-page .dashboard-order-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-dashboard-page .dashboard-order-status.pending,
.profile-dashboard-page .dashboard-order-status.pending-payment {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.profile-dashboard-page .dashboard-order-status.processing,
.profile-dashboard-page .dashboard-order-status.shipped {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.profile-dashboard-page .dashboard-order-status.delivered {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #027a48;
}

.profile-dashboard-page .dashboard-order-status.cancelled,
.profile-dashboard-page .dashboard-order-status.returned {
    background: #fef3f2;
    border-color: #fecdca;
    color: #b42318;
}

.profile-dashboard-page .dashboard-order-preview {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.95rem;
    align-items: center;
}

.profile-dashboard-page .dashboard-order-media {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #667eea;
    font-size: 1.35rem;
}

.profile-dashboard-page .dashboard-order-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dashboard-page .dashboard-order-preview-copy {
    display: grid;
    gap: 0.35rem;
}

.profile-dashboard-page .dashboard-order-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.profile-dashboard-page .dashboard-order-eyebrow span {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.76rem;
    font-weight: 700;
}

.profile-dashboard-page .dashboard-order-preview-copy strong {
    color: #101828;
    font-size: 1rem;
    line-height: 1.5;
}

.profile-dashboard-page .dashboard-order-preview-copy p {
    margin: 0;
    color: #667085;
}

.profile-dashboard-page .dashboard-order-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-dashboard-page .dashboard-order-stat {
    display: grid;
    gap: 0.18rem;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    border: 1px solid #e7eaf0;
    background: rgba(255, 255, 255, 0.84);
}

.profile-dashboard-page .dashboard-order-stat span {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-dashboard-page .dashboard-order-stat strong {
    color: #111827;
    line-height: 1.45;
}

.profile-dashboard-page .dashboard-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-dashboard-page .dashboard-order-action {
    min-height: 44px;
    padding: 0.78rem 1rem;
    border-radius: 15px;
    border: 1px solid #d0d5dd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-dashboard-page .dashboard-order-action:hover {
    transform: translateY(-1px);
}

.profile-dashboard-page .dashboard-order-action-primary {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    border-color: #111827;
    color: #fff;
}

.profile-dashboard-page .dashboard-order-action-secondary {
    background: #fff;
    color: #344054;
}

.profile-dashboard-page .dashboard-notification-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid #e7eaf0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 251, 0.88) 100%);
}

.profile-dashboard-page .dashboard-notification-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4338ca;
    font-size: 1rem;
}

.profile-dashboard-page .dashboard-notification-copy {
    display: grid;
    gap: 0.3rem;
}

.profile-dashboard-page .dashboard-notification-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.profile-dashboard-page .dashboard-notification-top strong {
    color: #111827;
}

.profile-dashboard-page .dashboard-notification-top span,
.profile-dashboard-page .dashboard-notification-copy p {
    color: #667085;
}

.profile-dashboard-page .dashboard-notification-copy p {
    margin: 0;
    line-height: 1.6;
}

.profile-dashboard-page .dashboard-notification-warning .dashboard-notification-icon {
    background: #fff7ed;
    color: #c2410c;
}

.profile-dashboard-page .dashboard-notification-security .dashboard-notification-icon {
    background: #ecfdf3;
    color: #027a48;
}

.profile-dashboard-page .dashboard-notification-success .dashboard-notification-icon {
    background: #eff6ff;
    color: #1d4ed8;
}

.profile-suite .session-card {
    border-left-width: 5px;
}

.profile-suite .preferences-section h2,
.profile-suite .security-section h3,
.profile-suite .verification-section h3,
.profile-suite .management-tips h3,
.profile-suite .bulk-actions h3 {
    color: #101828;
}

.profile-suite .preference-card,
.profile-suite .security-card {
    padding: 1.4rem;
}

.profile-suite .preference-option,
.profile-suite .alert-option {
    padding: 0.9rem 1rem;
}

.profile-suite .preference-option small,
.profile-suite .alert-option small {
    color: #667085;
}

.profile-suite .danger-zone {
    background: linear-gradient(135deg, #fff5f4 0%, #fff1f0 100%);
    border-color: #f5b4ae;
}

.profile-suite .danger-warning {
    border-radius: 16px;
}

.profile-suite .no-orders,
.profile-suite .no-addresses {
    border-radius: 22px;
    border: 1px dashed #d0d5dd;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

@media (max-width: 1024px) {
    .profile-suite .profile-header,
    .profile-suite .profile-main-content,
    .profile-suite .profile-sidebar {
        padding: 1.3rem;
    }
}

@media (max-width: 768px) {
    .profile-suite .profile-header {
        padding: 1.8rem 1.2rem;
    }

    .profile-suite .section-header,
    .profile-suite .addresses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .profile-suite .dashboard-widgets,
    .profile-suite .addresses-grid,
    .profile-suite .security-options,
    .profile-suite .preferences-grid,
    .profile-suite .privacy-settings,
    .profile-suite .shopping-preferences,
    .profile-suite .accessibility-settings,
    .profile-suite .recovery-options,
    .profile-suite .verification-status {
        grid-template-columns: 1fr;
    }

    .profile-suite .edit-btn,
    .profile-suite .add-address-btn,
    .profile-suite .bulk-btn,
    .profile-suite .save-btn,
    .profile-suite .cancel-btn,
    .profile-suite .export-btn,
    .profile-suite .view-sessions-btn,
    .profile-suite .verify-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .profile-suite .user-avatar {
        width: 92px;
        height: 92px;
    }

    .profile-suite .summary-item,
    .profile-suite .quick-action,
    .profile-suite .status-item,
    .profile-suite .preference-option,
    .profile-suite .alert-option {
        padding: 0.8rem;
    }

    .profile-dashboard-page .dashboard-overview-header,
    .profile-dashboard-page .dashboard-order-top,
    .profile-dashboard-page .dashboard-notification-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-dashboard-page .summary-grid,
    .profile-dashboard-page .dashboard-order-insights {
        grid-template-columns: 1fr;
    }

    .profile-dashboard-page .dashboard-order-preview {
        grid-template-columns: 1fr;
    }

    .profile-dashboard-page .dashboard-track-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .profile-dashboard-page .dashboard-overview-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Orders page refresh */
.orders-page {
    background:
        radial-gradient(circle at top left, rgba(255, 214, 153, 0.28), transparent 30%),
        radial-gradient(circle at top right, rgba(102, 126, 234, 0.18), transparent 32%),
        linear-gradient(180deg, #f6f8fc 0%, #fffdf8 100%);
}

.orders-page.modal-open {
    overflow: hidden;
}

.orders-page .profile-main {
    max-width: 1480px;
}

.orders-page .profile-header {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 60px rgba(79, 70, 229, 0.24);
}

.orders-page .profile-header::after {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(8px);
}

.profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.orders-page .profile-content {
    align-items: start;
}

.orders-page .profile-sidebar {
    padding: 1.5rem;
    border: 1px solid #eceff5;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.orders-page .user-card {
    text-align: left;
    margin-bottom: 1.5rem;
}

.orders-page .user-avatar {
    margin: 0 0 1rem;
    width: 112px;
    height: 112px;
}

.orders-page .user-avatar img {
    border: 5px solid #ffffff;
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.2);
}

.orders-page .change-avatar-btn {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.24);
}

.orders-page .user-card h3 {
    font-size: 1.4rem;
    color: #101828;
}

.orders-page .user-card p {
    color: #667085;
}

.orders-page .member-since {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
}

.orders-page .profile-nav {
    gap: 0.75rem;
}

.orders-page .nav-item {
    gap: 0.85rem;
    border: 1px solid #eaecf0;
    background: #fff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

.orders-page .nav-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #667eea;
}

.orders-page .nav-item.active {
    box-shadow: 0 18px 32px rgba(102, 126, 234, 0.25);
}

.orders-page .nav-item.active i {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.orders-page .profile-main-content {
    border: 1px solid #eceff5;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.orders-page .orders-header {
    padding: 1.4rem 1.5rem;
    border-radius: 24px;
    border: 1px solid #e4e7ec;
    background: linear-gradient(135deg, #fffaf2 0%, #f7f9ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.orders-intro {
    margin: 0.55rem 0 0;
    color: #667085;
    max-width: 640px;
    line-height: 1.6;
}

.orders-page .orders-stats {
    gap: 1rem;
}

.orders-page .stat-item {
    min-width: 150px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid #eaecf0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.orders-page .stat-item i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
}

.orders-page .orders-surface {
    margin-top: 1.75rem;
    padding: 1.4rem;
    border-radius: 26px;
    border: 1px solid #ebeff5;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.orders-page .orders-filter {
    padding: 0.8rem;
    margin-bottom: 1.4rem;
    border-radius: 22px;
    border: 1px solid #eaecf0;
    background: #fff;
}

.orders-page .filter-btn {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid #e4e7ec;
    background: #f8fafc;
    font-weight: 600;
    color: #344054;
}

.orders-page .filter-btn:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.orders-page .filter-btn.active {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    border-color: #111827;
    color: #fff;
}

.orders-page .orders-controls {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid #eaecf0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.orders-page .search-box {
    max-width: 520px;
}

.orders-page .search-box input,
.orders-page .sort-box select {
    border-radius: 16px;
    border-color: #d0d5dd;
    background: #fcfcfd;
}

.orders-page .search-box input:focus,
.orders-page .sort-box select:focus {
    outline: none;
    border-color: #a5b4fc;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.orders-page .orders-list {
    display: grid;
    gap: 1rem;
}

.orders-page .order-card {
    margin-bottom: 0;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
}

.orders-page .order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 44px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.orders-page .order-card-processing,
.orders-page .order-card-shipped {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.orders-page .order-card-delivered {
    background: linear-gradient(135deg, #f7fff9 0%, #edfdf3 100%);
}

.orders-page .order-card-cancelled {
    background: linear-gradient(135deg, #fff7f7 0%, #fff1f1 100%);
}

.orders-page .order-info h4 {
    margin: 0.55rem 0 0.35rem;
    color: #111827;
    font-size: 1.15rem;
}

.orders-page .order-date-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.orders-page .order-date {
    color: #667085;
    margin-top: 0;
    line-height: 1.55;
}

.orders-page .order-status {
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.orders-page .order-status.pending,
.orders-page .order-status.pending-payment {
    background: #fff7e6;
    color: #b54708;
    border-color: #f7d8a6;
}

.orders-page .order-status.processing {
    background: #eef4ff;
    color: #1d4ed8;
    border-color: #bfd3ff;
}

.orders-page .order-status.shipped {
    background: #eaf4ff;
    color: #075985;
    border-color: #bae6fd;
}

.orders-page .order-status.delivered {
    background: #ecfdf3;
    color: #067647;
    border-color: #abefc6;
}

.orders-page .order-status.cancelled,
.orders-page .order-status.returned {
    background: #fff1f0;
    color: #b42318;
    border-color: #f5b4ae;
}

.orders-page .order-preview {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 20px;
    border: 1px solid #eceff3;
    background: rgba(255, 255, 255, 0.82);
}

.orders-page .order-preview-media {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eef2f6;
}

.orders-page .order-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orders-page .order-preview-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.orders-page .order-preview-category,
.orders-page .order-preview-count {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.orders-page .order-preview-category {
    background: #fff;
    border: 1px solid #e4e7ec;
    color: #475467;
}

.orders-page .order-preview-count {
    background: #eef2ff;
    color: #4338ca;
}

.orders-page .order-preview-copy h5 {
    margin: 0.75rem 0 0.4rem;
    color: #101828;
    font-size: 1rem;
    line-height: 1.55;
}

.orders-page .order-preview-copy p {
    margin: 0;
    color: #667085;
}

.orders-page .order-details {
    padding: 0;
    margin: 0 0 1rem;
    background: transparent;
    border-radius: 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.orders-page .order-metric {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid #eceff3;
    background: rgba(255, 255, 255, 0.75);
}

.orders-page .metric-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #667085;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.orders-page .order-metric strong {
    display: block;
    color: #111827;
    font-size: 1rem;
}

.orders-page .order-metric small {
    display: block;
    margin-top: 0.35rem;
    color: #667085;
    line-height: 1.5;
}

.orders-page .order-actions {
    gap: 0.8rem;
}

.orders-page .action-btn,
.orders-page .write-review-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.orders-page .action-btn:hover,
.orders-page .write-review-order-btn:hover {
    transform: translateY(-1px);
}

.orders-page .action-btn-view {
    background: #fff;
    border-color: #d0d5dd;
    color: #344054;
}

.orders-page .action-btn-track {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(17, 24, 39, 0.18);
}

.orders-page .action-btn-reorder,
.orders-page .write-review-order-btn {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.orders-page .action-btn-cancel {
    background: #fff1f0;
    border-color: #f5b4ae;
    color: #b42318;
}

.orders-page .write-review-order-btn.multi {
    flex: 1 1 220px;
}

.orders-page .order-actions-info {
    border-radius: 24px;
    border: 1px solid #e4e7ec;
    background: linear-gradient(135deg, #fffaf2 0%, #f7f9ff 100%);
}

.orders-page .actions-grid {
    gap: 1.1rem;
}

.orders-page .action-card {
    align-items: flex-start;
    text-align: left;
    border-radius: 20px;
    padding: 1.35rem;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.05);
}

.orders-page .action-card.primary-track {
    background: linear-gradient(135deg, #111827 0%, #3730a3 100%);
    border-color: transparent;
    color: #fff;
}

.orders-page .action-card.primary-track i,
.orders-page .action-card.primary-track small {
    color: inherit;
}

.orders-page .action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.1);
}

.orders-page .no-orders,
.orders-page .loading-orders {
    padding: 3.5rem 2rem;
    border-radius: 24px;
    border: 1px dashed #d0d5dd;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

.orders-page .loading-orders {
    text-align: center;
    color: #667085;
}

.orders-page .loading-orders i {
    font-size: 2rem;
    margin-bottom: 0.9rem;
    color: #4338ca;
}

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.order-modal[hidden] {
    display: none;
}

.order-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(8px);
}

.order-modal-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.order-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
}

.order-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 3rem;
    margin-bottom: 1.25rem;
}

.order-modal-kicker {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-modal-copy h2 {
    margin: 0;
    color: #111827;
}

.order-modal-copy p {
    margin: 0.55rem 0 0;
    color: #667085;
    line-height: 1.6;
}

.order-modal-status {
    align-self: flex-start;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-modal-status.pending,
.order-modal-status.pending-payment {
    background: #fff7e6;
    color: #b54708;
    border-color: #f7d8a6;
}

.order-modal-status.processing,
.order-modal-status.shipped {
    background: #eef4ff;
    color: #1d4ed8;
    border-color: #bfd3ff;
}

.order-modal-status.delivered {
    background: #ecfdf3;
    color: #067647;
    border-color: #abefc6;
}

.order-modal-status.cancelled,
.order-modal-status.returned {
    background: #fff1f0;
    color: #b42318;
    border-color: #f5b4ae;
}

.order-modal-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.order-modal-stat,
.order-modal-panel,
.order-modal-section {
    border-radius: 22px;
    border: 1px solid #eaecf0;
    background: rgba(255, 255, 255, 0.88);
}

.order-modal-stat {
    padding: 1rem 1.1rem;
}

.order-modal-stat span {
    display: block;
    margin-bottom: 0.35rem;
    color: #667085;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-modal-stat strong {
    display: block;
    color: #111827;
}

.order-modal-stat small {
    display: block;
    margin-top: 0.3rem;
    color: #667085;
}

.order-modal-section {
    margin-top: 1rem;
    padding: 1.1rem;
}

.section-heading h3,
.order-modal-panel h3 {
    margin: 0 0 0.95rem;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.order-modal-items {
    display: grid;
    gap: 0.85rem;
}

.order-modal-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.9rem;
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid #eceff3;
    background: linear-gradient(135deg, #fffefb 0%, #fff8ed 100%);
}

.order-modal-item-media {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.order-modal-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-modal-item-top {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.order-modal-item-category,
.order-modal-item-qty {
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.order-modal-item-category {
    background: #fff;
    border: 1px solid #e4e7ec;
    color: #475467;
}

.order-modal-item-qty {
    background: #eef2ff;
    color: #4338ca;
}

.order-modal-item-copy h4 {
    margin: 0.7rem 0 0.35rem;
    color: #111827;
}

.order-modal-item-copy p,
.order-modal-address {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.order-modal-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.order-modal-panel {
    padding: 1.1rem;
}

.order-modal-list {
    display: grid;
    gap: 0.8rem;
}

.order-modal-list div {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

.order-modal-list span {
    display: block;
    margin-bottom: 0.3rem;
    color: #667085;
    font-size: 0.8rem;
}

.order-modal-list strong {
    color: #111827;
    line-height: 1.5;
}

.order-modal-timeline {
    display: grid;
    gap: 0.9rem;
}

.order-timeline-step {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.8rem;
    align-items: start;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    border-radius: 50%;
    border: 2px solid #d0d5dd;
    background: #fff;
}

.order-timeline-step.complete .timeline-dot {
    border-color: #16a34a;
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

.order-timeline-step.current .timeline-dot {
    border-color: #4338ca;
    background: #4338ca;
    box-shadow: 0 0 0 5px rgba(67, 56, 202, 0.12);
}

.order-timeline-step.cancelled .timeline-dot {
    border-color: #b42318;
    background: #b42318;
    box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.12);
}

.timeline-copy strong {
    display: block;
    color: #111827;
}

.timeline-copy p {
    margin: 0.35rem 0 0;
    color: #667085;
}

.order-modal-empty {
    text-align: center;
    padding: 1.6rem;
    color: #667085;
}

.order-modal-empty i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #98a2b3;
}

.order-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.modal-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.8rem 1.15rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.modal-action-primary {
    background: linear-gradient(135deg, #111827 0%, #3730a3 100%);
    color: #fff;
}

.modal-action-secondary {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.modal-action-danger {
    background: #fff1f0;
    border-color: #f5b4ae;
    color: #b42318;
}

@media (max-width: 1024px) {
    .orders-page .orders-header {
        align-items: flex-start;
    }

    .order-modal-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .orders-page .profile-header {
        padding: 2rem 1.3rem;
    }

    .orders-page .orders-surface,
    .orders-page .profile-main-content,
    .orders-page .profile-sidebar {
        padding: 1rem;
    }

    .orders-page .stat-item {
        min-width: calc(50% - 0.5rem);
    }

    .orders-page .order-preview {
        grid-template-columns: 72px 1fr;
    }

    .orders-page .order-preview-media {
        width: 72px;
        height: 72px;
    }

    .orders-page .order-details {
        grid-template-columns: 1fr 1fr;
    }

    .orders-page .action-btn,
    .orders-page .write-review-order-btn,
    .modal-action-btn {
        width: 100%;
    }

    .order-modal {
        padding: 12px;
    }

    .order-modal-dialog {
        padding: 1rem;
        border-radius: 22px;
    }

    .order-modal-header {
        flex-direction: column;
        padding-right: 2.5rem;
    }

    .order-modal-overview {
        grid-template-columns: 1fr 1fr;
    }

    .order-modal-item {
        grid-template-columns: 72px 1fr;
    }

    .order-modal-item-media {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 560px) {
    .orders-page .stat-item,
    .orders-page .order-details,
    .order-modal-overview {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .orders-page .order-preview,
    .order-modal-item {
        grid-template-columns: 1fr;
    }

    .orders-page .order-preview-media,
    .order-modal-item-media {
        width: 100%;
        height: 180px;
    }
}

/* Print styles */
@media print {
    .profile-sidebar,
    .profile-header,
    .form-actions,
    .order-actions,
    .address-actions,
    .dashboard-widget,
    .modal-overlay,
    .notification {
        display: none !important;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .profile-main-content {
        box-shadow: none;
        padding: 0;
    }
    
    .profile-section {
        display: block !important;
    }
    
    .order-card,
    .address-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
}
