.costa-alora-staff-app {
    --staff-ink: #102332;
    --staff-muted: #64748b;
    --staff-line: #e2edf3;
    --staff-bg: #f6fbfd;
    --staff-card: #ffffff;
    --staff-blue: #087aa7;
    --staff-green: #14865f;
    --staff-red: #dc2626;
    color: var(--staff-ink);
    font-family: "Roboto", Arial, sans-serif;
    margin: 0 auto;
    max-width: 980px;
}

.costa-alora-staff-app * {
    box-sizing: border-box;
}

.costa-alora-staff-app__header {
    align-items: center;
    background: linear-gradient(135deg, #102332, #087aa7);
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 22px;
}

.costa-alora-staff-app__header span {
    color: #a7f3d0;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.costa-alora-staff-app__header h2 {
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

.costa-alora-staff-app__header button,
.costa-alora-staff-app__install button,
.costa-alora-staff-app__actions button,
.costa-alora-staff-app__auth a {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: var(--staff-ink);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    text-decoration: none;
}

.costa-alora-staff-app__install,
.costa-alora-staff-app__filters,
.costa-alora-staff-app__auth {
    background: var(--staff-card);
    border: 1px solid var(--staff-line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(16, 35, 50, 0.08);
    margin-bottom: 14px;
    padding: 16px;
}

.costa-alora-staff-app__install {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
}

.costa-alora-staff-app__install .dashicons {
    color: var(--staff-blue);
    font-size: 30px;
    height: 30px;
    width: 30px;
}

.costa-alora-staff-app__install strong,
.costa-alora-staff-app__install p {
    display: block;
    margin: 0;
}

.costa-alora-staff-app__install p {
    color: var(--staff-muted);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
}

.costa-alora-staff-app__install button,
.costa-alora-staff-app__auth a {
    background: var(--staff-green);
    border-color: var(--staff-green);
    color: #fff;
}

.costa-alora-staff-app__filters {
    display: grid;
    gap: 12px;
    grid-template-columns: 170px 170px 170px minmax(220px, 1fr);
}

.costa-alora-staff-app__filters label {
    display: grid;
    gap: 6px;
}

.costa-alora-staff-app__filters span {
    color: var(--staff-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.costa-alora-staff-app__filters select,
.costa-alora-staff-app__filters input {
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    color: var(--staff-ink);
    font: inherit;
    min-height: 48px;
    padding: 0 12px;
    width: 100%;
}

.costa-alora-staff-app__filters select:focus,
.costa-alora-staff-app__filters input:focus {
    border-color: #7fb2ff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
    outline: 0;
}

.costa-alora-staff-app__stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 14px;
}

.costa-alora-staff-app__stat {
    background: var(--staff-card);
    border: 1px solid var(--staff-line);
    border-radius: 8px;
    padding: 14px;
}

.costa-alora-staff-app__stat span {
    color: var(--staff-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.costa-alora-staff-app__stat strong {
    color: var(--staff-ink);
    display: block;
    font-size: 28px;
    line-height: 1.1;
    margin-top: 6px;
}

.costa-alora-staff-app__message {
    border-radius: 8px;
    font-weight: 800;
    margin-bottom: 12px;
    padding: 12px;
}

.costa-alora-staff-app__message[data-type="success"] {
    background: #ecfdf5;
    color: #166534;
}

.costa-alora-staff-app__message[data-type="error"] {
    background: #fff1f2;
    color: #991b1b;
}

.costa-alora-staff-app__message[data-type="info"] {
    background: #eff6ff;
    color: #1d4ed8;
}

.costa-alora-staff-app__list {
    display: grid;
    gap: 12px;
}

.costa-alora-staff-app__booking,
.costa-alora-staff-app__empty,
.costa-alora-staff-app__loading {
    background: var(--staff-card);
    border: 1px solid var(--staff-line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(16, 35, 50, 0.08);
    padding: 16px;
}

.costa-alora-staff-app__booking-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.costa-alora-staff-app__booking-head span {
    color: var(--staff-muted);
    font-size: 12px;
    font-weight: 800;
}

.costa-alora-staff-app__booking-head h3 {
    color: var(--staff-ink);
    font-size: 22px;
    line-height: 1.2;
    margin: 4px 0 0;
    padding: 0;
}

.costa-alora-staff-app__booking mark {
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
    white-space: nowrap;
}

.costa-alora-staff-app__booking mark[data-status="pending"] {
    background: #f59e0b;
}

.costa-alora-staff-app__booking mark[data-status="confirmed"] {
    background: var(--staff-green);
}

.costa-alora-staff-app__booking mark[data-status="cancelled"] {
    background: var(--staff-red);
}

.costa-alora-staff-app__booking dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.costa-alora-staff-app__booking dl div {
    background: var(--staff-bg);
    border-radius: 8px;
    padding: 10px;
}

.costa-alora-staff-app__booking dt {
    color: var(--staff-muted);
    font-size: 11px;
    font-weight: 800;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.costa-alora-staff-app__booking dd {
    color: var(--staff-ink);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
}

.costa-alora-staff-app__booking dd a {
    color: var(--staff-blue);
    font-weight: 800;
}

.costa-alora-staff-app__actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
}

.costa-alora-staff-app__actions button {
    background: #fff;
    border-color: var(--staff-line);
    justify-content: center;
}

.costa-alora-staff-app__actions button[data-status-action="confirmed"] {
    background: var(--staff-green);
    border-color: var(--staff-green);
    color: #fff;
}

.costa-alora-staff-app__actions button[data-status-action="cancelled"] {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #991b1b;
}

.costa-alora-staff-app__auth {
    text-align: center;
}

.costa-alora-staff-app__auth .dashicons {
    color: var(--staff-blue);
    font-size: 42px;
    height: 42px;
    width: 42px;
}

.costa-alora-staff-app__auth h2 {
    color: var(--staff-ink);
    margin: 10px 0;
    padding: 0;
}

.costa-alora-staff-app__auth p {
    color: var(--staff-muted);
    margin: 0 0 16px;
}

@media (max-width: 760px) {
    .costa-alora-staff-app__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .costa-alora-staff-app__filters,
    .costa-alora-staff-app__stats {
        grid-template-columns: 1fr 1fr;
    }

    .costa-alora-staff-app__filters label:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .costa-alora-staff-app__header h2 {
        font-size: 28px;
    }

    .costa-alora-staff-app__install,
    .costa-alora-staff-app__filters,
    .costa-alora-staff-app__stats,
    .costa-alora-staff-app__actions {
        grid-template-columns: 1fr;
    }

    .costa-alora-staff-app__booking-head {
        display: grid;
    }

    .costa-alora-staff-app__booking mark {
        justify-self: start;
    }
}
