/* Seance Scheduler - Dark Theme Styles */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #0f0f1a;
    color: #eaeaea;
}

/* Links */
a {
    color: #e94560;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #e94560;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

/* Paragraphs and lists */
p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* WCAG AA Contrast - Additional utilities */
.text-high-contrast {
    color: #ffffff;
}

.bg-dark {
    background-color: #1a1a2e;
}

/* Buttons: white on #c0304a is 5.58:1 (white on #e94560 was only 3.83:1) */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #c0304a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #a3253d;
}

.btn:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

/* Form elements */
input, textarea, select {
    background-color: #1a1a2e;
    color: #eaeaea;
    border: 1px solid #8890aa;
    padding: 0.5rem;
    border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
    outline: 2px solid #e94560;
    outline-offset: 1px;
}

/* Code blocks */
code {
    background-color: #1a1a2e;
    padding: 0.125rem 0.25rem;
    border-radius: 2px;
    font-family: 'Consolas', 'Monaco', monospace;
}

pre {
    background-color: #1a1a2e;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
}
/* Seance booking pages. Contrast on #0f0f1a: #eaeaea 15+:1, #9aa0b4 7.3:1, #ff6b81 6.95:1, #7ee2a8 12:1 */
.btn-secondary {
    background-color: transparent;
    color: #ff8fa3;
    border: 1px solid #ff8fa3;
}

.btn-secondary:hover {
    background-color: #2a1a2e;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hint,
.empty {
    color: #9aa0b4;
}

.notice {
    color: #7ee2a8;
    border-left: 4px solid #7ee2a8;
    padding: 0.5rem 0.75rem;
    background-color: #12261d;
}

.error-message {
    color: #ff6b81;
    border-left: 4px solid #ff6b81;
    padding: 0.5rem 0.75rem;
    background-color: #2a1220;
}

.field-error {
    display: block;
    color: #ff6b81;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
    border-color: #ff6b81;
}

.data-table {
    width: 100%;
    max-width: 960px;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #2a2f4a;
}

.data-table th {
    color: #9aa0b4;
    font-weight: 600;
}

.data-table tr.inactive td {
    color: #9aa0b4;
}

.form-section {
    margin-top: 2rem;
    max-width: 480px;
}

.stacked-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    max-width: 480px;
}

.stacked-form label,
.filter-form label {
    margin-bottom: 0.25rem;
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-form .form-group {
    display: flex;
    flex-direction: column;
}

.schedule-day h2 {
    font-size: 1.25rem;
}
