/* Background Video */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Login Container */
.login-container {
    position: relative;
    z-index: 10;
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.1);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111111;
}

/* Logo */
.login-logo {
    width: 140px;
    margin-bottom: 25px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

/* Heading */
.login-container h2 {
    font-weight: 700;
    color: #1e90ff;
    margin-bottom: 25px;
    font-size: 2rem;
}

/* Form Styling */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #111111;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8f8f8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #1e90ff;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.2);
    outline: none;
}

/* Buttons */
button.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #1e90ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

button.btn-primary:hover {
    background-color: #005a99;
}

/* Secondary button */
a.btn-secondary {
    display: block;
    width: 100%;
    background-color: rgba(30, 144, 255, 0.15);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: #1e90ff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

a.btn-secondary:hover {
    background-color: rgba(0, 90, 153, 0.3);
    color: #003e66;
}

/* Error messages */
.alert {
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
}


/* Hide error by default */
.d-none {
    display: none !important;
}

/* Extra links below */
.extra-links {
    margin-top: 20px;
    font-weight: 600;
    color: #111111;
}

.extra-links a {
    color: #1e90ff;
    font-weight: 600;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.extra-links a:hover {
    color: #005a99;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .login-container {
        margin: 50px 20px;
        padding: 25px 20px;
    }
    .login-logo {
        width: 120px;
    }
}
