/* ============================================================
   Y2SQUARE CMS – OVERRIDES / COMPONENTS

   Base CMS design:            adminShop.css
   Global form rendering:      dynamicControls.css
   This file:                  reusable component overrides

   Load order:
   1. adminShop.css
   2. adminShop-override.css
   3. dynamicControls.css
   4. page-specific CSS

   Generic input/select/textarea/checkbox/radio rules do NOT
   belong here anymore. Specialized component classes below may
   intentionally refine dynamicControls.css where required.
   ============================================================ */
:root {
    --dc-bg: #171b22;
    --dc-bg-focus: #191e26;

    --dc-border: rgba(255, 255, 255, .10);
    --dc-border-hover: rgba(125, 180, 255, .32);
    --dc-border-focus: rgba(108, 168, 255, .62);

    --dc-text: #f4f7fb;
    --dc-focus-text: #f4f7fb;
    --dc-muted: #9ca8b7;

    --dc-blue: #78adfa;
    --dc-gold: #d2b46c;


}

.form-check {
    margin: 0;
    padding-left: 2px;
    padding-top: 0;
    margin-top: -3px;
}


/* ============================================================
   LUXURY BOOKING ADMIN
   ============================================================ */

.booking-admin {
    min-height: 100vh;
    padding: 2.75rem 0 4rem;

    color: #f5f5f7;

    background:
            radial-gradient(
                    circle at 15% 0%,
                    rgba(200, 169, 107, .06),
                    transparent 32%
            ),
            #111214;
}


.booking-admin-container {
    width: 100%;
    max-width: 1800px;

    margin: 0 auto;

    padding-left: 2rem;
    padding-right: 2rem;
}


/* ============================================================
   PAGE HEADER
   ============================================================ */

.booking-page-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 2rem;

    margin-bottom: 2.25rem;
}


.booking-eyebrow {
    display: block;

    margin-bottom: .7rem;

    color: #c8a96b;

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .22em;

    text-transform: uppercase;
}


.booking-page-header h1 {
    margin: 0 0 .65rem;

    color: #f5f5f7;

    font-size: clamp(2.5rem, 3.5vw, 4rem);
    font-weight: 600;

    line-height: 1;

    letter-spacing: -.05em;
}


.booking-page-header p {
    margin: 0;

    color: rgba(245, 245, 247, .55);

    font-size: 1.05rem;
    font-weight: 300;

    line-height: 1.6;
}


/* ============================================================
   HEADER STATUS
   ============================================================ */

.booking-header-status {
    display: flex;

    align-items: center;

    gap: .7rem;

    padding: .75rem 1.15rem;

    color: rgba(245, 245, 247, .62);

    font-size: .9rem;

    background:
            rgba(255, 255, 255, .025);

    border:
            1px solid rgba(255, 255, 255, .07);

    border-radius: 100px;
}


.booking-status-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    background: #c8a96b;

    border-radius: 50%;

    box-shadow:
            0 0 0 4px rgba(200, 169, 107, .10);
}


/* ============================================================
   TOOLBAR
   ============================================================ */

.booking-toolbar {
    margin-bottom: 1.6rem;

    padding: 1.45rem 1.6rem;

    background:
            linear-gradient(
                    145deg,
                    rgba(34, 35, 38, .96),
                    rgba(25, 26, 29, .98)
            );

    border:
            1px solid rgba(255, 255, 255, .07);

    border-radius: 18px;

    box-shadow:
            0 18px 45px rgba(0, 0, 0, .13);
}


.booking-form-label {
    display: flex;

    align-items: center;

    gap: .6rem;

    margin-bottom: .6rem;

    color: rgba(245, 245, 247, .55);

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.booking-form-label i {
    color: #c8a96b;
}


/* ============================================================
   SELECT
   ============================================================ */

.booking-select {
    display: block;
    float: none;
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;

    margin: 0;

    min-height: 52px;

    padding-left: 1rem;

    color: #f5f5f7;

    background-color: #18191c;

    border:
            1px solid rgba(255, 255, 255, .09);

    border-radius: 11px;

    font-size: 1.05rem;

    cursor: pointer;

    transition:
            border-color .2s ease,
            background-color .2s ease,
            box-shadow .2s ease;
}


.booking-select:hover {
    border-color:
            rgba(200, 169, 107, .32);
}


.booking-select:focus {
    color: #fff;

    background-color: #1d1e21;

    border-color:
            rgba(200, 169, 107, .62);

    box-shadow:
            0 0 0 3px rgba(200, 169, 107, .08);
}


/* ============================================================
   LEGEND
   ============================================================ */

.booking-legend {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 1.4rem;

    min-height: 52px;
}


.booking-legend-item {
    display: inline-flex;

    align-items: center;

    gap: .55rem;

    color: rgba(245, 245, 247, .62);

    font-size: .88rem;
}


.booking-legend-color {
    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;
}


.booking-legend-color.free {
    background: #78b59b;

    box-shadow:
            0 0 0 4px rgba(120, 181, 155, .09);
}


.booking-legend-color.occupied {
    background: #bd6d6d;

    box-shadow:
            0 0 0 4px rgba(189, 109, 109, .09);
}


.booking-legend-color.partial {
    background:
            linear-gradient(
                    90deg,
                    #bd6d6d 50%,
                    #78b59b 50%
            );
}


.booking-legend-color.today {
    background: #c8a96b;

    box-shadow:
            0 0 0 4px rgba(200, 169, 107, .09);
}


/* ============================================================
   CALENDAR LAYOUT

   Desktop:
   [        MAIN CALENDAR        ] [  SIDE  ]

   Kein Bootstrap Grid mehr.
   ============================================================ */

.booking-calendar-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(260px, 310px);

    gap: 1.5rem;

    align-items: start;

    width: 100%;
}


/* ============================================================
   PANEL
   ============================================================ */

.booking-panel {
    position: relative;

    min-width: 0;

    background:
            linear-gradient(
                    145deg,
                    rgba(31, 32, 35, .97),
                    rgba(22, 23, 26, .99)
            );

    border:
            1px solid rgba(255, 255, 255, .07);

    border-radius: 20px;

    box-shadow:
            0 20px 55px rgba(0, 0, 0, .17);

    overflow: hidden;
}


.booking-panel::before {
    content: "";

    position: absolute;

    top: 0;
    left: 1.5rem;

    width: 46px;
    height: 1px;

    background: #c8a96b;

    opacity: .8;
}


.booking-main-calendar-panel {
    width: 100%;

    min-width: 0;

    padding: 1.6rem;
}


/* ============================================================
   PANEL HEADER
   ============================================================ */

.booking-panel-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1.4rem;
}


.booking-panel-eyebrow {
    display: block;

    margin-bottom: .35rem;

    color: #c8a96b;

    font-size: .72rem;
    font-weight: 600;

    letter-spacing: .19em;

    text-transform: uppercase;
}


.booking-panel-header h2 {
    margin: 0;

    color: #f5f5f7;

    font-size: 1.55rem;
    font-weight: 500;

    letter-spacing: -.025em;
}


.booking-panel-info {
    color: rgba(245, 245, 247, .43);

    font-size: .86rem;

    white-space: nowrap;
}


.booking-panel-info i {
    margin-right: .4rem;

    color: #c8a96b;
}


/* ============================================================
   MAIN CALENDAR WRAPPER
   ============================================================ */

.booking-calendar-wrapper {
    position: relative;

    width: 100%;
    max-width: 100%;

    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    border-radius: 14px;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color:
            rgba(200, 169, 107, .35)
            rgba(255, 255, 255, .03);
}


.booking-calendar-wrapper::-webkit-scrollbar {
    height: 8px;
}


.booking-calendar-wrapper::-webkit-scrollbar-track {
    background:
            rgba(255, 255, 255, .025);

    border-radius: 10px;
}


.booking-calendar-wrapper::-webkit-scrollbar-thumb {
    background:
            rgba(200, 169, 107, .35);

    border-radius: 10px;
}


/* ============================================================
   ASP.NET MAIN CALENDAR TABLE
   ============================================================ */

.booking-calendar {
    width: 100% !important;

    min-width: 0 !important;

    table-layout: fixed;

    color: #f5f5f7;

    background: transparent !important;

    border: 0 !important;

    border-collapse: separate !important;

    border-spacing: 4px;
}


/* ASP.NET title outer cell */

.booking-calendar > tbody > tr:first-child > td {
    padding: 0 !important;

    background: #151619 !important;

    border: 0 !important;

    border-radius: 11px;
}


/* ============================================================
   MONTH TITLE + PREVIOUS/NEXT

   ASP.NET Calendar rendert innerhalb der TitleStyle eine
   weitere Tabelle. Deshalb bewusst starke Selektoren.
   ============================================================ */

.booking-calendar .TitleStyle {
    width: 100% !important;

    padding: 0 !important;

    color: #f5f5f7 !important;

    background: #151619 !important;

    border: 0 !important;

    font-size: 1.05rem !important;
    font-weight: 500 !important;
}


.booking-calendar .TitleStyle table {
    width: 100% !important;

    background: transparent !important;
}


.booking-calendar .TitleStyle td {
    padding: .75rem .8rem !important;

    color: #f5f5f7 !important;

    background: transparent !important;

    border: 0 !important;

    font-size: 1.05rem !important;
}


/* previous / next cells */

.booking-calendar .NextPrevStyle {
    width: 20% !important;

    padding: .45rem !important;

    color: #c8a96b !important;

    background: transparent !important;

    border: 0 !important;
}


/* THE ACTUAL LINKS */

.booking-calendar .NextPrevStyle a,
.booking-calendar .NextPrevStyle a:link,
.booking-calendar .NextPrevStyle a:visited,
.booking-calendar .TitleStyle a,
.booking-calendar .TitleStyle a:link,
.booking-calendar .TitleStyle a:visited {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 105px;

    padding: .58rem .85rem !important;

    color: #d6b76f !important;

    background:
            rgba(200, 169, 107, .08) !important;

    border:
            1px solid rgba(200, 169, 107, .24) !important;

    border-radius: 8px;

    font-size: .86rem !important;
    font-weight: 500 !important;

    line-height: 1.2;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
            color .2s ease,
            background .2s ease,
            border-color .2s ease;
}


.booking-calendar .NextPrevStyle a:hover,
.booking-calendar .TitleStyle a:hover {
    color: #f2dfa9 !important;

    background:
            rgba(200, 169, 107, .15) !important;

    border-color:
            rgba(200, 169, 107, .50) !important;
}


/* ============================================================
   DAY HEADER
   ============================================================ */

.booking-calendar .DayHeaderStyle {
    padding: .7rem .25rem !important;

    color:
            rgba(245, 245, 247, .52) !important;

    background: transparent !important;

    border: 0 !important;

    font-size: .78rem !important;
    font-weight: 600 !important;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   CALENDAR DAYS
   ============================================================ */

.booking-calendar .WeekDayStyle,
.booking-calendar .WeekendDayStyle,
.booking-calendar .OtherMonthDayStyle,
.booking-calendar .TodayDayStyle,
.booking-calendar .SelectedDayStyle {
    vertical-align: top !important;
}


/*
 CalendarInside kommt aus deinem DayRender.
 */

.booking-calendar .CalendarInside {
    box-sizing: border-box;

    width: 100% !important;

    min-width: 0;

    min-height: 125px;
    height: 125px !important;

    padding: 8px !important;

    vertical-align: top !important;

    text-align: left !important;

    color: #f5f5f7;

    background:
            rgba(255, 255, 255, .027) !important;

    border:
            1px solid rgba(255, 255, 255, .06) !important;

    border-radius: 10px;

    overflow: hidden;

    transition:
            background .2s ease,
            border-color .2s ease;
}


.booking-calendar .CalendarInside:hover {
    background:
            rgba(255, 255, 255, .05) !important;

    border-color:
            rgba(200, 169, 107, .23) !important;
}


/* ============================================================
   DATE NUMBER
   ============================================================ */

.booking-calendar .cellDateText {
    margin-bottom: 6px;

    padding: 0 2px 5px !important;

    color:
            rgba(245, 245, 247, .68) !important;

    background: transparent !important;

    border-bottom:
            1px solid rgba(255, 255, 255, .05);

    font-size: .84rem !important;
    font-weight: 500;
}


/* ============================================================
   ROOM ENTRIES
   ============================================================ */

.booking-calendar .cellRoom {
    box-sizing: border-box;

    display: block;

    width: 100%;

    min-width: 0;
    min-height: 26px;

    margin: 4px 0;

    padding: 5px 7px !important;

    color: #f5f5f7 !important;

    border:
            1px solid transparent !important;

    border-radius: 6px;

    font-size: .8rem !important;
    line-height: 1.35;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    cursor: pointer;

    transition:
            filter .15s ease,
            transform .15s ease,
            border-color .15s ease;
}


.booking-calendar .cellRoom:hover {
    transform: translateY(-1px);

    filter: brightness(1.12);
}


.booking-calendar .cellRoom img {
    width: 12px !important;
    height: 12px !important;

    margin-right: 4px;

    opacity: .75;
}


/* ============================================================
   FREE
   ============================================================ */

.booking-calendar .cellRoomTextFree {
    color: #add8c5 !important;

    background:
            rgba(80, 140, 115, .18) !important;

    border-color:
            rgba(120, 181, 155, .22) !important;
}


/* ============================================================
   OCCUPIED
   ============================================================ */

.booking-calendar .cellRoomText,
.booking-calendar .cellRoomTextOccupied {
    color: #e3abab !important;

    background:
            rgba(155, 69, 69, .20) !important;

    border-color:
            rgba(189, 109, 109, .25) !important;
}


/* ============================================================
   HALF OCCUPIED
   ============================================================ */

.booking-calendar .cellRoomTextHalfOccupied {
    color: #eee !important;

    background:
            linear-gradient(
                    90deg,
                    rgba(155, 69, 69, .32) 0%,
                    rgba(155, 69, 69, .32) 50%,
                    rgba(80, 140, 115, .22) 50%,
                    rgba(80, 140, 115, .22) 100%
            ) !important;
}


.booking-calendar .cellRoomTextHalfOccupiedOpposite {
    color: #eee !important;

    background:
            linear-gradient(
                    90deg,
                    rgba(80, 140, 115, .22) 0%,
                    rgba(80, 140, 115, .22) 50%,
                    rgba(155, 69, 69, .32) 50%,
                    rgba(155, 69, 69, .32) 100%
            ) !important;
}


/* ============================================================
   TODAY
   ============================================================ */

.booking-calendar .TodayDayStyle {
    background:
            rgba(200, 169, 107, .075) !important;

    outline:
            1px solid rgba(200, 169, 107, .42);

    outline-offset: -1px;
}


.booking-calendar .TodayDayStyle .cellDateText {
    color: #dfc88e !important;

    font-weight: 600;
}


/* ============================================================
   SELECTED DAY
   ============================================================ */

.booking-calendar .SelectedDayStyle {
    background:
            rgba(200, 169, 107, .13) !important;

    outline:
            1px solid rgba(200, 169, 107, .60);

    outline-offset: -1px;
}


/* ============================================================
   OTHER MONTH
   ============================================================ */

.booking-calendar .OtherMonthDayStyle {
    opacity: .43;

    background:
            rgba(255, 255, 255, .012) !important;
}


/* ============================================================
   WEEKEND
   ============================================================ */

.booking-calendar .WeekendDayStyle {
    background:
            rgba(255, 255, 255, .035) !important;
}


/* ============================================================
   RIGHT SIDE CALENDARS
   ============================================================ */

.booking-navigation {
    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    width: 100%;

    min-width: 0;
}


.booking-mini-panel {
    width: 100%;

    min-width: 0;

    padding: 1.25rem;
}


.booking-mini-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1rem;

    color:
            rgba(245, 245, 247, .72);

    font-size: .9rem;
    font-weight: 500;
}


.booking-mini-title i {
    color: #c8a96b;

    font-size: .85rem;
}


/* ============================================================
   MINI CALENDAR
   ============================================================ */

.booking-mini-calendar {
    width: 100% !important;

    min-width: 0 !important;

    table-layout: fixed;

    color:
            rgba(245, 245, 247, .72);

    background: transparent !important;

    border: 0 !important;

    border-collapse: collapse;

    font-size: .8rem !important;
}


.booking-mini-calendar > tbody,
.booking-mini-calendar > tbody > tr {
    width: 100%;
}


.booking-mini-calendar td {
    box-sizing: border-box;

    padding: 5px 2px !important;

    color:
            rgba(245, 245, 247, .65);

    background: transparent !important;

    border: 0 !important;

    text-align: center;
}


/* title */

.booking-mini-calendar .TitleStyle,
.booking-mini-calendar .TitleStyle td {
    padding: .55rem .2rem !important;

    color: #d8c28d !important;

    background:
            rgba(200, 169, 107, .06) !important;

    font-size: .82rem !important;
    font-weight: 500;
}


/* day names */

.booking-mini-calendar .DayHeaderStyle {
    padding: .45rem .1rem !important;

    color:
            rgba(245, 245, 247, .55) !important;

    background: transparent !important;

    font-size: .72rem !important;
    font-weight: 600;
}


/* regular days */

.booking-mini-calendar .WeekDayStyle,
.booking-mini-calendar .WeekendDayStyle {
    color:
            rgba(245, 245, 247, .68) !important;

    background: transparent !important;
}


/* Today */

.booking-mini-calendar .TodayDayStyle {
    color: #161616 !important;

    background:
            #c8a96b !important;

    border-radius: 6px;
}


/* Other month */

.booking-mini-calendar .OtherMonthDayStyle {
    color:
            rgba(245, 245, 247, .22) !important;

    background: transparent !important;
}


/* Selected */

.booking-mini-calendar .SelectedDayStyle {
    color: #e4cc91 !important;

    background:
            rgba(200, 169, 107, .10) !important;
}


/* ============================================================
   FLOATING GUEST DETAIL
   ============================================================ */

.booking-calendar-popup {
    position: absolute;

    z-index: 1200;

    display: none;

    max-width: 380px;

    padding: 1rem;

    color:
            rgba(245, 245, 247, .82);

    background:
            rgba(15, 16, 18, .97);

    border:
            1px solid rgba(200, 169, 107, .28);

    border-radius: 14px;

    box-shadow:
            0 20px 50px rgba(0, 0, 0, .45);

    backdrop-filter:
            blur(16px);
}


.booking-calendar-popup .GuestDetail {
    color:
            rgba(245, 245, 247, .78);
}


.booking-calendar-popup img {
    margin-right: .6rem;

    border-radius: 8px;
}


/* ============================================================
   STATUS
   ============================================================ */

.booking-status-area {
    margin-top: 1.5rem;
}


.booking-status-message {
    display: block;

    color:
            rgba(245, 245, 247, .60);

    font-size: .9rem;
}


/* ============================================================
   LARGE / NORMAL DESKTOP

   Sidebar wird etwas größer, sobald weniger Platz da ist.
   ============================================================ */

@media (max-width: 1400px) {

    .booking-calendar-layout {
        grid-template-columns:
            minmax(0, 1fr) 275px;

        gap: 1.25rem;
    }


    .booking-calendar .cellRoom {
        font-size: .75rem !important;
    }

}


/* ============================================================
   TABLET / SMALL NOTEBOOK

   Hauptkalender volle Breite.
   Mini-Kalender darunter nebeneinander.
   ============================================================ */

@media (max-width: 1199.98px) {

    .booking-calendar-layout {
        grid-template-columns: 1fr;
    }


    .booking-navigation {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 1.25rem;
    }


    .booking-legend {
        justify-content: flex-start;

        margin-top: .5rem;
    }


    .booking-mini-panel {
        min-width: 0;
    }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .booking-admin-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }


    /*
       Ab hier wäre 7-Spalten-Kompression zu stark.
       Kalender bekommt Mindestbreite und darf horizontal scrollen.
    */

    .booking-calendar {
        min-width: 760px !important;
    }


    .booking-calendar .CalendarInside {
        min-height: 120px;
        height: 120px !important;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .booking-admin {
        padding-top: 1.6rem;
    }


    .booking-admin-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .booking-page-header {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 1.6rem;
    }


    .booking-page-header h1 {
        font-size: 2.5rem;
    }


    .booking-page-header p {
        font-size: .98rem;
    }


    .booking-header-status {
        display: none;
    }


    .booking-toolbar {
        padding: 1.1rem;
    }


    .booking-main-calendar-panel {
        padding: 1rem;
    }


    .booking-panel-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .booking-panel-info {
        display: none;
    }


    .booking-legend {
        gap: .8rem 1.1rem;
    }


    /*
       7 Tage bleiben lesbar und werden gescrollt.
    */

    .booking-calendar {
        min-width: 720px !important;
    }


    .booking-calendar .cellRoom {
        font-size: .78rem !important;
    }


    .booking-calendar .cellDateText {
        font-size: .82rem !important;
    }


    .booking-navigation {
        grid-template-columns: 1fr;
    }


    .booking-mini-calendar {
        font-size: .86rem !important;
    }


    .booking-mini-calendar td {
        padding: 7px 3px !important;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .booking-page-header h1 {
        font-size: 2.15rem;
    }


    .booking-toolbar {
        border-radius: 14px;
    }


    .booking-panel {
        border-radius: 16px;
    }


    .booking-calendar {
        min-width: 690px !important;
    }


    .booking-mini-panel {
        padding: 1rem;
    }

}



/* ============================================================
   LUXURY BOOKING REQUESTS
   ============================================================ */


/* ============================================================
   INFO BOX
   ============================================================ */

.booking-request-info {
    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;

    padding: 1rem 1.25rem;

    color: rgba(245,245,247,.72);

    background:
            linear-gradient(
                    135deg,
                    rgba(200,169,107,.075),
                    rgba(255,255,255,.018)
            );

    border:
            1px solid rgba(200,169,107,.15);

    border-radius: 14px;
}


.booking-request-info-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    color: #d7ba7a;

    background:
            rgba(200,169,107,.10);

    border:
            1px solid rgba(200,169,107,.18);

    border-radius: 50%;

    font-size: .9rem;
}


.booking-request-info-title {
    display: block;

    margin-bottom: .15rem;

    color: #e0c98e;

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .06em;

    text-transform: uppercase;
}


.booking-request-info-text {
    color: rgba(245,245,247,.60);

    font-size: .95rem;

    line-height: 1.5;
}


/*
 lbInfo previously had Width="55%".
 It no longer does in the new ASPX.
 */

.booking-request-info-text span {
    width: auto !important;
}


/* ============================================================
   FILTER TOOLBAR
   ============================================================ */

.booking-request-toolbar {
    margin-bottom: 1.5rem;
}


.booking-request-filter-info {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: .55rem;

    min-height: 52px;

    color: rgba(245,245,247,.38);

    font-size: .86rem;
}


.booking-request-filter-info i {
    color: rgba(200,169,107,.65);
}


/* ============================================================
   REQUEST PANEL
   ============================================================ */

.booking-request-panel {
    padding: 1.6rem;
}


.booking-request-panel-header {
    margin-bottom: 1.5rem;
}


/* ============================================================
   GRID WRAPPER

   On smaller screens the GridView remains usable instead of
   squeezing six columns into the viewport.
   ============================================================ */

.booking-grid-wrapper {
    width: 100%;

    max-width: 100%;

    overflow-x: auto;

    border:
            1px solid rgba(255,255,255,.06);

    border-radius: 13px;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;

    scrollbar-color:
            rgba(200,169,107,.35)
            rgba(255,255,255,.03);
}


.booking-grid-wrapper::-webkit-scrollbar {
    height: 8px;
}


.booking-grid-wrapper::-webkit-scrollbar-track {
    background:
            rgba(255,255,255,.025);
}


.booking-grid-wrapper::-webkit-scrollbar-thumb {
    background:
            rgba(200,169,107,.35);

    border-radius: 10px;
}


/* ============================================================
   GRIDVIEW
   ============================================================ */

.booking-request-grid {
    width: 100% !important;

    min-width: 850px;

    margin: 0;

    color: rgba(245,245,247,.76);

    background: transparent !important;

    border: 0 !important;

    border-collapse: collapse !important;

    font-size: .95rem;
}


/* ============================================================
   HEADER
   ============================================================ */

.booking-request-grid th {
    padding: .9rem 1rem !important;

    color: #d8bd7e !important;

    background:
            #18191c !important;

    border: 0 !important;

    border-bottom:
            1px solid rgba(200,169,107,.25) !important;

    font-size: .74rem;

    font-weight: 600 !important;

    letter-spacing: .09em;

    text-align: left;

    text-transform: uppercase;

    white-space: nowrap;
}


/* first header */

.booking-request-grid th:first-child {
    padding-left: 1.2rem !important;
}


/* ============================================================
   ROWS
   ============================================================ */

.booking-request-grid tr {
    background:
            rgba(255,255,255,.012) !important;

    transition:
            background .15s ease;
}


.booking-request-grid tr:nth-child(even) {
    background:
            rgba(255,255,255,.025) !important;
}


.booking-request-grid tr:hover {
    background:
            rgba(200,169,107,.045) !important;
}


/* ============================================================
   CELLS
   ============================================================ */

.booking-request-grid td {
    padding: 1rem !important;

    color:
            rgba(245,245,247,.75) !important;

    background:
            transparent !important;

    border: 0 !important;

    border-bottom:
            1px solid rgba(255,255,255,.055) !important;

    vertical-align: middle;
}


.booking-request-grid tr:last-child td {
    border-bottom: 0 !important;
}


/* ============================================================
   DATES
   ============================================================ */

.booking-grid-date {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: .3rem .65rem;

    color: rgba(245,245,247,.82) !important;

    background:
            rgba(255,255,255,.035);

    border:
            1px solid rgba(255,255,255,.055);

    border-radius: 6px;

    font-size: .9rem;

    white-space: nowrap;
}


/* ============================================================
   LINKS
   ============================================================ */

.booking-request-grid a.booking-grid-link,
.booking-request-grid a.booking-grid-link:link,
.booking-request-grid a.booking-grid-link:visited {
    color:
            rgba(245,245,247,.80) !important;

    text-decoration: none !important;

    transition:
            color .15s ease;
}


.booking-request-grid a.booking-grid-link:hover {
    color: #dfc786 !important;
}


.booking-grid-guest {
    font-weight: 500;
}


/* ============================================================
   ROOM TYPE BADGE
   ============================================================ */

.booking-request-grid a.booking-room-type,
.booking-request-grid a.booking-room-type:link,
.booking-request-grid a.booking-room-type:visited {
    display: inline-flex;

    align-items: center;

    padding: .32rem .65rem;

    color: #d9c28a !important;

    background:
            rgba(200,169,107,.08);

    border:
            1px solid rgba(200,169,107,.16);

    border-radius: 100px;

    font-size: .8rem;

    text-decoration: none !important;
}


.booking-request-grid a.booking-room-type:hover {
    color: #f0dba5 !important;

    background:
            rgba(200,169,107,.14);
}


/* ============================================================
   CHECKBOX

   ASP:CheckBox generates:
   <span class="booking-checkbox">
       <input type="checkbox">
   </span>
   ============================================================ */

.booking-checkbox {
    display: inline-flex;

    align-items: center;
    justify-content: center;
}


.booking-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;

    margin: 0;

    accent-color: #c8a96b;

    cursor: pointer;
}


/* ============================================================
   EDIT INPUT
   ============================================================ */

.booking-grid-input {
    width: 100%;

    min-width: 120px;

    padding: .5rem .65rem;

    color: #f5f5f7;

    background: #151619;

    border:
            1px solid rgba(255,255,255,.10);

    border-radius: 7px;

    outline: none;
}


.booking-grid-input:focus {
    border-color:
            rgba(200,169,107,.55);

    box-shadow:
            0 0 0 3px rgba(200,169,107,.07);
}


/* ============================================================
   PAGER
   ============================================================ */

.booking-grid-pager {
    background:
            #151619 !important;

    border-top:
            1px solid rgba(255,255,255,.06) !important;

    text-align: center;
}


.booking-grid-pager td {
    padding: .8rem !important;
}


.booking-grid-pager a,
.booking-grid-pager span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 32px;
    height: 32px;

    margin: 0 2px;

    padding: 0 .5rem;

    color: rgba(245,245,247,.62) !important;

    background:
            rgba(255,255,255,.025);

    border:
            1px solid rgba(255,255,255,.06);

    border-radius: 6px;

    text-decoration: none !important;
}


.booking-grid-pager a:hover {
    color: #e2cb91 !important;

    border-color:
            rgba(200,169,107,.30);
}


/* ============================================================
   ACTION AREA
   ============================================================ */

.booking-request-actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    margin-top: 1.5rem;

    padding-top: 1.4rem;

    border-top:
            1px solid rgba(255,255,255,.055);
}


.booking-request-action-info {
    display: flex;

    align-items: center;

    gap: .55rem;

    color:
            rgba(245,245,247,.42);

    font-size: .82rem;
}


.booking-request-action-info i {
    color:
            rgba(200,169,107,.65);
}


/* ============================================================
   CONFIRM BUTTON
   ============================================================ */

.booking-confirm-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: .75rem 1.5rem;

    color: #171717 !important;

    background:
            linear-gradient(
                    135deg,
                    #dfc786,
                    #b99756
            ) !important;

    border:
            1px solid rgba(255,235,180,.35) !important;

    border-radius: 9px;

    box-shadow:
            0 8px 24px rgba(0,0,0,.20);

    font-size: .9rem;

    font-weight: 600;

    letter-spacing: .015em;

    cursor: pointer;

    transition:
            transform .18s ease,
            box-shadow .18s ease,
            filter .18s ease;
}


.booking-confirm-button:hover {
    transform: translateY(-1px);

    filter: brightness(1.06);

    box-shadow:
            0 12px 30px rgba(0,0,0,.28);
}


.booking-confirm-button:active {
    transform: translateY(0);
}


/* ============================================================
   STATUS
   ============================================================ */

.booking-request-status {
    margin-top: 1rem;
}


.booking-request-status span {
    display: block;

    color:
            rgba(245,245,247,.65);

    font-size: .9rem;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    .booking-request-filter-info {
        justify-content: flex-start;
    }


    .booking-request-grid {
        min-width: 800px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .booking-request-info {
        align-items: flex-start;
    }


    .booking-request-panel {
        padding: 1rem;
    }


    .booking-request-panel-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .booking-request-filter-info {
        display: none;
    }


    .booking-request-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .booking-confirm-button {
        width: 100%;
    }


    .booking-request-action-info {
        order: 2;
    }


    .booking-request-grid {
        min-width: 760px;
    }

}

/* =========================================================
   LARGER TYPOGRAPHY
   ========================================================= */

/* Main page title */
.lux-admin-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08;
}

/* Intro text below title */
.lux-admin-subtitle {
    font-size: 18px;
    line-height: 1.6;
}

/* Dynamic CMS header / shop name */
.lux-admin-server-header,
.lux-admin-server-header p,
.lux-admin-server-header span {
    font-size: 17px;
}

/* Y2Square CMS kicker */
.lux-admin-kicker {
    font-size: 13px;
}

/* "VERWALTUNG" */
.lux-section-title {
    font-size: 13px;
}


/* =========================================================
   CARDS
   ========================================================= */

/* Shop / Designer / Kategorien / etc. */
.lux-admin-card h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 12px;
}

/* Description below card heading */
.lux-admin-card p {
    font-size: 16px;
    line-height: 1.65;
}

/* Bottom action:
   Bearbeiten / Designer öffnen / etc.
*/
.lux-admin-action {
    font-size: 15px;
    font-weight: 600;
}

/* Arrow slightly larger too */
.lux-admin-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
}


/* Administration pill top right */
.lux-admin-status {
    font-size: 15px;
    padding: 12px 18px;
}


/* =========================================================
   GIVE THE LARGER TEXT A LITTLE MORE SPACE
   ========================================================= */

.lux-admin-card {
    min-height: 285px;
    padding: 28px;
}

.lux-admin-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 26px;
}

.lux-admin-icon img {
    max-width: 34px;
    max-height: 34px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .lux-admin-title {
        font-size: 40px;
    }

    .lux-admin-card h3 {
        font-size: 22px;
    }

    .lux-admin-card p {
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .lux-admin-title {
        font-size: 34px;
    }

    .lux-admin-subtitle {
        font-size: 16px;
    }

    .lux-admin-card {
        min-height: 245px;
        padding: 24px;
    }

    .lux-admin-card h3 {
        font-size: 22px;
    }

    .lux-admin-card p {
        font-size: 15px;
    }

    .lux-admin-action {
        font-size: 15px;
    }
}



/*Animationen*/
/* ============================================================
   DASHBOARD – MOTION EFFECTS
   Nach allen bisherigen Dashboard-Regeln einfügen
   ============================================================ */


/* 1. Titel: responsiver Umbruch bleibt erhalten */

.lux-admin .lux-admin-title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* 2. Übergänge für Texte und Icons */

.lux-admin .lux-admin-card h3 {
    transition:
            transform .35s cubic-bezier(.2, .8, .2, 1),
            color .3s ease,
            text-shadow .3s ease;
}

.lux-admin .lux-admin-icon {
    overflow: hidden;
}

/* Zusätzlicher Lichtreflex, vorhandener Glow bleibt bestehen */

.lux-admin .lux-admin-icon::after {
    content: "";

    position: absolute;
    inset: -40%;

    z-index: 3;
    pointer-events: none;

    background: linear-gradient(
            110deg,
            transparent 35%,
            rgba(220, 240, 255, .34) 50%,
            transparent 65%
    );

    opacity: 0;
    transform: translateX(-110%);
}


/* 3. Klarer Fokus bei Tastaturbedienung */

.lux-admin .lux-admin-card:focus-visible {
    outline: 2px solid #8ac2ff;
    outline-offset: 4px;
}

.lux-admin .lux-admin-card:focus-within {
    border-color: rgba(125, 185, 255, .55);
}


/* 4. Einmalige Animationen beim Laden */

@media (prefers-reduced-motion: no-preference) {

    .lux-admin .lux-admin-kicker {
        animation: lux-text-enter .6s ease-out backwards;
    }

    .lux-admin .lux-admin-subtitle,
    .lux-admin .lux-admin-server-header {
        animation: lux-text-enter .7s .12s ease-out backwards;
    }

    /* Kurzer Lichtimpuls im Titel */
    .lux-admin .lux-admin-title {
        animation: lux-title-light 1.8s ease-out;
    }

    /* Nur opacity animieren:
       Hover-Transformation der Karten bleibt unabhängig */
    .lux-admin .lux-admin-card {
        animation: lux-card-enter .65s ease-out backwards;
        animation-delay: var(--lux-enter-delay, 0ms);
    }

    .lux-admin .lux-admin-card:nth-child(1) {
        --lux-enter-delay: 60ms;
    }

    .lux-admin .lux-admin-card:nth-child(2) {
        --lux-enter-delay: 120ms;
    }

    .lux-admin .lux-admin-card:nth-child(3) {
        --lux-enter-delay: 180ms;
    }

    .lux-admin .lux-admin-card:nth-child(4) {
        --lux-enter-delay: 240ms;
    }

    .lux-admin .lux-admin-card:nth-child(5) {
        --lux-enter-delay: 300ms;
    }

    .lux-admin .lux-admin-card:nth-child(6) {
        --lux-enter-delay: 360ms;
    }

    .lux-admin .lux-admin-card:nth-child(7) {
        --lux-enter-delay: 420ms;
    }

    .lux-admin .lux-admin-card:nth-child(8) {
        --lux-enter-delay: 480ms;
    }
}


/* 5. Maus-Effekte nur auf Geräten mit echtem Hover */

@media (hover: hover) and (pointer: fine)
and (prefers-reduced-motion: no-preference) {

    .lux-admin .lux-admin-card:hover h3 {
        transform: translateX(3px);

        text-shadow:
                0 0 22px rgba(110, 180, 255, .25);
    }

    /* Reflex läuft einmal bei jedem neuen Hover */
    .lux-admin .lux-admin-card:hover .lux-admin-icon::after {
        animation: lux-icon-sheen .8s ease-in-out;
    }

    .lux-admin .lux-admin-card:hover .lux-admin-arrow {
        transform: translateX(6px) scale(1.08);
    }

    /* Dezente Rückmeldung beim Klicken */
    .lux-admin .lux-admin-card:active {
        transform: translateY(-2px) scale(.99);
        transition-duration: .12s;
    }
}


/* 6. Touch: keine hängenbleibenden Hover-Bewegungen */

@media (hover: none), (pointer: coarse) {

    .lux-admin .lux-admin-card:hover,
    .lux-admin .lux-admin-card:hover .lux-admin-icon,
    .lux-admin .lux-admin-card:hover .lux-admin-icon img,
    .lux-admin .lux-admin-card:hover .lux-admin-arrow {
        transform: none;
    }

    .lux-admin .lux-admin-card:active {
        border-color: rgba(140, 195, 255, .65);
    }
}


/* 7. Keyframes */

@keyframes lux-card-enter {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lux-text-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lux-title-light {
    0%, 100% {
        text-shadow: 0 2px 20px rgba(0, 0, 0, .18);
    }
    45% {
        text-shadow:
                0 0 24px rgba(100, 175, 255, .38),
                0 0 55px rgba(45, 125, 255, .18);
    }
}

@keyframes lux-icon-sheen {
    0% {
        opacity: 0;
        transform: translateX(-110%);
    }
    25%, 65% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(110%);
    }
}


/* 8. Systemeinstellung „Bewegung reduzieren“ berücksichtigen
   Gilt auch für die bisherigen Dashboard-Hover-Effekte */

@media (prefers-reduced-motion: reduce) {

    .lux-admin *,
    .lux-admin *::before,
    .lux-admin *::after {
        animation: none !important;
        transition: none !important;
    }

    .lux-admin .lux-admin-card,
    .lux-admin .lux-admin-icon,
    .lux-admin .lux-admin-icon img,
    .lux-admin .lux-admin-icon::before,
    .lux-admin .lux-admin-arrow,
    .lux-admin .lux-admin-card h3 {
        transform: none !important;
    }
}
