
:root {
    --primary: #116682;
    --primary-hover: #0d4f65;
    --accent: #d4af37;
    --bg: #f6fafd;
    --text: #171c1f;
    --card-bg: #ffffff;
    --border-radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container { width: 100%; max-width: 600px; }
header { text-align: center; margin-bottom: 2rem; }
h1 { color: var(--primary); font-size: 2.2rem; margin-bottom: 0.3rem; }
p.subtitle { color: #666; font-size: 1.05rem; }

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}
.desc { font-size: 0.95rem; color: #555; margin-bottom: 1.2rem; }
.hidden { display: none !important; }

.form-group { margin-bottom: 1.2rem; text-align: left; }
label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
input[type="text"], textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
input[type="text"]:focus, textarea:focus { border-color: var(--primary); outline: none; }
button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
button:hover { background-color: var(--primary-hover); }

.nav-bar {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}
.nav-bar a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.guest-box {
    background: #fdfaf1;
    border-left: 4px solid var(--accent);
    padding: 1rem;
    border-radius: 4px;
    text-align: left;
}

.timeline-item { text-align: left; padding: 0.8rem 0; border-bottom: 1px dashed #e0e0e0; }
.timeline-item .time { color: var(--primary); font-weight: bold; font-size: 1.1rem; }
.timeline-item .subtext { color: #666; font-size: 0.85rem; }
.date-tag { background: var(--primary); color: #fff; display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; margin-bottom: 1rem; }

.waze-btn {
    display: block;
    background-color: #33ccff;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.member-row {
    background: #f9fbfd;
    border: 1px solid #e1e9ee;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: left;
}
.member-name { font-weight: bold; font-size: 1.05rem; color: var(--primary); margin-bottom: 0.5rem; }

.radio-group { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.radio-group label { font-weight: normal; cursor: pointer; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-card {
    background: #fff;
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stat-card .num { font-size: 2rem; font-weight: bold; color: var(--primary); }
.stat-card .label { font-size: 0.85rem; color: #666; }

table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.85rem; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f0f4f7; color: var(--primary); }

.template-box {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    padding: 1rem;
    border-radius: 6px;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.9rem;
}

.wa-btn {
    background: #25D366;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.success-msg { color: #2e7d32; font-weight: bold; text-align: center; margin-top: 1rem; }
.error-msg { color: #c62828; font-size: 0.85rem; text-align: center; margin-top: 1rem; }
