*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Body */
body{
    min-height: 100vh;

    background-image: url('../images/college-bg.jpg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    position: relative;

    overflow-x: hidden;
}

/* Dark Overlay */
body::before{
    content: '';

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.50);

    backdrop-filter: blur(2px);

    z-index: 1;
}

/* Main Container */
.login-container{
    width: 100%;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 25px;

    position: relative;

    z-index: 2;
}

/* Login Card */
.login-card{
    width: 100%;

    max-width: 440px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.20);

    border-top: 4px solid #f59e0b;

    backdrop-filter: blur(18px);

    border-radius: 24px;

    padding: 42px;

    color: white;

    box-shadow:
    0 10px 45px rgba(0,0,0,0.35),
    0 0 25px rgba(255,255,255,0.08);

    animation: fadeIn 0.5s ease;
}

/* Animation */
@keyframes fadeIn{

    from{
        opacity: 0;
        transform: translateY(20px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo{
    width: 95px;

    margin-bottom: 16px;

    filter:
    drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

/* Heading */
.college-name{
    font-size: 30px;

    font-weight: 700;

    letter-spacing: 1px;
}

/* Subtitle */
.subtitle{
    color: #e5e7eb;

    font-size: 14px;

    margin-top: 6px;

    margin-bottom: 30px;
}

/* Labels */
.form-label{
    color: #f8fafc;

    margin-bottom: 8px;

    font-weight: 500;
}

/* Input Group */
.input-group{
    margin-bottom: 18px;
}

/* Input Icon */
.input-group-text{
    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.10);

    color: white;

    padding: 14px;
}

/* Input */
.form-control{
    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.10);

    color: white;

    height: 52px;
}

/* Placeholder */
.form-control::placeholder{
    color: #d1d5db;
}

/* Focus */
.form-control:focus{
    background: rgba(255,255,255,0.15);

    color: white;

    border: 1px solid rgba(245,158,11,0.6);

    box-shadow: none;
}

/* Autofill Fix */
input:-webkit-autofill{
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;

    -webkit-text-fill-color: white !important;

    transition: background-color 5000s ease-in-out 0s;
}

/* Remember + Forgot */
.options-row{
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 22px;

    gap: 10px;

    flex-wrap: wrap;
}

/* Checkbox */
.form-check{
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;
}

.form-check-input{
    width: 18px;

    height: 18px;

    cursor: pointer;

    background-color: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.35);
}

.form-check-input:checked{
    background-color: #f59e0b;

    border-color: #f59e0b;
}

.form-check-input:focus{
    box-shadow: none;
}

.form-check-label{
    color: #f8fafc;

    font-size: 14px;

    cursor: pointer;

    margin-bottom: 0;
}

/* Forgot Password */
.forgot-link{
    color: #f3f4f6;

    text-decoration: none;

    font-size: 14px;

    transition: 0.3s;
}

.forgot-link:hover{
    color: #ffffff;

    text-decoration: underline;
}

/* Login Button */
.login-btn{
    width: 100%;

    height: 52px;

    border-radius: 12px;

    background:
    linear-gradient(135deg,#f59e0b,#ea580c);

    border: none;

    color: white;

    font-size: 18px;

    font-weight: 600;

    transition: 0.3s;
}

/* Button Hover */
.login-btn:hover{
    transform: translateY(-2px);

    background:
    linear-gradient(135deg,#fbbf24,#f97316);
}

/* Alert */
.alert{
    border-radius: 12px;

    font-size: 14px;
}

/* ERP Version */
.erp-version{
    text-align: center;

    margin-top: 24px;

    font-size: 13px;

    color: #d1d5db;
}

/* Mobile Responsive */
@media(max-width: 576px){

    .login-card{
        padding: 28px;

        border-radius: 20px;
    }

    .college-name{
        font-size: 24px;
    }

    .logo{
        width: 78px;
    }

    .subtitle{
        font-size: 13px;
    }

    .login-btn{
        font-size: 16px;
    }

    .options-row{
        flex-direction: column;

        align-items: flex-start;
    }

    .forgot-link{
        margin-left: 2px;
    }
}