* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f4f6;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.container {
    width: min(720px, calc(100% - 32px));
    margin: 48px auto;
}

.container.wide {
    width: min(1200px, calc(100% - 32px));
}

.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
    line-height: 1.15;
}

.eyebrow {
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-details,
.availability,
.alert {
    margin: 20px 0;
    padding: 16px;
    border-radius: 10px;
}

.event-details {
    background: #f9fafb;
}

.event-details p {
    margin: 5px 0;
}

.availability {
    background: #ecfdf5;
    font-weight: bold;
}

.availability.full,
.alert {
    background: #fef2f2;
}

form {
    display: grid;
    gap: 10px;
}

label {
    margin-top: 8px;
    font-weight: bold;
}

input,
select,
textarea,
button {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font: inherit;
}

textarea {
    resize: vertical;
}

button,
.button-link {
    display: inline-block;
    margin-top: 14px;
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    background: #111827;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button-link:hover {
    opacity: 0.9;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: normal;
}

.checkbox input {
    width: auto;
    margin-top: 5px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #e5e7eb;
    padding: 11px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f9fafb;
}

@media (max-width: 600px) {
    .card {
        padding: 22px;
    }

    .admin-heading {
        display: block;
    }
}
