@import url("theme-VYRCilY.css");

/* Keep form styles for /login (admin access), shared with theme */
.shell--narrow {
    width: min(720px, calc(100% - 40px));
    margin: 48px auto 80px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(122, 90, 46, 0.26);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    backdrop-filter: blur(8px);
}
.card + .card { margin-top: 18px; }
.card--hero { padding: 26px; }

.h2 {
    margin: 0 0 14px;
    font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
    letter-spacing: 0.02em;
}

.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field__label { color: var(--text-muted); font-size: 13px; }
.field__input, .field__textarea, .field__select {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 22, 0.55);
    color: var(--text-main);
    padding: 12px 12px;
    outline: none;
}

/* Make the date/datetime picker icon visible on dark inputs (Chrome/Safari). */
.field__input[type="date"]::-webkit-calendar-picker-indicator,
.field__input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.9;
}
.field__input[type="date"]::-webkit-calendar-picker-indicator:hover,
.field__input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    cursor: pointer;
}
.btn--primary {
    background: linear-gradient(180deg, rgba(244, 221, 159, 0.95), rgba(229, 192, 106, 0.95));
    border-color: rgba(229, 192, 106, 0.55);
    color: #1a1406;
    font-weight: 700;
}
.btn:hover { filter: brightness(1.04); }

.icon {
    width: 18px;
    height: 18px;
    display: block;
}

.iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    cursor: pointer;
    text-decoration: none;
}
.iconbtn:hover {
    filter: brightness(1.05);
    box-shadow: 0 0 0 2px rgba(242, 193, 78, 0.12), 0 10px 22px rgba(8, 19, 31, 0.35);
}
.iconbtn--primary {
    background: linear-gradient(180deg, rgba(244, 221, 159, 0.95), rgba(229, 192, 106, 0.95));
    border-color: rgba(229, 192, 106, 0.55);
    color: #1a1406;
}
.iconbtn--danger {
    border-color: rgba(255, 107, 107, 0.35);
    background: rgba(255, 107, 107, 0.10);
}
.iconbtn--danger:hover {
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.12), 0 10px 22px rgba(8, 19, 31, 0.35);
}

.alert {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}
.alert--danger {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.12);
}
.alert--success {
    border-color: rgba(104, 211, 145, 0.35);
    background: rgba(104, 211, 145, 0.12);
}
.alert--info {
    border-color: rgba(183, 196, 211, 0.28);
    background: rgba(183, 196, 211, 0.10);
}

/* Reservation calendar */
.grid2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}
@media (max-width: 860px) {
    .grid2 { grid-template-columns: 1fr; }
}

.rescal__head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.rescal__title {
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.02em;
}
.rescal__nav {
    justify-self: start;
    padding: 10px 12px;
}
.rescal__head .rescal__nav:last-child { justify-self: end; }

.rescal__grid {
    border-radius: 18px;
    border: 1px solid rgba(122, 90, 46, 0.22);
    background: rgba(8, 14, 22, 0.30);
    overflow: hidden;
}
.rescal__dowrow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rescal__dow {
    padding: 10px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.rescal__cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.rescal__cell {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px 10px 12px;
    height: 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.rescal__cell:nth-child(7n) { border-right: 0; }
.rescal__cell:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.12);
}
.rescal__cell.is-outmonth {
    opacity: 0.35;
}
.rescal__cell.is-busy {
    background:
        radial-gradient(120px 60px at 18% 20%, rgba(242, 193, 78, 0.12), transparent 70%),
        radial-gradient(160px 80px at 75% 70%, rgba(140, 29, 24, 0.10), transparent 70%);
}
.rescal__num {
    font-weight: 700;
    font-size: 13px;
}
.rescal__badge {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #1a1406;
    background: linear-gradient(180deg, rgba(244, 221, 159, 0.95), rgba(229, 192, 106, 0.95));
    border: 1px solid rgba(229, 192, 106, 0.55);
}

.rescal__legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
}
.rescal__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.rescal__dot--free { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.18); }
.rescal__dot--busy { background: rgba(242, 193, 78, 0.55); border: 1px solid rgba(242, 193, 78, 0.55); }

.rescal__daylist {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.rescal__daytitle {
    font-size: 16px;
    margin: 0 0 10px;
}
.rescal__ev {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 8px;
}
.rescal__time {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
}
.rescal__evt {
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 560px) {
    .shell--narrow { margin: 28px auto 56px; }
    .card { padding: 18px; }
}

/* Home (/): no header, no links, just a construction screen */
.page-construction {
    min-height: 100vh;
}
.construction {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 18px;
}
.construction__inner {
    text-align: center;
    width: min(560px, 100%);
}
.construction__logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(8, 19, 31, 0.55));
}
.construction__kicker {
    margin-top: 16px;
    color: var(--text-muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
}
.construction__title {
    margin: 10px 0 0;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: 0.02em;
}
.construction__text {
    margin: 10px 0 0;
}
