/* Account Pages Styles */

/* Base Layout */
.account-page {
    background-color: #f8f9fa;
}

.account-main {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Account Header */
.account-header {
    text-align: center;
    margin-bottom: 40px;
}

.account-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.account-header p {
    color: #666;
    font-size: 16px;
}

/* Auth Forms Container (Login/Register) */
.auth-forms-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-form-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.auth-form-header {
    border-bottom: 2px solid #e01d47;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.auth-form-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
}

/* Form Styles */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.auth-form label .required {
    color: #e01d47;
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
    border-color: #e01d47;
    box-shadow: 0 0 0 3px rgba(224, 29, 71, 0.1);
    outline: none;
}

.auth-form .form-text {
    font-size: 12px;
    margin-top: 5px;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 45px;
}

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

.toggle-password:hover {
    color: #e01d47;
}

/* Form Row (side by side inputs) */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .col-half {
    flex: 1;
}

/* Checkbox */
.auth-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-form .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

.auth-form .form-check-input:checked {
    background-color: #e01d47;
    border-color: #e01d47;
}

.auth-form .form-check-label {
    margin: 0;
    cursor: pointer;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: #e01d47;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-submit-btn:hover {
    background: #c01a3e;
}

.auth-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Form Alert */
.form-alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-alert.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-alert.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Form Links */
.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #e01d47;
    text-decoration: none;
    font-size: 14px;
}

.form-links a:hover {
    text-decoration: underline;
}

/* Privacy Notice */
.privacy-notice {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.privacy-notice a {
    color: #e01d47;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */

.account-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Account Sidebar Navigation */
.account-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: fit-content;
    overflow: hidden;
}

.account-user-info {
    padding: 25px 20px;
    background: linear-gradient(135deg, #e01d47 0%, #b91c3e 100%);
    color: #fff;
    text-align: center;
}

.account-user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    font-weight: 600;
}

.account-user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.account-user-email {
    font-size: 13px;
    opacity: 0.9;
}

.account-nav {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.account-nav li {
    margin: 0;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.account-nav a:hover {
    background: #f8f9fa;
    color: #e01d47;
}

.account-nav a.active {
    background: #fff5f7;
    color: #e01d47;
    border-left-color: #e01d47;
    font-weight: 600;
}

.account-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.account-nav .nav-divider {
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.account-nav a.logout-link {
    color: #666;
}

.account-nav a.logout-link:hover {
    color: #e01d47;
}

/* Account Content Area */
.account-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.account-content-header {
    border-bottom: 2px solid #e01d47;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-content-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
}

/* Dashboard Quick Stats */
.dashboard-welcome {
    margin-bottom: 30px;
}

.dashboard-welcome p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.dashboard-welcome strong {
    color: #1a1a1a;
}

.dashboard-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-link-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.quick-link-card:hover {
    background: #fff5f7;
    border-color: #e01d47;
    transform: translateY(-2px);
    color: #e01d47;
}

.quick-link-card i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: #e01d47;
}

.quick-link-card span {
    font-weight: 600;
    font-size: 15px;
}

/* Recent Orders Table */
.orders-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

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

.orders-table th,
.orders-table td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

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

.orders-table td {
    font-size: 14px;
    color: #444;
}

.orders-table tbody tr:hover {
    background: #fafafa;
}

.order-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending_payment {
    background: #fef3c7;
    color: #92400e;
}

.order-status.processing {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.shipped {
    background: #e0e7ff;
    color: #3730a3;
}

.order-status.completed {
    background: #dcfce7;
    color: #166534;
}

.order-status.cancelled,
.order-status.refunded {
    background: #fee2e2;
    color: #991b1b;
}

.view-order-btn {
    color: #e01d47;
    text-decoration: none;
    font-weight: 500;
}

.view-order-btn:hover {
    text-decoration: underline;
}

.no-orders-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-orders-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* ============================================
   ADDRESSES PAGE
   ============================================ */

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.address-card.default {
    border-color: #e01d47;
    background: #fff5f7;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.address-type {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
}

.address-default-badge {
    background: #e01d47;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.address-details {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.address-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.address-actions a,
.address-actions button {
    font-size: 13px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.address-actions a:hover,
.address-actions button:hover {
    color: #e01d47;
}

.add-address-card {
    border: 2px dashed #ddd;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #666;
}

.add-address-card:hover {
    border-color: #e01d47;
    color: #e01d47;
}

.add-address-card i {
    font-size: 36px;
    margin-bottom: 10px;
}

/* ============================================
   EDIT ACCOUNT
   ============================================ */

.edit-account-form {
    max-width: 600px;
}

.edit-account-form .form-group {
    margin-bottom: 20px;
}

.edit-account-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.edit-account-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.edit-account-form .form-control:focus {
    border-color: #e01d47;
    box-shadow: 0 0 0 3px rgba(224, 29, 71, 0.1);
    outline: none;
}

.form-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-section-title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ============================================
   GARAGE PAGE
   ============================================ */

.garage-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.garage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.garage-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
}

.add-vehicle-btn {
    background: #e01d47;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.add-vehicle-btn:hover {
    background: #c01a3e;
    color: #fff;
}

.garage-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.garage-vehicle-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.vehicle-card-image {
    height: 180px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.vehicle-card-image .no-image {
    color: #999;
    font-size: 48px;
}

.vehicle-card-body {
    padding: 20px;
}

.vehicle-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.vehicle-card-details {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.vehicle-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vehicle-card-actions .btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.btn-outline:hover {
    border-color: #e01d47;
    color: #e01d47;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.btn-danger-outline:hover {
    background: #fee2e2;
}

.garage-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.garage-empty i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.garage-empty h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.garage-empty p {
    color: #666;
    margin-bottom: 25px;
}

/* Browse Inventory Button (Figma Design) */
.browse-inventory-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 60px;
    padding: 20px;
    background: #BD1F3F;
    border-radius: 10px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.browse-inventory-btn:hover {
    background: #9d1a35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(189, 31, 63, 0.3);
    color: white;
}

.browse-inventory-btn:active {
    transform: translateY(0);
}

.browse-inventory-btn i {
    width: 20px;
    height: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Responsive styles for Browse Inventory Button */
@media (max-width: 768px) {
    .browse-inventory-btn {
        height: 50px;
        padding: 15px 20px;
        font-size: 18px;
        line-height: 20px;
    }

    .browse-inventory-btn i {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .browse-inventory-btn {
        height: 48px;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 18px;
        gap: 8px;
    }

    .browse-inventory-btn i {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
}

/* ============================================
   MODALS
   ============================================ */

.account-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.account-modal-overlay.active {
    display: flex;
}

.account-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.account-modal-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.account-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.account-modal-close:hover {
    color: #e01d47;
}

.account-modal-body {
    padding: 25px;
}

.account-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================
   FORGOT/RESET PASSWORD
   ============================================ */

.password-reset-container {
    max-width: 450px;
    margin: 0 auto;
}

.password-reset-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.password-reset-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-reset-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.password-reset-header p {
    color: #666;
    font-size: 14px;
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
}

.back-to-login a {
    color: #e01d47;
    text-decoration: none;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .account-dashboard {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        order: -1;
    }

    .account-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        gap: 5px;
    }

    .account-nav li {
        flex: 1;
        min-width: fit-content;
    }

    .account-nav a {
        padding: 10px 15px;
        justify-content: center;
        border-left: none;
        border-radius: 4px;
        font-size: 13px;
    }

    .account-nav a.active {
        background: #e01d47;
        color: #fff;
        border-left: none;
    }

    .account-nav a i {
        display: none;
    }

    .account-nav .nav-divider {
        display: none;
    }

    .account-user-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-forms-container {
        grid-template-columns: 1fr;
    }

    .account-header h1 {
        font-size: 32px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .dashboard-quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .orders-table {
        display: block;
        overflow-x: auto;
    }

    .garage-vehicles {
        grid-template-columns: 1fr;
    }

    .garage-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .notification-toggle-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .toggle-label {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .account-main {
        padding: 20px 0;
    }

    .account-container {
        padding: 0 15px;
    }

    .auth-form-wrapper {
        padding: 20px;
    }

    .account-content {
        padding: 20px;
    }

    .dashboard-quick-links {
        grid-template-columns: 1fr;
    }

    .account-nav {
        flex-direction: column;
    }

    .account-nav li {
        width: 100%;
    }
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    display: flex;
    gap: 5px;
}

.pagination .page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #e01d47;
    color: #e01d47;
}

.pagination .page-item.active .page-link {
    background: #e01d47;
    border-color: #e01d47;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}

/* ============================================
   PAYMENT METHODS PAGE
   ============================================ */

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.payment-method-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: border-color 0.2s;
}

.payment-method-card.default {
    border-color: #e01d47;
    background: #fff5f7;
}

.payment-method-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.payment-method-brand-icon {
    font-size: 32px;
    color: #333;
}

.payment-method-brand-icon .fab,
.payment-method-brand-icon .fa {
    font-size: 32px;
}

.payment-method-default-badge {
    background: #e01d47;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.payment-method-details {
    margin-bottom: 15px;
}

.payment-method-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}

.payment-method-type {
    color: #888;
    font-size: 13px;
    margin-bottom: 2px;
}

.payment-method-added {
    color: #aaa;
    font-size: 12px;
}

.payment-method-actions {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.payment-method-actions button {
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-set-default {
    color: #666;
}

.btn-set-default:hover {
    color: #e01d47;
}

.btn-delete-method {
    color: #999;
}

.btn-delete-method:hover {
    color: #dc2626;
}

.payment-methods-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.payment-methods-empty i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.payment-methods-empty h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.payment-methods-empty p {
    color: #666;
    margin-bottom: 25px;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */

.settings-section {
    margin-bottom: 40px;
}

.settings-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.notification-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.notification-toggle-row:first-of-type {
    border-top: 1px solid #f0f0f0;
}

.toggle-label {
    flex: 1;
    padding-right: 20px;
}

.toggle-label strong {
    display: block;
    color: #333;
    font-size: 15px;
    margin-bottom: 3px;
}

.toggle-label span {
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

/* iOS-style Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
    cursor: pointer;
}

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

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

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #e01d47;
}

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

/* Danger Zone */
.danger-zone {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.danger-zone-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.danger-zone-title i {
    margin-right: 5px;
}

.danger-zone p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-danger:disabled {
    background: #999;
    cursor: not-allowed;
}