html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
}

.expo-login-split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.left-pane {
    width: 55%;
    background-color: #432874;
    background-image: linear-gradient(145deg, #3a2163, #4e3087);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 5rem;
    box-sizing: border-box;
    position: relative;
}

.showcase-image {
    position: absolute;
    bottom: 0;
    right: -500px;
    width: 1000px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.pp-logo {
    height: 40px;
    max-width: 250px;
    cursor: pointer;
}

.showcase-text {
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}

    .showcase-text h1 {
        font-size: 3.2rem;
        margin: 0 0 1rem 0;
        line-height: 1.3;
        font-weight: 500;
        outline: none;
    }

    .showcase-text p {
        font-size: 1.8rem;
        margin: 0;
        font-weight: 300;
        margin-bottom: 2rem;
    }

.slide {
    display: none;
}

.slide.active {
    display: block;
    /*animation: fadeIn 0.6s ease-in-out;*/
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.input-group-custom .icon-right {
    color: #6c757d;
    margin-left: 0.75rem;
}

/* Custom styles for Radzen components to match the new design */
.radzen-input-custom-style,
.radzen-input-custom-style .rz-inputtext {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100%;
    flex-grow: 1;
    font-size: 1rem;
}

.radzen-input-custom-style .rz-inputtext::placeholder {
    color: #adb5bd;
}

.rz-textbox, .rz-password, .rz-mask {
    height: auto;
}

.rz-message {
    margin-top: -0.5rem; /* Pull it closer to the input */
    margin-bottom: 0.5rem; /* Keep the space below */
    font-size: 0.9rem;
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
}

.rz-message::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f06a"; /* fa-circle-exclamation */
}

.slider-dots {
    display: flex;
    gap: 12px;
    padding-bottom: 2rem;
}

    .slider-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
    }

        .slider-dots .dot.active {
            background-color: white;
        }

.right-pane {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    background-color: #FFFFFF;
}

.login-page-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.back-to-home {
    margin-bottom: 1rem;
    text-align: left;
}

    .back-to-home a {
        text-decoration: none;
        color: #212529;
        font-weight: 500;
        border: 1px solid black;
        padding: 12px 24px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: #fff;
        box-shadow: 3px 3px 0 0 black;
        transition: all 0.3s ease;
    }

        .back-to-home a:hover {
            background-color: #fff;
            color: #1a1a1a;
        }

.login-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

.tab-link {
    flex: 1;
    padding: 1rem;
    text-decoration: none;
    color: #6c757d;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

    .tab-link.active {
        color: #432874;
        border-bottom-color: #432874;
    }

.form-content {
    padding: 2rem;
}

    .form-content h3 {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        text-align: left;
    }

    .form-content p {
        color: #6c757d;
        margin-bottom: 2rem;
        font-size: 0.9rem;
        text-align: left;
        line-height: 1.5;
    }

.input-group-custom {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.5rem;
}

    .input-group-custom .icon {
        color: #6c757d;
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }

.form-control-custom {
    border: none;
    outline: none;
    box-shadow: none;
    flex-grow: 1;
    background: transparent;
    font-size: 1rem;
}

    .form-control-custom::placeholder {
        color: #adb5bd;
    }

.btn-login {
    background-color: #fff;
    color: #1a1a1a;
    font-weight: bold;
    padding: 0.85rem;
    border-radius: 8px;
    border: 1px solid black;
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 3px 3px 0 0 black;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: #432874;
        color: #fff;
    }

    .btn-login:disabled {
        opacity: 0.5;
    }

        .btn-login:disabled:hover {
            background-color: #432874;
            color: #fff;
        }

.separator {
    margin: 1.75rem 0;
    color: #adb5bd;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    text-align: center;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .separator:not(:empty)::before {
        margin-right: .5em;
    }

    .separator:not(:empty)::after {
        margin-left: .5em;
    }

.btn-google {
    background-color: #fff;
    color: #495057;
    font-weight: 500;
    padding: 0.85rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .btn-google:hover {
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2)
    }

    .btn-google img {
        height: 20px;
        width: 20px;
    }

.auth-image {
    position: absolute;
    left: -22%;
    bottom: -10%;
    width: 140%;
    max-width: none;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1890px) and (min-width: 1600px) {

    .showcase-image {
        right: -450px;
        width: 900px;
    }
}

/* Responsive Styles */
@media (max-width: 1600px) and (min-width: 993px) {
    .showcase-image {
        display: none;
    }

    .left-pane {
        justify-content: center;
        text-align: center;
    }

    .pp-logo {
        position: absolute;
        top: 2rem;
        left: 2rem;
    }
}

@media (max-width: 1100px) {
    .left-pane {
        width: 45%;
        padding: 2rem 3rem;
    }
    .right-pane {
        width: 55%;
    }
    .showcase-image {
        display: none;
    }
    .showcase-text h1 {
        font-size: 2.5rem;
    }
    .showcase-text p {
        font-size: 1.5rem;
    }
}


@media (max-width: 992px) {
    .expo-login-split-layout {
        flex-direction: column;
    }

    .right-pane {
        width: 100%;
        height: 65%;
    }

    .left-pane {
        width: 100%;
        height: 35%;
        min-height: 250px;
        padding: 2rem 2rem 0 2rem;
        text-align: center;
        justify-content: center;
    }

    .showcase-image {
        display: none; /* Hide complex image on mobile */
    }
    
    .pp-logo {
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        height: 30px;
    }

    .right-pane {
        padding: 2rem;
    }

    .login-page-container {
        margin-top: 1rem;
    }

    .showcase-text {
        gap: 1rem;
        margin-top: 0;
    }

        .showcase-text h1 {
            font-size: 2rem;
        }

        .showcase-text p {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }
}

@media (max-width: 576px) {

    .left-pane {
        display: none; /* On very small screens, focus only on the form */
    }

    .right-pane {
        padding: 1rem;
        min-height: 100vh;
    }

    .login-page-container {
        margin-top: 0;
    }

    .separator {
        margin: 1rem 0;
        color: #adb5bd;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .showcase-text {
        gap: 0.5rem;
    }

        .showcase-text h1 {
            font-size: 2rem;
        }

        .showcase-text p {
            font-size: 1.2rem;
            margin: 0;
            font-weight: 300;
            margin-bottom: 2rem;
        }

    .form-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .login-form-wrapper {
        box-shadow: none;
        border-radius: 0;
    }

    .back-to-home {
        justify-content: center;
    }

    .form-content {
        padding: 1rem 1rem;
    }
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.captcha-validation-message {
    color: #dc3545;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

@media (max-height: 900px) {

    .showcase-image {
        right: -200px;
        width: 680px;
    }
}

@media (max-height: 720px) {
    .left-pane {
        padding: 2rem 3rem;
        justify-content: center; /* Center the remaining content */
    }

    .showcase-image {
        right: -10px;
        width: 420px;
    }
}

@media (max-height: 600px) {
    .left-pane {
        padding: 2rem 3rem;
        justify-content: end;
    }

    .showcase-text {
        gap: 0;
    }

    .showcase-text h1 {
        font-size: 2.5rem;
    }

        .showcase-text p {
            font-size: 1.5rem;
        }
}