:root { --primary: #2563eb; --secondary: #10b981; --bg: #f8fafc; }
body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); display: flex; justify-content: center; padding: 20px; }
.card { background: white; padding: 2rem; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); max-width: 450px; width: 100%; }
h2 { color: #1e293b; margin-top: 0; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.highlight-box { background: #eff6ff; border-left: 4px solid var(--primary); padding: 15px; margin: 20px 0; border-radius: 4px; }
.date-text { font-size: 1.25rem; font-weight: 700; color: var(--primary); display: block; margin-top: 5px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: #475569; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 20px; box-sizing: border-box; font-size: 1rem; }
button { width: 100%; padding: 14px; background: var(--secondary); color: white; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-size: 1rem; }
button:hover { opacity: 0.9; }
.result-area { background: #f0fdf4; border: 1px dashed var(--secondary); padding: 15px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
#calendar-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
}

.footer a {
    color: #64748b;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h3 {
    margin-top: 1.5rem;
}

.modal-content ul {
    padding-left: 20px;
    line-height: 1.5;
}

.modal-content li {
    margin-bottom: 10px;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}