/* Overlay background */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

/* Hidden state */
.hidden {
    display: none;
}

/* Modal box */
#login-form {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    width: 320px;
    max-width: 90%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modal title */
#login-form h2 {
    color: #006064;
    margin-bottom: 20px;
}

/* Input field */
#password-input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #006064;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Error message */
#login-error {
    color: #d32f2f;
    margin: 10px 0;
    font-size: 13px;
}

/* Buttons container */
.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Buttons */
.modal-buttons button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

/* Login button */
.modal-buttons button[type="submit"] {
    background-color: #006064;
    color: white;
}

.modal-buttons button[type="submit"]:hover {
    background-color: #004d52;
}

/* Cancel button */
.modal-buttons button[type="button"] {
    background-color: #80cbc4;
    color: #333;
}

.modal-buttons button[type="button"]:hover {
    background-color: #4db6ac;
}
