/* =========================================================
   SEMINAR HALL BOOKING
   PUBLIC BOOKING STATUS / CALENDAR
   booking-status.css
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bs-bg: #061225;
    --bs-bg-2: #091a32;
    --bs-panel: rgba(13, 31, 57, 0.82);
    --bs-panel-strong: rgba(17, 39, 69, 0.94);

    --bs-border: rgba(120, 160, 210, 0.20);
    --bs-border-light: rgba(255, 255, 255, 0.08);

    --bs-text: #f5f8ff;
    --bs-text-soft: #a8b8cf;
    --bs-text-muted: #71839d;

    --bs-blue: #3b82f6;
    --bs-blue-light: #60a5fa;
    --bs-blue-dark: #1d4ed8;

    --bs-cyan: #22d3ee;
    --bs-green: #34d399;
    --bs-purple: #a78bfa;
    --bs-pink: #f472b6;

    --bs-radius-xl: 28px;
    --bs-radius-lg: 20px;
    --bs-radius-md: 14px;

    --bs-shadow:
        0 25px 80px rgba(0, 0, 0, 0.28);

    --bs-shadow-soft:
        0 12px 40px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   PAGE
   ========================================================= */

.booking-status-page {
    min-height: calc(100vh - 90px);
    padding: 75px 0 100px;

    color: var(--bs-text);

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(37, 99, 235, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(79, 70, 229, 0.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #061225 0%,
            #08182e 48%,
            #091735 100%
        );

    position: relative;
    overflow: hidden;
}


/* decorative background */

.booking-status-page::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    top: 120px;
    right: -260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(59, 130, 246, 0.14),
            transparent 68%
        );

    pointer-events: none;
}

.booking-status-page::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    bottom: 80px;
    left: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34, 211, 238, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   HEADING
   ========================================================= */

.booking-status-heading {
    position: relative;
    z-index: 1;

    max-width: 850px;

    margin-bottom: 30px;
}

.booking-status-heading .eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    border-radius: 999px;

    background: rgba(59, 130, 246, 0.10);

    border: 1px solid rgba(96, 165, 250, 0.20);

    color: #7db7ff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.booking-status-heading h1 {
    margin: 16px 0 10px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.02;

    letter-spacing: -0.045em;

    font-weight: 800;
}

.booking-status-heading p {
    margin: 0;

    max-width: 700px;

    color: var(--bs-text-soft);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   LEGEND
   ========================================================= */

.calendar-legend {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 22px;

    margin-bottom: 18px;

    flex-wrap: wrap;
}

.legend-item {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 9px 13px;

    border-radius: 999px;

    color: #c9d6e8;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.07);

    font-size: 13px;
    font-weight: 650;
}

.legend-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    display: inline-block;

    box-shadow: 0 0 12px currentColor;
}

.hall-dot {
    background: var(--bs-blue-light);
    color: var(--bs-blue-light);
}

.social-dot {
    background: var(--bs-pink);
    color: var(--bs-pink);
}


/* =========================================================
   CALENDAR CARD
   ========================================================= */

.calendar-card {
    position: relative;
    z-index: 1;

    width: 100%;

    background:
        linear-gradient(
            145deg,
            rgba(17, 38, 67, 0.92),
            rgba(7, 24, 47, 0.92)
        );

    border: 1px solid var(--bs-border);

    border-radius: var(--bs-radius-xl);

    box-shadow: var(--bs-shadow);

    overflow: hidden;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* =========================================================
   CALENDAR HEADER
   ========================================================= */

.calendar-header {
    min-height: 100px;

    padding: 20px 26px;

    display: grid;

    grid-template-columns: 52px 1fr 52px;

    align-items: center;

    gap: 15px;

    border-bottom: 1px solid var(--bs-border);
}

.calendar-month {
    text-align: center;
}

.calendar-month span {
    display: block;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.02em;
}

.calendar-month strong {
    display: block;

    margin-top: 4px;

    color: var(--bs-text-muted);

    font-size: 12px;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


/* =========================================================
   PREVIOUS / NEXT BUTTON
   ========================================================= */

.calendar-nav {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #dceaff;

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.22),
            rgba(30, 64, 175, 0.12)
        );

    border: 1px solid rgba(96, 165, 250, 0.22);

    text-decoration: none;

    font-size: 32px;

    line-height: 1;

    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.calendar-nav:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            rgba(59, 130, 246, 0.38),
            rgba(37, 99, 235, 0.20)
        );

    border-color: rgba(96, 165, 250, 0.48);

    box-shadow:
        0 10px 30px rgba(37, 99, 235, 0.20);
}


/* =========================================================
   WEEK DAYS
   ========================================================= */

.calendar-weekdays {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    background: rgba(4, 15, 31, 0.52);

    border-bottom: 1px solid var(--bs-border);
}

.calendar-weekdays > div {
    padding: 15px 8px;

    text-align: center;

    color: #7f95b0;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* =========================================================
   CALENDAR GRID
   ========================================================= */

.calendar-grid {
    display: grid;

    grid-template-columns: repeat(7, minmax(0, 1fr));

    background: rgba(2, 11, 25, 0.42);
}


/* =========================================================
   CALENDAR DAY
   ========================================================= */

.calendar-day {
    position: relative;

    min-height: 155px;

    padding: 13px;

    border-right: 1px solid rgba(120, 160, 210, 0.12);

    border-bottom: 1px solid rgba(120, 160, 210, 0.12);

    background:
        linear-gradient(
            145deg,
            rgba(18, 39, 68, 0.58),
            rgba(8, 26, 49, 0.52)
        );

    transition:
        background .22s ease,
        box-shadow .22s ease;
}

.calendar-day:nth-child(7n) {
    border-right: 0;
}

.calendar-day:hover {
    background:
        linear-gradient(
            145deg,
            rgba(25, 52, 88, 0.75),
            rgba(10, 32, 59, 0.72)
        );

    box-shadow:
        inset 0 0 0 1px rgba(96, 165, 250, 0.10);
}


/* empty day */

.calendar-day.empty-day {
    background:
        rgba(3, 13, 27, 0.25);

    min-height: 155px;
}


/* =========================================================
   DAY NUMBER
   ========================================================= */

.day-number {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border-radius: 10px;

    color: #a9bad0;

    font-size: 13px;

    font-weight: 750;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.055);
}


/* =========================================================
   TODAY
   ========================================================= */

.calendar-day.today {
    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.15),
            rgba(13, 39, 72, 0.62)
        );
}

.calendar-day.today .day-number {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #3b82f6,
            #2563eb
        );

    border-color: rgba(147, 197, 253, 0.45);

    box-shadow:
        0 7px 20px rgba(37, 99, 235, 0.30);
}


/* =========================================================
   EVENT INSIDE CALENDAR
   ========================================================= */

.calendar-event {
    position: relative;

    margin-top: 7px;

    padding: 9px 9px 10px;

    border-radius: 11px;

    overflow: hidden;

    border: 1px solid transparent;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.calendar-event:hover {
    transform: translateY(-2px);
}


/* =========================================================
   SEMINAR HALL EVENT
   ========================================================= */

.hall-event {
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.22),
            rgba(30, 64, 175, 0.11)
        );

    border-color:
        rgba(96, 165, 250, 0.25);

    box-shadow:
        inset 3px 0 0 #3b82f6;
}

.hall-event:hover {
    box-shadow:
        inset 3px 0 0 #60a5fa,
        0 8px 22px rgba(37, 99, 235, 0.15);
}


/* =========================================================
   SOCIAL MEDIA EVENT
   ========================================================= */

.social-event {
    background:
        linear-gradient(
            135deg,
            rgba(236, 72, 153, 0.17),
            rgba(168, 85, 247, 0.08)
        );

    border-color:
        rgba(244, 114, 182, 0.22);

    box-shadow:
        inset 3px 0 0 #ec4899;
}

.social-event:hover {
    box-shadow:
        inset 3px 0 0 #f472b6,
        0 8px 22px rgba(236, 72, 153, 0.13);
}


/* =========================================================
   EVENT TEXT
   ========================================================= */

.event-type {
    margin-bottom: 5px;

    color: #93bfff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.social-event .event-type {
    color: #f5a7cd;
}

.event-name {
    color: #f1f6ff;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.35;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.event-time {
    margin-top: 6px;

    color: #8eb8ef;

    font-size: 9px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   INFORMATION CARD
   ========================================================= */

.calendar-info {
    position: relative;
    z-index: 1;

    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 25px;

    padding: 21px 24px;

    border-radius: var(--bs-radius-lg);

    background:
        linear-gradient(
            135deg,
            rgba(16, 185, 129, 0.09),
            rgba(13, 31, 55, 0.70)
        );

    border: 1px solid rgba(52, 211, 153, 0.17);

    box-shadow: var(--bs-shadow-soft);
}

.info-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #6ee7b7;

    background: rgba(52, 211, 153, 0.10);

    border: 1px solid rgba(52, 211, 153, 0.20);

    font-size: 19px;
    font-weight: 800;
}

.calendar-info strong {
    display: block;

    margin-bottom: 4px;

    color: #e9fff6;

    font-size: 14px;
}

.calendar-info p {
    margin: 0;

    color: #91a8a0;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   APPROVED EVENTS SECTION
   ========================================================= */

.approved-events {
    position: relative;
    z-index: 1;

    margin-top: 55px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading .eyebrow {
    color: #76adf5;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.section-heading h2 {
    margin: 8px 0 0;

    color: #ffffff;

    font-size: 30px;

    line-height: 1.1;

    letter-spacing: -0.025em;
}


/* =========================================================
   DATE GROUP
   ========================================================= */

.event-date-group {
    display: grid;

    grid-template-columns: 105px 1fr;

    gap: 20px;

    margin-bottom: 18px;
}


/* =========================================================
   EVENT DATE
   ========================================================= */

.event-date {
    min-height: 105px;

    padding: 17px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border-radius: var(--bs-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(20, 45, 78, 0.92),
            rgba(10, 29, 54, 0.82)
        );

    border: 1px solid var(--bs-border);

    box-shadow: var(--bs-shadow-soft);
}

.event-date strong {
    color: #ffffff;

    font-size: 31px;

    line-height: 1;

    font-weight: 800;
}

.event-date span {
    margin-top: 7px;

    color: #7f96b2;

    font-size: 10px;

    font-weight: 750;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   EVENT LIST
   ========================================================= */

.event-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   EVENT DETAIL CARD
   ========================================================= */

.event-detail-card {
    position: relative;

    padding: 21px 23px;

    border-radius: var(--bs-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(17, 39, 68, 0.91),
            rgba(8, 27, 51, 0.88)
        );

    border: 1px solid var(--bs-border);

    box-shadow: var(--bs-shadow-soft);

    overflow: hidden;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.event-detail-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    bottom: 0;

    width: 4px;

    background: var(--bs-blue);
}

.event-detail-card.hall-card::before {
    background:
        linear-gradient(
            to bottom,
            #60a5fa,
            #2563eb
        );
}

.event-detail-card.social-card::before {
    background:
        linear-gradient(
            to bottom,
            #f9a8d4,
            #ec4899
        );
}

.event-detail-card:hover {
    transform: translateY(-3px);

    border-color: rgba(96, 165, 250, 0.28);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   EVENT DETAIL TOP
   ========================================================= */

.event-detail-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}

.event-badge {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 999px;

    color: #a9d0ff;

    background: rgba(59, 130, 246, 0.11);

    border: 1px solid rgba(96, 165, 250, 0.18);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.social-card .event-badge {
    color: #f6afd2;

    background: rgba(236, 72, 153, 0.10);

    border-color: rgba(244, 114, 182, 0.18);
}


/* =========================================================
   DETAIL EVENT NAME
   ========================================================= */

.event-detail-card h3 {
    margin: 0 0 7px;

    color: #f7faff;

    font-size: 18px;

    line-height: 1.35;

    font-weight: 750;
}

.event-detail-card p {
    margin: 0;

    color: #92a7c0;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   DETAIL TIME
   ========================================================= */

.event-detail-time {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 13px;

    padding: 7px 11px;

    border-radius: 9px;

    color: #9cc7ff;

    background: rgba(59, 130, 246, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.12);

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   NO EVENTS
   ========================================================= */

.no-events {
    position: relative;
    z-index: 1;

    margin-top: 45px;

    padding: 65px 25px;

    text-align: center;

    border-radius: var(--bs-radius-xl);

    background:
        linear-gradient(
            145deg,
            rgba(15, 36, 64, 0.88),
            rgba(8, 26, 49, 0.86)
        );

    border: 1px solid var(--bs-border);

    box-shadow: var(--bs-shadow);
}

.no-events-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(59, 130, 246, 0.10);

    border: 1px solid rgba(96, 165, 250, 0.16);

    font-size: 30px;
}

.no-events h2 {
    margin: 0 0 9px;

    color: #f7faff;

    font-size: 24px;
}

.no-events p {
    max-width: 480px;

    margin: 0 auto;

    color: #8195ad;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   NAVBAR ACTIVE STATE
   ========================================================= */

.booking-status-page ~ * {
    box-sizing: border-box;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .booking-status-page {
        padding: 55px 0 75px;
    }

    .calendar-day {
        min-height: 135px;
        padding: 10px;
    }

    .calendar-day.empty-day {
        min-height: 135px;
    }

    .calendar-event {
        padding: 8px;
    }

    .event-type {
        font-size: 8px;
    }

    .event-name {
        font-size: 10px;
    }

    .event-time {
        font-size: 8px;
    }

    .event-date-group {
        grid-template-columns: 85px 1fr;
    }

    .event-date {
        min-height: 90px;
    }

    .event-date strong {
        font-size: 26px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .booking-status-page {
        padding: 38px 0 60px;
    }

    .booking-status-heading h1 {
        font-size: 40px;
    }

    .booking-status-heading p {
        font-size: 13px;
    }

    .calendar-legend {
        gap: 8px;
    }

    .legend-item {
        font-size: 11px;
        padding: 7px 10px;
    }

    .calendar-card {
        border-radius: 19px;
    }

    .calendar-header {
        min-height: 80px;

        padding: 15px;

        grid-template-columns: 42px 1fr 42px;
    }

    .calendar-nav {
        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 27px;
    }

    .calendar-month span {
        font-size: 20px;
    }

    .calendar-month strong {
        font-size: 9px;
    }

    .calendar-weekdays > div {
        padding: 11px 3px;

        font-size: 8px;

        letter-spacing: 0.05em;
    }

    .calendar-day {
        min-height: 112px;

        padding: 7px;

        border-right: 1px solid rgba(120, 160, 210, 0.10);
    }

    .calendar-day.empty-day {
        min-height: 112px;
    }

    .day-number {
        width: 27px;
        height: 27px;

        margin-bottom: 6px;

        border-radius: 8px;

        font-size: 10px;
    }

    .calendar-event {
        margin-top: 4px;

        padding: 6px;

        border-radius: 8px;
    }

    .event-type {
        font-size: 6.5px;

        letter-spacing: 0.02em;
    }

    .event-name {
        font-size: 8px;

        line-height: 1.25;

        -webkit-line-clamp: 2;
    }

    .event-time {
        margin-top: 4px;

        font-size: 7px;
    }

    .calendar-info {
        align-items: flex-start;

        padding: 17px;

        gap: 12px;
    }

    .info-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        border-radius: 11px;
    }

    .calendar-info strong {
        font-size: 12px;
    }

    .calendar-info p {
        font-size: 10px;
    }

    .approved-events {
        margin-top: 40px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .event-date-group {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .event-date {
        min-height: auto;

        padding: 11px 15px;

        flex-direction: row;

        justify-content: flex-start;

        gap: 9px;

        text-align: left;
    }

    .event-date strong {
        font-size: 22px;
    }

    .event-date span {
        margin-top: 0;

        font-size: 9px;
    }

    .event-detail-card {
        padding: 17px 18px;
    }

    .event-detail-card h3 {
        font-size: 16px;
    }

    .event-detail-card p {
        font-size: 11px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .booking-status-heading h1 {
        font-size: 34px;
    }

    .calendar-header {
        grid-template-columns: 38px 1fr 38px;

        padding: 12px;
    }

    .calendar-nav {
        width: 36px;
        height: 36px;

        font-size: 24px;
    }

    .calendar-month span {
        font-size: 18px;
    }

    .calendar-day {
        min-height: 95px;

        padding: 5px;
    }

    .calendar-day.empty-day {
        min-height: 95px;
    }

    .day-number {
        width: 24px;
        height: 24px;

        font-size: 9px;
    }

    .calendar-event {
        padding: 5px;
    }

    .event-type {
        font-size: 5.5px;
    }

    .event-name {
        font-size: 7px;
    }

    .event-time {
        display: none;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.calendar-nav:focus-visible {
    outline: 2px solid #60a5fa;

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .calendar-nav,
    .calendar-event,
    .calendar-day,
    .event-detail-card {
        transition: none;
    }
}