* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #1a1a2e;
    color: #eaeaea;
    font-family: 'Georgia', serif;
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 60px;
}

/* HEADER */
.header {
    text-align: center;
    padding: 30px 0 20px;
}

.header h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #e0c97f;
}

.subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* RECORD BUTTON */
.record-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.record-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #e0c97f;
    background: #16213e;
    color: #e0c97f;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.record-btn.recording {
    background: #e0c97f;
    color: #1a1a2e;
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(224, 201, 127, 0.4);
}

.mic-icon {
    font-size: 2rem;
}

.status-text {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 1px;
}

/* RESPONSE CARD */
.response-card {
    background: #16213e;
    border-left: 3px solid #e0c97f;
    border-radius: 8px;
    padding: 16px;
    margin: 10px 0;
}

.transcript-card {
    background: #0f3460;
    border-left: 3px solid #888;
    border-radius: 8px;
    padding: 16px;
    margin: 10px 0;
}

.response-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hidden {
    display: none !important;
}

/* CALENDAR */
.calendar-section {
    margin-top: 30px;
    background: #16213e;
    border-radius: 12px;
    padding: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-header h2 {
    font-size: 1rem;
    color: #e0c97f;
    letter-spacing: 1px;
}

.calendar-header button {
    background: none;
    border: 1px solid #444;
    color: #eaeaea;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    position: relative;
}

.cal-day.has-event {
    background: #0f3460;
    color: #e0c97f;
    font-weight: bold;
}

.cal-day.today {
    border: 1px solid #e0c97f;
}

.cal-day.empty {
    cursor: default;
}

.event-dot {
    width: 4px;
    height: 4px;
    background: #e0c97f;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
}

/* EVENT POPUP */
.event-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.popup-inner {
    background: #16213e;
    border-radius: 12px;
    padding: 24px;
    width: 85%;
    max-width: 360px;
    position: relative;
}

.popup-inner h3 {
    color: #e0c97f;
    margin-bottom: 16px;
    font-size: 1rem;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
}

.event-item {
    background: #0f3460;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.no-events {
    color: #888;
    font-size: 0.85rem;
}