/* ======================== */
/* Login Page Specific Styles */
/* ======================== */

/* Page container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color); /* Uses the background color from style.css */
    padding: 20px;
}

/* Card styling */
.login-card {
    background-color: var(--card-bg); /* Uses the card background color from style.css */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    color: var(--primary-color); /* Uses the primary color from style.css */
    margin-bottom: 10px;
}

.form-description {
    color: var(--text-color); /* Uses the text color from style.css */
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Form inputs and labels */
.styled-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.styled-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.styled-form .form-group input,
.styled-form .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color); /* Uses the border color from style.css */
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s;
}

.styled-form .form-group input:focus,
.styled-form .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.2);
}

.styled-form .form-group select {
    background-color: #fff;
    cursor: pointer;
}

/* Button styling */
.btn.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn.btn-primary:hover {
    background-color: #004d60;
}

/* Message Boxes */
.message-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: left;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 30px;
        margin: 20px;
    }
    .form-title {
        font-size: 1.5rem;
    }
}
