:root {
    --primary-color: #0a192f;
    --accent-color: #3b82f6;
    --bg-light: #f8f9fa;
}

body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 95%;
}

/* Side Image Styling */
.login-side-img {
    background: url('../assets/images/student-bg.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Creating the Navy Overlay properly */
.side-overlay {
    background: rgba(10, 25, 47, 0.85); 
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-header {
    background-color: var(--primary-color);
    padding: 2.5rem 1rem;
    text-align: center;
    color: white;
}

.school-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-login:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

.btn-login:disabled {
    background-color: #4a5568;
    cursor: not-allowed;
}

.input-group-text { 
    background-color: #fff; 
    border-right: none; 
    color: #64748b;
}

.form-control { 
    border-left: none; 
    padding: 10px 12px;
}

.form-control:focus { 
    border-color: var(--accent-color); 
    box-shadow: none; 
}

.alert {
    border-radius: 10px;
}