/* css/login.css */

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #e0f7fa 0%, #b2dfdb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(39, 69, 88, 0.13);
    padding: 36px 32px 28px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    border: 2px solid #80CBC4;
    box-sizing: border-box;
}

.login-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 18px;
    background: #e0f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 137, 123, 0.1);
}

.login-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.login-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    position: relative;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #00897B;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1.5px solid #80CBC4;
    background: #f8fffe;
    font-size: 1em;
    color: #1976d2;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: #a0b4c8;
}

.login-input:focus {
    outline: none;
    border-color: #00897B;
    background: #e8f5e9;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.15);
}

.login-btn-group {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-btn, .guest-btn {
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.login-btn {
    background: linear-gradient(90deg, #00897B 0%, #1976d2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}

.login-btn:hover {
    background: linear-gradient(90deg, #1976d2 0%, #00897B 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 137, 123, 0.3);
}

.guest-btn {
    background-color: #CFD8DC;
    color: #37474F;
}

.guest-btn:hover {
    background-color: #B0BEC5;
    transform: translateY(-2px);
}

/* --- START OF ADDED STYLES --- */

/* Specific color for the Nurse button */
#nurse-login-btn {
    background-color: #A5D6A7; /* A pleasant, light green */
}

#nurse-login-btn:hover {
    background-color: #81C784; /* A slightly darker green on hover */
}

/* Specific color for the Doctor button */
#doctor-login-btn {
    background-color: #B39DDB; /* A professional, light purple */
}

#doctor-login-btn:hover {
    background-color: #9575CD; /* A slightly darker purple on hover */
}

/* --- END OF ADDED STYLES --- */

.login-error {
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 12px;
    min-height: 20px;
    font-weight: 500;
    text-align: center;
}

.login-input.error {
    border-color: #d32f2f;
    animation: shake 0.4s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}