:root {
    --pistachio: #D7E5C4; /* Brand Pistachio Green */
    --dark-green: #2C3E50;
    --error-red: #e74c3c;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--pistachio);
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-container {
    transition: filter 0.3s ease;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

h2 {
    color: var(--dark-green);
    margin-bottom: 25px;
    font-weight: 600;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.input-group input:focus {
    border-color: #8fb87e;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-green);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #1a252f;
}

/* Modal and Blur Styles */
.modal-open .login-container {
    filter: blur(8px);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 350px;
    text-align: center;
    border-top: 5px solid var(--error-red);
}

.modal-header h3 {
    color: var(--error-red);
    margin-bottom: 10px;
}

.modal-footer {
    margin-top: 20px;
}

.close-btn {
    padding: 8px 20px;
    background: var(--dark-green);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.site-footer {
    position: fixed;
    bottom: 10px;
    font-size: 0.75rem;
    color: var(--dark-green); /* Matching title color as requested */
    background: var(--pistachio); /* Matching page background as requested */
    width: 100%;
    text-align: center;
}
