﻿body {
    font-family: 'Poppins', sans-serif;
    background:#F5F5DC;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Left slider */
.login-slider {
    flex: 1;
    max-width: 50%;
    position: relative;
}

.login-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* maintain aspect ratio, fill container */
    max-height: 500px; /* limit slider height */
}

/* Make slider fill height */
.login-slider .carousel-inner,
.login-slider .carousel-item {
    height: 100%;
}

/* Right form */
.login-form {
    flex: 1;
    padding: 40px;
    background:white;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h2 {
    color: maroon; /* gold color */
    margin-bottom: 20px;
    font-weight: 700;
   
}

/* Logo image */
.login-form .login_img {
    max-width: 120px; /* smaller logo */
    height: auto;
    margin-bottom: 20px;
}

.login-form input {
    margin-bottom: 15px;
    border-radius: 8px;
}

.login-form button {
    background: #D4AF37;
    color: #1f1d2b;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.login-form button:hover {
    background: #bfa32f;
}

.login-form a {
    color: #fff;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }

    .login-slider {
        max-width: 100%;
    }

    .login-slider img {
        max-height: 300px; /* smaller height on mobile */
    }

    .login-form .login_img {
        max-width: 100px; /* smaller logo on mobile */
    }
}
