.custom-login-container {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #ffffff;
}

.login-main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0 !important;
}

.image-section {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #cdeef0, #ffffff);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-section {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.logo {
    width: 100px;
    margin-bottom: 20px;
}

.custom-login-container h1 {
    font-size: 24px;
    margin: 0;
    color: #20211B;
    text-align: center;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.custom-login-container p {
    font-size: 18px;
    color: #B8B8B8;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.3px;
    font-weight: 300;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.input-group label {
    font-weight: 600;
    color: #089591;
    margin-bottom: 5px;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 3px solid #20211B;
    border-radius: 20px;
    font-size: 14px;
    color: #B8B8B8;
}

.input-group .form-control {
    border-radius: 20px !important;
    background: #f5f5f5;
    border: 3px solid #20211B;
}

.custom-login-container ::placeholder {
    font-size: 12px;
    color: #B8B8B8;
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid #B8B8B8;
    border-radius: 5px;
}

.form-check-label {
    font-size: 12px;
    color: #B8B8B8;
}

.forgot-password {
    margin-left: auto;
    font-size: 11px;
    color: #0ABAB5;
    text-decoration: underline;
}

.custom-login-btn {
    width: 100%;
    padding: 15px;
    background-color: #FFDE59 !important;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #20211B;
    cursor: pointer;
    text-align: center;
}

.custom-login-btn:hover {
    background-color: #ffcc00 !important;
    color: #20211B !important;
}

.image-section {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #089591;
    filter: blur(20px);
    z-index: 1;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Cloudflare Turnstile styling */
.cf-turnstile {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* Loading spinner styles */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.125em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.75rem;
    height: 0.75rem;
    border-width: 0.125em;
}

@keyframes spinner-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .login-main-container {
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 20px;
    }

    .image-section {
        display: none;
    }

    .form-section {
        width: 100%;
        padding: 20px;
    }

    .custom-login-container h1, 
    .custom-login-container p {
        text-align: center;
    }

    .forgot-password {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}