body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f8fc;
    color: #1a2238;
}

.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(18, 33, 68, 0.08);
    padding: 20px;
    margin-bottom: 16px;
}

.title {
    margin-top: 0;
    color: #123d7a;
}

.subtitle {
    color: #2f4c78;
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #123d7a;
    color: #fff;
}

.btn-secondary {
    background: #e6edf9;
    color: #123d7a;
}

.btn-danger {
    background: #b42318;
    color: #fff;
}

.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bfd0ef;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
}

.wizard-steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.wizard-step {
    border: 1px solid #bed0ef;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: #29508e;
}

.wizard-step.active {
    background: #123d7a;
    color: #fff;
    border-color: #123d7a;
}

.hidden {
    display: none;
}

.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.availability-calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    table-layout: fixed;
}

.availability-calendar th {
    font-size: 12px;
    color: #1f3f73;
    background: #eef3fc;
    border: 1px solid #d2def2;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.availability-calendar td {
    border: 1px solid #d2def2;
    border-radius: 8px;
    padding: 6px;
    min-height: 64px;
    background: #ffffff;
}

.calendar-cell-available {
    background: #f8fffb;
}

.calendar-cell-available select {
    font-size: 12px;
    padding: 6px;
    border-color: #8ad8b7;
}

.calendar-cell-booked {
    background: #d9dde5;
    color: #5a6274;
    text-align: center;
    font-weight: 600;
}

.calendar-cell-empty {
    background: #f4f5f8;
}

.timeslot {
    border: 1px solid #bed0ef;
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
}

.timeslot.booked {
    border-color: #bbc1cc;
    background: #edf0f5;
    color: #5a6170;
}

.timeslot.available {
    border-color: #10b981;
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-verified {
    background: #d1fae5;
    color: #065f46;
}

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

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

.message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0c4a6e;
}

.error {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fee2e2;
    color: #7f1d1d;
}

@media (max-width: 760px) {
    .row {
        grid-template-columns: 1fr;
    }

    .availability-calendar {
        display: block;
        overflow-x: auto;
    }
}
