body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.login-container {
    width: 100%;
    max-width: 550px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background-color: #2c3e50;
    color: white;
    padding: 30px;
    text-align: center;
}

.college-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-title {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

.login-body {
    padding: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

input {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

.sub-group{
    width: 100%;
    position: relative;
}

.sub-group input{ width: 100%; }
.sub-group button{
    position: absolute;
    right: 10px;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    background: transparent;
    color: var(--dark-color);
    border: none;
    font-size: 1.1rem;
}

.sub-group button:hover{ color: var(--danger); }
input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.login-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #2ecc71;
}

.forgot-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #777;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 480px) {
    .login-header {
        padding: 25px;
    }
    
    .login-body {
        padding: 25px;
    }
}