* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0b0b0b;
    color: white;
    min-height: 100vh;
}

.wrapper {
    width: 100%;
    max-width: 850px;
    margin: auto;
    padding: 30px 20px;
}

.card {
    background: #111;
    border: 1px solid rgba(47, 158, 111, .35);
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(47, 158, 111, .12);
    padding: 28px;
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #2f9e6f;
    font-size: 34px;
}

#loginPage {
    margin-top: 90px;
}

.input,
select,
#date {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #2f9e6f;
    background: #0d0d0d;
    color: white;
    font-size: 16px;
    outline: none;
}

.input:focus,
select:focus,
#date:focus {
    box-shadow: 0 0 10px rgba(47, 158, 111, .2);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #2f9e6f;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    background: #37b77f;
}

.logout {
    width: auto;
    padding: 10px 18px;
    border-radius: 10px;
    background: #1d1d1d;
    border: 1px solid #2f9e6f;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#welcome {
    color: #9ad9b8;
    font-size: 14px;
}

.hidden {
    display: none !important;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    width: 420px;
    max-width: 90%;
    background: #111;
    border: 1px solid #2f9e6f;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 0 30px rgba(47,158,111,.18);
}

.modal-box h3 {
    color: #2f9e6f;
    margin-bottom: 12px;
    text-align: center;
    font-size: 24px;
}

.modal-box p {
    color: #eee;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn.secondary {
    background: transparent;
    border: 1px solid #2f9e6f;
}