/**
 * Yoga Member Portal CSS
 * Hebrew RTL Layout with Sidebar Navigation
 */

/* Main Layout Container */
.member-portal-wrapper {
    direction: rtl;
    text-align: right;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0;
}

.member-portal-container {
    background: #f8f9fa;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.member-portal-content {
    display: flex;
    min-height: 37.5rem;
}

/* Main Content Area */
.portal-main {
    flex: 1;
    padding: 2.5rem;
    background: #ffffff;
    order: 2;
}

/* Sidebar Navigation */
.portal-sidebar {
    width: clamp(220px, 22vw, 400px);
    background: #f3f3f3;
    color: #4B2D45;
    flex-shrink: 0;
    order: 1;
}

.sidebar-content {
    padding: 0;
}

/* User Info Section */
.user-info {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: none; /* Hide avatar in minimal design */
}

.user-avatar {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 0.9375rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F9C466;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Menu */
.sidebar-nav {
    margin-top: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-bottom: 0;
    border-bottom: 1px solid #d0d0d0;
}

.nav-item:first-child {
    border-top: 1px solid #d0d0d0;
}

.nav-item a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: #4B2D45;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 1.375rem;
    font-weight: 400;
    text-align: right;
    background: #f3f3f3;
}

.nav-item a:hover {
    background: #e9e7e7;
}

.nav-item.active a {
    background: #e9e7e7;
    font-weight: 600;
}

.nav-item.disabled a {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    color: #4B2D45;
}

.nav-item.disabled a:hover {
    background: #f3f3f3;
}

.nav-text {
    display: block;
}

/* Dashboard Specific Styles */
.dashboard-section {
    padding: 0;
    max-width: none;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.user-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.user-photo {
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #F9C466;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4B2D45;
    margin: 0;
    text-align: center;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.welcome-subtitle {
    font-size: 1.5rem;
    color: #2E404A;
    margin: 0.625rem 0 0;
    text-align: center;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.dashboard-content {
    display: flex;
    justify-content: center;
}

.membership-card {
    background: #ffffff;
    border: 2px solid #F9C466;
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 32rem;
    width: 100%;
    position: relative;
}

.membership-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.star-icon {
    color: #F9C466;
    font-size: 3rem;
}

.membership-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003944;
    margin: 0 0 0.625rem 0;
    line-height: 1.4;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.membership-subtitle {
    font-size: 1.125rem;
    color: #2E404A;
    margin: 0 0 1.875rem 0;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    border-radius: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.portal-main .btn {
    background: none;
    background-color: var(--e-global-color-secondary);
}

.btn-primary {
    background: #F9C466;
    color: #003944;
}

.btn-primary:hover {
    background: #f7b84a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 196, 102, 0.4);
    text-decoration: none;
    color: #003944;
}

/* Dashboard State Variants */
.membership-card--active {
    border-color: #003944;
}

.membership-card--active .membership-title {
    color: #003944;
}

.membership-card--inactive {
    border-color: #F9C466;
}

.membership-status-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Heebo', Arial, sans-serif !important;
    margin-bottom: 1rem;
}

.membership-status-badge--active {
    background: #e8f5e9;
    color: #2e7d32;
}

.membership-status-badge--inactive {
    background: #fff3e0;
    color: #e65100;
}

.membership-expiry {
    font-size: 1rem;
    color: #2E404A;
    margin: 0.5rem 0 1.5rem;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.membership-activation-note {
    font-size: 0.875rem;
    color: #4a235a;
    background: #e8daef;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    margin: 0 0 1rem;
    font-family: 'Heebo', Arial, sans-serif !important;
}

/* ===================================================================
   MEMBERSHIP SECTION STYLES
   =================================================================== */

.membership-section {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.25rem 0;
}

.membership-section .section-title {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.75rem;
    font-weight: 700;
    color: #4B2D45;
    margin-bottom: 1.875rem;
    text-align: center;
}

.membership-status-card {
    background: #ffffff;
    border: 2px solid #F9C466;
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.membership-status-card--active {
    border-color: #003944;
}

.membership-status-card--inactive {
    border-color: #F9C466;
}

.membership-status-title {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: #003944;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.membership-status-expiry {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.125rem;
    color: #2E404A;
    margin: 0 0 0.75rem 0;
}

.membership-auto-renew {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1rem;
    color: #2e7d32;
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.membership-last-order {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 0.9375rem;
    color: #666;
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.membership-status-description {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.0625rem;
    color: #2E404A;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.membership-price {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.25rem;
    font-weight: 600;
    color: #003944;
    margin: 0 0 1.5rem 0;
}

.membership-cta {
    margin-top: 0.5rem;
}

.btn-membership-buy {
    display: inline-block;
    padding: 0.875rem 3rem;
    font-size: 1.25rem;
}

.membership-contact {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1rem;
    color: #666;
    margin: 1.5rem 0 0 0;
}

/* ===================================================================
   ORDER VIEW SECTION STYLES
   =================================================================== */

.order-view-section {
    max-width: 50rem;
    margin: 0 auto;
}

.order-view-header {
    margin-bottom: 2rem;
}

.order-back-link {
    display: inline-block;
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1rem;
    color: #003944;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.order-back-link:hover {
    color: #F9C466;
    text-decoration: none;
}

.order-view-section .section-title {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.75rem;
    font-weight: 700;
    color: #4B2D45;
    margin: 0;
    text-align: center;
}

.order-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.order-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2E404A;
}

.meta-value {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 0.9375rem;
    color: #2E404A;
}

.order-items-wrapper {
    margin-bottom: 2rem;
}

.order-items-title {
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4B2D45;
    margin: 0 0 1rem 0;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    background: #ffffff;
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-items-table thead {
    background: #f8f9fa;
}

.order-items-table th {
    padding: 0.875rem 1.25rem;
    text-align: right;
    font-family: 'Heebo', Arial, sans-serif !important;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2E404A;
    border-bottom: 2px solid #e8e8e8;
}

.order-items-table td {
    padding: 1rem 1.25rem;
    text-align: right;
    font-family: 'Heebo', Arial, sans-serif !important;
    font-size: 0.9375rem;
    color: #2E404A;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-table tbody tr:last-child td {
    border-bottom: none;
}

.order-totals {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 20rem;
    margin-right: auto;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.total-label {
    font-size: 1rem;
    color: #2E404A;
}

.total-value {
    font-size: 1rem;
    color: #2E404A;
    font-weight: 500;
}

.order-discount .total-value {
    color: #2e7d32;
}

.order-grand-total {
    border-top: 2px solid #e8e8e8;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.order-grand-total .total-label {
    font-weight: 700;
    font-size: 1.125rem;
    color: #003944;
}

.order-grand-total .total-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: #003944;
}

.order-not-found {
    text-align: center;
    padding: 3.75rem 1.25rem;
    background: #f8f9fa;
    border-radius: 0.625rem;
    color: #666;
    font-size: 1.125rem;
    font-family: 'Heebo', Arial, sans-serif !important;
}

.order-not-found .btn {
    margin-top: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-portal-content {
        flex-direction: column;
    }

    .portal-sidebar {
        width: 100%;
        order: 2;
    }

    .portal-main {
        order: 1;
        padding: 1.25rem;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.625rem;
        justify-content: center;
    }

    .nav-item {
        margin-bottom: 0;
        flex: 1;
        min-width: calc(50% - 5px);
        border-bottom: none;
    }

    .nav-item:first-child {
        border-top: none;
    }

    .nav-item a {
        padding: 0.625rem;
        text-align: center;
        font-size: 0.875rem;
    }

    .user-info {
        display: flex;
        align-items: center;
        gap: 0.9375rem;
        text-align: right;
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .user-avatar {
        width: 3.75rem;
        height: 3.75rem;
        margin: 0;
        flex-shrink: 0;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .user-photo {
        width: 5rem;
        height: 5rem;
    }

    .membership-card {
        padding: 1.875rem 1.25rem;
        margin: 0 0.625rem;
    }

    .membership-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.875rem;
        font-size: 1rem;
    }

    /* Membership section mobile */
    .membership-status-card {
        padding: 1.5rem 1.25rem;
    }

    .membership-status-title {
        font-size: 1.25rem;
    }

    .btn-membership-buy {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1.125rem;
        text-align: center;
    }

    /* Order view mobile */
    .order-view-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .order-items-table thead {
        display: none;
    }

    .order-items-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e8e8e8;
        border-radius: 0.5rem;
        background: #ffffff;
    }

    .order-items-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .order-items-table td:last-child {
        border-bottom: none;
    }

    .order-items-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2E404A;
    }

    .order-totals {
        max-width: 100%;
    }
}

/* RTL Specific Adjustments */
[dir="rtl"] .member-portal-wrapper,
.member-portal-wrapper {
    direction: rtl;
    text-align: right;
    padding: 0;
    border-radius: 0;
}

[dir="rtl"] .nav-item a:hover,
[dir="rtl"] .nav-item.active a {
    transform: translateX(3px);
}

/* Loading States */
.member-portal-wrapper .loading {
    text-align: center;
    padding: 2.5rem;
    color: #666;
}

/* Error States */
.member-portal-wrapper .error {
    text-align: center;
    padding: 2.5rem;
    color: #d32f2f;
    background: #ffebee;
    border-radius: 10px;
    margin: 1.25rem;
}

/* ===================================================================
   LOGIN & AUTHENTICATION PAGES STYLES
   Comprehensive styling for login, register, and password reset pages
   =================================================================== */

/* Login Wrapper */
.member-portal-login-wrapper {
    direction: rtl;
    text-align: right;
    max-width: 700px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Heebo', Arial, sans-serif;
}

.login-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 50px;
}

.login-title {
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 65px;
    letter-spacing: 0.38px;
    text-align: center;
    color: #4B2D45;
    margin: 0 0 15px 0;
}

.login-subtitle {
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #2E404A;
    margin: 0;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: right;
    color: #2E404A;
    margin-bottom: 10px;
}

/* Form Controls */
.form-control,
.member-portal-login-wrapper input[type="text"],
.member-portal-login-wrapper input[type="password"],
.member-portal-login-wrapper input[type="email"] {
    width: 100%;
    max-width: inherit;
    height: 60px;
    padding: 14px 16px;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    border: 1px solid #2E404A;
    border-radius: 10px;
    direction: rtl;
    text-align: right;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus,
.member-portal-login-wrapper input[type="text"]:focus,
.member-portal-login-wrapper input[type="password"]:focus,
.member-portal-login-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #F9C466;
    box-shadow: 0 0 0 3px rgba(249, 196, 102, 0.2);
}

/* Remember Me Checkbox */
.form-remember {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    color: #2E404A;
    font-weight: normal;
    margin-bottom: 0;
}

.remember-label input[type="checkbox"] {
    margin-left: 10px;
    margin-right: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Buttons */
.btn-login,
.member-portal-login-wrapper button[type="submit"],
.member-portal-login-wrapper .wp-submit {
    width: 100%;
    max-width: 600px;
    height: 57px;
    padding: 14px 24px;
    background-color: #F9C466;
    border: none;
    border-radius: 10px;
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: center;
    color: #003944;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover,
.member-portal-login-wrapper button[type="submit"]:hover {
    background-color: #f7b84a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 196, 102, 0.4);
}

/* Login Footer */
.login-footer {
    margin-top: 40px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.lost-password,
.register-link {
    margin: 12px 0;
}

.lost-password a,
.register-link a {
    color: #2E404A;
    text-decoration: none;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    transition: color 0.3s ease;
}

.lost-password a:hover,
.register-link a:hover {
    color: #F9C466;
    text-decoration: underline;
}

/* Login Error Messages */
.login-error,
.member-portal-login-wrapper .error {
    background: #ffebee;
    color: #d32f2f;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 16px;
    border: 1px solid #ffcdd2;
}

/* Success Messages */
.login-success,
.member-portal-login-wrapper .success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 16px;
    border: 1px solid #c8e6c9;
}

/* Mobile Responsive for Login Pages */
@media (max-width: 768px) {
    .member-portal-login-wrapper {
        margin: 30px auto;
        padding: 15px;
    }
    
    .login-container {
        padding: 40px 25px;
    }
    
    .login-title {
        font-size: 42px;
        line-height: 45px;
    }
    
    .login-subtitle {
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 20px;
    }
    
    .form-control,
    .member-portal-login-wrapper input[type="text"],
    .member-portal-login-wrapper input[type="password"],
    .member-portal-login-wrapper input[type="email"] {
        height: 55px;
        font-size: 16px;
    }
    
    .btn-login,
    .member-portal-login-wrapper button[type="submit"] {
        height: 52px;
        font-size: 20px;
    }
    
    .lost-password a,
    .register-link a {
        font-size: 16px;
    }
}

/* WordPress Lost Password Page Styling */
body.login {
    direction: rtl;
    font-family: 'Heebo', Arial, sans-serif;
}

body.login #login {
    max-width: 700px;
    padding: 20px;
}

body.login #login h1 a {
    width: auto;
    height: auto;
    text-indent: 0;
    background: none;
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #4B2D45;
}

body.login form {
    background: #ffffff;
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

body.login label {
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: right;
    color: #2E404A;
}

body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
    height: 60px;
    padding: 14px 16px;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    border: 1px solid #2E404A;
    border-radius: 10px;
    direction: rtl;
    text-align: right;
    background: #ffffff;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
    border-color: #F9C466;
    box-shadow: 0 0 0 3px rgba(249, 196, 102, 0.2);
}

body.login .button-primary {
    width: 100%;
    height: 57px;
    padding: 14px 24px;
    background-color: #F9C466 !important;
    border: none !important;
    border-radius: 10px;
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: center;
    color: #003944 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.login .button-primary:hover {
    background-color: #f7b84a !important;
    transform: translateY(-2px);
}

body.login #nav,
body.login #backtoblog {
    text-align: center;
    padding: 10px 0;
}

body.login #nav a,
body.login #backtoblog a {
    color: #2E404A;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 16px;
    text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
    color: #F9C466;
}

body.login .message,
body.login .success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'Heebo', Arial, sans-serif;
}

body.login #login_error {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'Heebo', Arial, sans-serif;
}

/* ===================================================================
   WOOCOMMERCE ACCOUNT PAGES STYLES
   Styling for WooCommerce My Account, Lost Password, etc.
   =================================================================== */

/* WooCommerce Forms Container */
.woocommerce-account .woocommerce,
.woocommerce-lost-password .woocommerce {
    direction: rtl;
    text-align: right;
    max-width: 700px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Heebo', Arial, sans-serif;
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
    background: #ffffff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    max-width: 700px;
    margin: 0 auto;
}

/* WooCommerce Form Titles */
.woocommerce h2,
.woocommerce .woocommerce-form-login__title,
.woocommerce .woocommerce-ResetPassword h2 {
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 65px;
    letter-spacing: 0.38px;
    text-align: center;
    color: #4B2D45;
    margin: 0 0 50px 0;
}

/* WooCommerce Form Labels */
.woocommerce form label,
.woocommerce-form__label-for-checkbox {
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: right;
    color: #2E404A;
    margin-bottom: 10px;
    display: block;
}

.woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

/* WooCommerce Form Fields */
.woocommerce form .form-row input.input-text,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="password"] {
    width: 100%;
    max-width: 600px;
    height: 60px;
    padding: 14px 16px;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    border: 1px solid #2E404A;
    border-radius: 10px;
    direction: rtl;
    text-align: right;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form input[type="text"]:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="password"]:focus {
    outline: none;
    border-color: #F9C466;
    box-shadow: 0 0 0 3px rgba(249, 196, 102, 0.2);
}

/* WooCommerce Form Rows */
.woocommerce form .form-row {
    margin-bottom: 25px;
}

/* WooCommerce Buttons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce .woocommerce-Button {
    width: 100%;
    max-width: 600px;
    height: 57px;
    padding: 14px 24px;
    background-color: #F9C466 !important;
    border: none !important;
    border-radius: 10px;
    font-family: 'Heebo', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.019em;
    text-align: center;
    color: #003944 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
    background-color: #f7b84a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 196, 102, 0.4);
    text-decoration: none;
}

/* WooCommerce Messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'Heebo', Arial, sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce .woocommerce-error {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'Heebo', Arial, sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

/* WooCommerce Links */
.woocommerce a.lost_password,
.woocommerce .woocommerce-form-login__rememberme {
    color: #2E404A;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    text-decoration: none;
}

.woocommerce a.lost_password:hover {
    color: #F9C466;
    text-decoration: underline;
}

/* Lost Password Specific */
.woocommerce-lost-password p {
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 18px;
    color: #2E404A;
    text-align: center;
    margin-bottom: 30px;
}

/* Responsive for WooCommerce */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce,
    .woocommerce-lost-password .woocommerce {
        margin: 30px auto;
        padding: 15px;
    }
    
    .woocommerce form.login,
    .woocommerce form.register,
    .woocommerce form.lost_reset_password {
        padding: 40px 25px;
    }
    
    .woocommerce h2,
    .woocommerce .woocommerce-form-login__title,
    .woocommerce .woocommerce-ResetPassword h2 {
        font-size: 42px;
        line-height: 45px;
    }
    
    .woocommerce form label,
    .woocommerce-form__label-for-checkbox {
        font-size: 20px;
    }
    
    .woocommerce form .form-row input.input-text,
    .woocommerce form input[type="text"],
    .woocommerce form input[type="email"],
    .woocommerce form input[type="password"] {
        height: 55px;
        font-size: 16px;
    }
    
    .woocommerce button.button,
    .woocommerce input.button {
        height: 52px;
        font-size: 20px;
    }
}
