.login-main-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;

    background-position: center;
    background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2025-03-29/H8d316XXz4.png);
    background-size: contain;
    background-repeat: no-repeat;
    /* position: absolute; */
    /* top: 8px; */
    /* left: 0; */
    z-index: 1;
}

.page-container-v2 {
    width: 100%;
    max-width: 1400px;
    /* Adjusted max-width based on image proportions */
    margin: 0 auto;
    background-color: #f0f4f7;
    /* Match body or a subtle container color */
    /* box-shadow: 0 0 20px rgba(0,0,0,0.05); */
    /* Optional shadow for container */
    border-radius: 10px;
    /* Optional rounded corners for main container */
}

.content-wrapper-v2 {
    display: flex;
    /* flex-direction: row-reverse; */
    /* Illustration on left, form on right for RTL */
    align-items: stretch;
    /* Stretch children to fill height */
    width: 100%;
}

/* Illustration Column (Left side on LTR, Right side on RTL due to flex-direction: row-reverse) */
.illustration-column-v2 {
    flex: 1.2;
    /* Takes more space, adjust ratio as needed */
    position: relative;
    /* For positioning info cards */
    display: flex;
    /* To help with alignment if needed, though cards are absolute */
    justify-content: center;
    align-items: center;
    padding: 40px;
    min-height: 700px;
    /* Ensure it has some height */
    background-color: #f0f4f7;
    /* Match page background */
}

.main-illustration-bg-v2 {
    width: 100%;
    height: 100%;
    background-image: url('../images/decorative_left_bg.png');
    /* The large person image */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    /* Full bleed within its column */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Info Cards - Positioned absolutely over the illustration column */
.info-card-v2 {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    /* Positioned relative to illustration-column-v2 */
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 220px;
}

.card-program-v2 {
    top: 10%;
    right: 65%;
    /* Adjust based on RTL, so it's to the left of the person */
    transform: translateX(50%);
}

.card-trainers-v2 {
    bottom: 15%;
    right: 70%;
    /* Adjust based on RTL */
    transform: translateX(50%);
    flex-direction: column;
    /* Stack elements vertically */
    align-items: flex-start;
    padding: 20px;
    min-width: 250px;
}

.card-guidance-v2 {
    top: 60%;
    left: 60%;
    /* Adjust based on RTL, so it's to the right of the person */
    transform: translate(-50%, -50%);
}

.card-icon-container-v2 {
    width: 40px;
    height: 40px;
    background-color: #23bdee;
    /* Blue from image */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-guidance-v2 .card-icon-container-v2 {
    background-color: #f5a623;
    /* Orange from image */
}

.card-icon-v2 {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.card-text-v2 {
    font-size: 16px;
    font-weight: 600;
    color: #545567;
}

.trainer-avatar-v2 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.trainer-info-v2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.card-title-v2 {
    font-size: 18px;
    font-weight: 700;
    color: #595959;
}

.card-subtitle-v2 {
    font-size: 14px;
    color: #777;
}

.join-now-button-v2 {
    background-color: #d7577d;
    /* Pink from image */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    margin-top: 5px;
}

/* Form Column (Right side on LTR, Left side on RTL) */
.form-column-v2 {
    flex: 1;
    /* background-color: #ffffff; */
    /* White background for form area */
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center the form wrapper */
    min-height: 700px;
    border-top-left-radius: 10px;
    /* Rounded corners to match overall container if any */
    border-bottom-left-radius: 10px;
}

.login-title-v2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    /* Bolder from image */
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.login-form-wrapper-v2 {
    width: 100%;
    max-width: 400px;
}

.login-form-wrapper-v2 .form-item {
    margin-bottom: 20px;
}

.login-form-wrapper-v2 label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.login-form-wrapper-v2 input[type="email"],
.login-form-wrapper-v2 input[type="password"],
.login-form-wrapper-v2 input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
}

.login-form-wrapper-v2 input[type="email"]:focus,
.login-form-wrapper-v2 input[type="password"]:focus,
.login-form-wrapper-v2 input[type="text"]:focus {
    border-color: #23bdee;
    outline: none;
    box-shadow: 0 0 0 2px rgba(35, 189, 238, 0.2);
}

.form-link-wrapper {
    text-align: right;
    /* Align to the start for RTL */
    margin-top: -10px;
    margin-bottom: 20px;
}

.forgot-password-link,
.register-link,
.register-link-french {
    font-size: 13px;
    color: #555;
    /* Darker grey from image */
    text-decoration: none;
}

.forgot-password-link:hover,
.register-link:hover,
.register-link-french:hover {
    text-decoration: underline;
    color: #23bdee;
}

.login-submit-button {
    width: 100%;
    padding: 14px 15px;
    background-color: #f5a623;
    /* Orange button from image */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-submit-button:hover {
    background-color: #e0910f;
    /* Darker orange */
}

.register-link-wrapper,
.french-register-link-wrapper {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #777;
}

.register-link-wrapper span,
.french-register-link-wrapper span {
    color: #777;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .content-wrapper-v2 {
        flex-direction: column;
        /* Stack illustration and form */
    }

    .illustration-column-v2 {
        order: 2;
        /* Form first, then illustration */
        min-height: 500px;
        /* Adjust height */
        flex: 1;
        /* Allow it to take full width when stacked */
    }

    .form-column-v2 {
        order: 1;
        border-radius: 10px;
        /* Full rounded corners when stacked */
        padding: 40px;
        min-height: auto;
    }

    .info-card-v2 {
        position: relative;
        /* Change from absolute for stacking */
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 15px auto;
        /* Center cards when stacked in their column */
        width: 80%;
        max-width: 350px;
    }

    .main-illustration-bg-v2 {
        position: relative;
        /* Allow it to flow with content */
        min-height: 300px;
        /* Give it some space */
        background-size: cover;
        /* Cover might be better for smaller view */
    }
}

@media (max-width: 768px) {
    .login-main-v2 {
        padding: 10px;
    }

    .form-column-v2 {
        padding: 30px 20px;
    }

    .login-title-v2 {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 30px;
    }

    .illustration-column-v2 {
        padding: 20px;
        min-height: 400px;
    }

    .info-card-v2 {
        width: 90%;
        padding: 15px;
        gap: 10px;
    }

    .card-text-v2,
    .card-title-v2,
    .card-subtitle-v2,
    .join-now-button-v2 {
        font-size: 90%;
        /* Slightly smaller fonts on mobile */
    }
}

@media (max-width: 480px) {
    .illustration-column-v2 {
        display: none;
        /* Hide illustration entirely on very small screens */
    }

    .form-column-v2 {
        border-radius: 10px;
    }
}

.page-container-v2 input[type="submit"] {
    background-color: #f5a623 !important;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

#block-sd-academy-local-tasks {
    display: none !important;
}

#block-sd-academy-content {
    display: block !important;
}