﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: url("/Images/LoginImage/bg.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 850px; /* Slightly narrower container */
    min-height: 420px; /* Reduced height */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Left Container */
.left-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    background-image: url("/Images/LoginImage/sign2.jpg");
    background-size: cover;
    background-position: center;
    color: #ffee00;
    text-align: center;
    padding: 10px;
}

/* Right Container */
.right-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 10px 20px; /* Reduced padding */
}

/* Login Box (Form) */
.login-box {
    width: 100%;
    max-width: 280px; /* More compact form */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.college-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #F08080;
}

.form-group {
    width: 100%;
    margin-bottom: 12px;
}

.login-box input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    margin-bottom: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box button {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    background: #026940;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 8px;
}

    .login-box button:hover {
        background: #014d30;
    }

.text-center.mt-3 {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
}
.text-danger {
    color: red !important;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 95%;
        height: auto;
    }

    .left-container {
        min-height: 180px;
        padding: 20px;
    }

    .right-container {
        padding: 25px 15px;
    }

    .login-box {
        max-width: 260px;
    }
}
