/* ==========================================================
   Francherry Booking Portal
   Bookings UI v2.0
==========================================================*/


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root{

    --fb-primary:#C89B3C;

    --fb-primary-dark:#B58623;

    --fb-success:#25B864;

    --fb-warning:#F3B21A;

    --fb-danger:#E5484D;

    --fb-info:#3578E5;

    --fb-text:#202020;

    --fb-text-light:#7A7A7A;

    --fb-border:#E8E8E8;

    --fb-bg:#F7F8FA;

    --fb-card:#FFFFFF;

    --fb-radius:16px;

    --fb-shadow:

        0 12px 30px rgba(0,0,0,.05);

    --fb-shadow-hover:

        0 18px 40px rgba(0,0,0,.08);

}


/* ==========================================================
   PAGE WRAPPER
========================================================== */

.fb-bookings-wrapper{

    display:flex;

    flex-direction:column;

    gap:32px;

    padding:28px;

    background:var(--fb-bg);

    min-height:100vh;

}


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

.fb-bookings-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:24px;

    flex-wrap:wrap;

}

.fb-bookings-header-left{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.fb-bookings-title{

    margin:0;

    font-size:34px;

    font-weight:700;

    color:var(--fb-text);

    line-height:1.1;

}

.fb-bookings-subtitle{

    margin:0;

    font-size:15px;

    color:var(--fb-text-light);

}


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

.fb-bookings-toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:24px;

    flex-wrap:wrap;

}


/* ==========================================================
   SEARCH
========================================================== */

.fb-search-wrapper{

    position:relative;

    flex:1;

    min-width:320px;

    max-width:600px;

}

.fb-search-wrapper i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#999;

    font-size:15px;

}

#fb-booking-search{

    width:100%;

    padding:15px 18px 15px 48px;

    border:1px solid var(--fb-border);

    border-radius:14px;

    background:#FFF;

    font-size:15px;

    transition:.25s;

    outline:none;

    box-sizing:border-box;

}

#fb-booking-search::placeholder{

    color:#AAA;

}

#fb-booking-search:focus{

    border-color:var(--fb-primary);

    box-shadow:

        0 0 0 4px rgba(200,155,60,.10);

}


/* ==========================================================
   FILTER PILLS
========================================================== */

.fb-bookings-filters{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.fb-bookings-filters button{

    padding:11px 20px;

    border:none;

    border-radius:999px;

    background:#FFF;

    color:#555;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    box-shadow:

        0 2px 6px rgba(0,0,0,.03);

}

.fb-bookings-filters button:hover{

    background:#F2F2F2;

    color:#202020;

}

.fb-bookings-filters button.active{

    background:var(--fb-primary);

    color:#FFF;

    box-shadow:

        0 10px 20px rgba(200,155,60,.20);

}


/* ==========================================================
   NEW BOOKING BUTTON
========================================================== */

.fb-new-booking{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:15px 26px;

    border:none;

    border-radius:14px;

    background:var(--fb-primary);

    color:#FFF;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    box-shadow:

        0 12px 20px rgba(200,155,60,.18);

}

.fb-new-booking i{

    font-size:15px;

}

.fb-new-booking:hover{

    background:var(--fb-primary-dark);

    transform:translateY(-2px);

    box-shadow:

        0 18px 28px rgba(200,155,60,.28);

}

.fb-new-booking:active{

    transform:translateY(0);

}


/* ==========================================================
   SECTION DIVIDER
========================================================== */

.fb-section{

    display:flex;

    flex-direction:column;

    gap:20px;

}

/* ==========================================================
   BOOKING LIST
========================================================== */

.fb-bookings-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* ==========================================================
   BOOKING CARD
========================================================== */

.fb-booking-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    padding:24px;

    background:var(--fb-card);

    border:1px solid var(--fb-border);

    border-radius:18px;

    box-shadow:var(--fb-shadow);

    transition:.30s ease;

}

.fb-booking-card:hover{

    transform:translateY(-4px);

    box-shadow:var(--fb-shadow-hover);

    border-color:#DDD;

}

/* ==========================================================
   LEFT COLUMN
========================================================== */

.fb-booking-left{

    display:flex;

    flex-direction:column;

    gap:12px;

    flex:1;

}

/* ==========================================================
   CUSTOMER
========================================================== */

.fb-booking-customer{

    display:flex;

    align-items:center;

    gap:14px;

}

.fb-booking-avatar{

    width:52px;

    height:52px;

    border-radius:50%;

    background:var(--fb-primary);

    color:#FFF;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:18px;

    flex-shrink:0;

}

.fb-booking-customer-info{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.fb-booking-customer-name{

    font-size:18px;

    font-weight:700;

    color:var(--fb-text);

}

.fb-booking-phone{

    font-size:14px;

    color:var(--fb-text-light);

}

/* ==========================================================
   SERVICE
========================================================== */

.fb-booking-service{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--fb-primary);

    font-weight:600;

    font-size:15px;

}

.fb-booking-service i{

    font-size:14px;

}

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

.fb-booking-date{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    color:var(--fb-text-light);

    font-size:14px;

}

.fb-booking-date span{

    display:inline-flex;

    align-items:center;

    gap:6px;

}

/* ==========================================================
   RIGHT COLUMN
========================================================== */

.fb-booking-right{

    display:flex;

    flex-direction:column;

    align-items:flex-end;

    justify-content:center;

    gap:16px;

    min-width:180px;

}

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

.fb-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    text-transform:capitalize;

}

.fb-status-pending{

    background:#FFF5D9;

    color:#B58900;

}

.fb-status-approved{

    background:#DFF8E8;

    color:#1F8A46;

}

.fb-status-confirmed{

    background:#DFF8E8;

    color:#1F8A46;

}

.fb-status-paid{

    background:#E4F5FF;

    color:#1565C0;

}

.fb-status-completed{

    background:#EFEFEF;

    color:#444;

}

.fb-status-cancelled{

    background:#FFE7E7;

    color:#C62828;

}

/* ==========================================================
   VIEW BUTTON
========================================================== */

.fb-view-booking{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 18px;

    border:none;

    border-radius:12px;

    background:#202020;

    color:#FFF;

    cursor:pointer;

    font-size:14px;

    font-weight:600;

    transition:.25s;

}

.fb-view-booking:hover{

    background:var(--fb-primary);

}

.fb-view-booking i{

    font-size:13px;

}

/* ==========================================================
   QUICK INFO ROW
========================================================== */

.fb-booking-meta{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-top:6px;

    font-size:13px;

    color:var(--fb-text-light);

}

.fb-booking-meta span{

    display:flex;

    align-items:center;

    gap:6px;

}

/* ==========================================================
   EMPTY STATE
========================================================== */

.fb-empty{

    background:#FFF;

    border:1px dashed var(--fb-border);

    border-radius:18px;

    padding:70px 30px;

    text-align:center;

    box-shadow:var(--fb-shadow);

}

.fb-empty i{

    font-size:52px;

    color:#D4D4D4;

    margin-bottom:20px;

}

.fb-empty h3{

    margin:0 0 10px;

    font-size:22px;

    color:var(--fb-text);

}

.fb-empty p{

    margin:0;

    color:var(--fb-text-light);

    font-size:15px;

}


/* ==========================================================
   LOADING
========================================================== */

.fb-loading{

    padding:60px;

    text-align:center;

    color:var(--fb-text-light);

    font-style:italic;

}


/* ==========================================================
   SKELETON LOADER
========================================================== */

.fb-skeleton{

    position:relative;

    overflow:hidden;

    background:#ECECEC;

    border-radius:8px;

}

.fb-skeleton::after{

    content:"";

    position:absolute;

    inset:0;

    transform:translateX(-100%);

    background:linear-gradient(

        90deg,

        transparent,

        rgba(255,255,255,.6),

        transparent

    );

    animation:fbSkeleton 1.2s infinite;

}

@keyframes fbSkeleton{

    100%{

        transform:translateX(100%);

    }

}


/* ==========================================================
   PAGINATION
========================================================== */

.fb-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:24px;

}

.fb-pagination button{

    min-width:42px;

    height:42px;

    border:none;

    border-radius:10px;

    background:#FFF;

    border:1px solid var(--fb-border);

    cursor:pointer;

    transition:.25s;

}

.fb-pagination button:hover{

    background:var(--fb-primary);

    color:#FFF;

    border-color:var(--fb-primary);

}

.fb-pagination button.active{

    background:var(--fb-primary);

    color:#FFF;

    border-color:var(--fb-primary);

}


/* ==========================================================
   BADGE UTILITIES
========================================================== */

.fb-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    padding:6px 12px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.fb-badge-success{

    background:#E6FAEF;

    color:#14854A;

}

.fb-badge-warning{

    background:#FFF4D8;

    color:#AF7D00;

}

.fb-badge-danger{

    background:#FFE7E7;

    color:#C62828;

}


/* ==========================================================
   FADE IN ANIMATION
========================================================== */

.fb-fade-in{

    animation:fbFade .35s ease;

}

@keyframes fbFade{

    from{

        opacity:0;

        transform:translateY(8px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


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

@media (max-width:1024px){

    .fb-bookings-toolbar{

        flex-direction:column;

        align-items:stretch;

    }

    .fb-search-wrapper{

        max-width:none;

        width:100%;

    }

}


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

@media (max-width:768px){

    .fb-bookings-wrapper{

        padding:18px;

        gap:24px;

    }

    .fb-bookings-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .fb-bookings-title{

        font-size:28px;

    }

    .fb-bookings-toolbar{

        flex-direction:column;

        align-items:stretch;

        gap:18px;

    }

    .fb-bookings-filters{

        width:100%;

        overflow-x:auto;

        flex-wrap:nowrap;

        padding-bottom:4px;

    }

    .fb-bookings-filters button{

        white-space:nowrap;

        flex-shrink:0;

    }

    .fb-new-booking{

        width:100%;

    }

    .fb-booking-card{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

    .fb-booking-right{

        width:100%;

        align-items:flex-start;

    }

    .fb-view-booking{

        width:100%;

        justify-content:center;

    }

}


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

@media (max-width:480px){

    .fb-bookings-title{

        font-size:24px;

    }

    .fb-booking-avatar{

        width:44px;

        height:44px;

        font-size:16px;

    }

    .fb-booking-customer-name{

        font-size:16px;

    }

    .fb-booking-date{

        flex-direction:column;

        gap:8px;

    }

}

.fb-slot-selected{
    background:#C89B3C;
    color:#fff;
    border-color:#C89B3C;
}

#fb-booking-slots .fb-slot.fb-slot-selected {
    background-color: #C89B3C !important;
    color: #fff !important;
    border-color: #C89B3C !important;
}


/* ----------------------------------------
   Booking Success Message
---------------------------------------- */

.fb-booking-success {
    margin: 15px 0;
}

.fb-success-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    background: #f1f8f2;
    color: #2e7d32;
}

.fb-success-icon {
    flex: 0 0 auto;
    font-size: 22px;
}

.fb-success-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fb-success-content strong {
    font-size: 14px;
    font-weight: 600;
}

.fb-success-content span {
    font-size: 13px;
    color: #4f6f52;
}

/* ----------------------------------------
   Booking Error Message
---------------------------------------- */

.fb-booking-error {
    margin: 15px 0;
}

.fb-error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #f1b8b8;
    border-radius: 8px;
    background: #fff5f5;
    color: #c62828;
}

.fb-error-icon {
    flex: 0 0 auto;
    font-size: 22px;
}

.fb-error-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fb-error-content strong {
    font-size: 14px;
    font-weight: 600;
}

.fb-error-content span {
    font-size: 13px;
    color: #7f3b3b;
}

/* ==========================================================
   Inline Booking Details
========================================================== */

.fb-booking-details-inline {
    width: 100%;
    margin: -1px 0 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-sizing: border-box;
}

.fb-booking-details-inner {
    padding: 24px;
}


/* Header */

.fb-inline-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.fb-inline-details-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8f98;
}

.fb-inline-details-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.fb-close-inline-details {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #f4f5f7;
    color: #555b65;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Grid */

.fb-inline-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fb-inline-detail-item {
    min-width: 0;
    padding: 16px;
    background: #f8f9fb;
    border-radius: 10px;
}

.fb-inline-detail-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    color: #858b95;
}

.fb-inline-detail-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #242830;
}

.fb-inline-detail-item small {
    display: block;
    margin-top: 6px;
    color: #777d87;
    font-size: 12px;
}

.fb-inline-detail-item small i {
    margin-right: 5px;
}


/* Status */

.fb-inline-status {
    display: inline-block !important;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px !important;
    text-transform: capitalize;
}


/* Actions */

.fb-inline-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eceef1;
}

.fb-inline-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #dfe2e7;
    border-radius: 8px;
    background: #ffffff;
    color: #343941;
    font-size: 13px;
    cursor: pointer;
}


/* Loading */

.fb-booking-details-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #777d87;
    font-size: 14px;
}


/* Error */

.fb-booking-details-error {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b42318;
    font-size: 14px;
}


/* Active View Details */

.fb-view-booking.active {
    font-weight: 600;
}


/* Responsive */

@media (max-width: 900px) {

    .fb-inline-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .fb-booking-details-inner {
        padding: 18px;
    }

    .fb-inline-details-grid {
        grid-template-columns: 1fr;
    }

    .fb-inline-details-actions {
        flex-direction: column;
    }

    .fb-inline-action {
        width: 100%;
        justify-content: center;
    }

}

/* ==========================================================
   END OF FILE
========================================================== */

/* ==========================================================
   FRANCHERRY BOOKING UI/UX POLISH
   Append-only overrides
========================================================== */

:root{
    --fb-whatsapp:#25D366;
}

/* Filter pills */
.fb-bookings-filters button:hover{
    background:#000000;
    color:#FFFFFF;
}

.fb-bookings-filters button.active{
    background:#C89B3C;
    color:#000000;
    border:1px solid #000000;
    box-shadow:none;
}

/* New Booking */
.fb-new-booking{
    border:1px solid #000000;
    background:#C89B3C;
    color:#000000;
    box-shadow:none;
}

.fb-new-booking:hover{
    background:#000000;
    color:#FFFFFF;
    border-color:#000000;
    box-shadow:none;
}

/* Search */
#fb-booking-search:focus{
    border-color:#000000;
    box-shadow:0 0 0 3px rgba(200,155,60,.16);
}

/* View Details */
.fb-view-booking{
    border:1px solid #000000;
    background:#FFFFFF;
    color:#000000;
    transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease;
}

.fb-view-booking:hover,
.fb-view-booking.active{
    background:#000000;
    color:#FFFFFF;
    border-color:#000000;
}

/* Inline details */
.fb-inline-details-eyebrow{
    color:#C89B3C;
    font-weight:700;
}

.fb-close-inline-details{
    width:36px;
    height:36px;
    border:1px solid #000000;
    border-radius:9px;
    background:#FFFFFF;
    color:#000000;
    transition:background .2s ease,color .2s ease;
}

.fb-close-inline-details:hover{
    background:#000000;
    color:#FFFFFF;
}

.fb-inline-detail-item{
    border:1px solid #E5E5E5;
}

.fb-inline-detail-label{
    font-weight:600;
    color:#666666;
}

.fb-inline-detail-item small i{
    color:#000000;
}

/* Actions */
.fb-inline-details-actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    border-top:1px solid #E5E5E5;
}

.fb-inline-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #000000;
    border-radius:9px;
    background:#FFFFFF;
    color:#000000;
    font-weight:600;
    line-height:1.2;
    transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease;
}

.fb-inline-action:hover:not(:disabled){
    background:#000000;
    color:#FFFFFF;
    border-color:#000000;
    transform:translateY(-1px);
}

.fb-inline-action:disabled{
    opacity:.6;
    cursor:not-allowed;
    transform:none;
}

.fb-inline-approve{
    background:#C89B3C;
    color:#000000;
    border-color:#000000;
}

.fb-inline-approve:hover:not(:disabled){
    background:#000000;
    color:#FFFFFF;
}

.fb-inline-cancel,
.fb-inline-reschedule{
    background:#FFFFFF;
    color:#000000;
    border-color:#000000;
}

.fb-inline-message{
    background:#25D366;
    color:#FFFFFF;
    border-color:#25D366;
}

.fb-inline-message:hover:not(:disabled){
    background:#1DA851;
    color:#FFFFFF;
    border-color:#1DA851;
}

.fb-inline-message i{
    color:#FFFFFF;
}

/* Mobile */
@media (max-width:768px){
    .fb-bookings-filters{
        width:100%;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        overflow:visible;
        flex-wrap:initial;
        padding-bottom:0;
    }

    .fb-bookings-filters button{
        width:100%;
        min-height:42px;
        white-space:normal;
        flex-shrink:1;
    }

    .fb-booking-card{
        padding:18px;
        gap:16px;
    }

    .fb-booking-right{
        width:100%;
        align-items:stretch;
        gap:10px;
    }

    .fb-view-booking{
        width:100%;
        min-height:46px;
    }

    .fb-booking-details-inner{
        padding:16px;
    }

    .fb-inline-details-header{
        margin-bottom:18px;
    }

    .fb-inline-details-header h3{
        font-size:18px;
    }

    .fb-inline-details-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .fb-inline-detail-item{
        padding:14px;
    }

    .fb-inline-details-actions{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        margin-top:18px;
        padding-top:16px;
    }

    .fb-inline-action{
        width:100%;
        min-height:48px;
        padding:10px 8px;
        font-size:13px;
        justify-content:center;
        white-space:normal;
    }
}

@media (max-width:480px){
    .fb-inline-details-actions{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* ==========================================================
   FRANCHERRY BOOKINGS — SCREENSHOT MATCH
   Final UI colour/style override
========================================================== */


/* ==========================================================
   ACTIVE FILTER
========================================================== */

.fb-bookings-filters button.active {
    background: #C89B3C !important;
    color: #000000 !important;
    border: 1px solid #C89B3C !important;
    box-shadow: none !important;
}


/* Inactive filters */

.fb-bookings-filters button {
    background: #FFFFFF !important;
    color: #555555 !important;
    border: 1px solid transparent !important;
}


/* Filter hover */

.fb-bookings-filters button:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}


/* ==========================================================
   NEW BOOKING
========================================================== */

.fb-new-booking {
    background: #C89B3C !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
}

.fb-new-booking:hover,
.fb-new-booking:focus {
    background: #C89B3C !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================
   VIEW DETAILS
========================================================== */

.fb-view-booking {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.fb-view-booking:hover,
.fb-view-booking:focus,
.fb-view-booking.active {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}


/* View Details icon */

.fb-view-booking i {
    color: #FFFFFF !important;
}


/* ==========================================================
   INLINE BOOKING DETAILS ACTIONS
========================================================== */

.fb-inline-details-actions {
    border-top: 1px solid #E5E5E5 !important;
}


/* All action buttons */

.fb-inline-action {
    background: #000000 !important;
    color: #C89B3C !important;
    border: 1px solid #000000 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}


/* Action icons */

.fb-inline-action i {
    color: #C89B3C !important;
}


/* Hover — keep same visual style as screenshot */

.fb-inline-action:hover,
.fb-inline-action:focus {
    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================
   APPROVE
========================================================== */

.fb-inline-approve {
    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;
}

.fb-inline-approve i {
    color: #C89B3C !important;
}


/* ==========================================================
   CANCEL
========================================================== */

.fb-inline-cancel {
    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;
}

.fb-inline-cancel i {
    color: #C89B3C !important;
}


/* ==========================================================
   RESCHEDULE
========================================================== */

.fb-inline-reschedule {
    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;
}

.fb-inline-reschedule i {
    color: #C89B3C !important;
}


/* ==========================================================
   MESSAGE CUSTOMER — WHATSAPP
========================================================== */

.fb-inline-message {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
}

.fb-inline-message i {
    color: #FFFFFF !important;
}

.fb-inline-message:hover,
.fb-inline-message:focus {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
    box-shadow: none !important;
}


/* ==========================================================
   CLOSE INLINE DETAILS BUTTON
========================================================== */

.fb-close-inline-details {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
}

.fb-close-inline-details:hover,
.fb-close-inline-details:focus {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
}


/* ==========================================================
   INLINE DETAILS TEXT
========================================================== */

.fb-inline-details-eyebrow {
    color: #C89B3C !important;
}

.fb-inline-details-header h3 {
    color: #000000 !important;
}

.fb-inline-detail-label {
    color: #777777 !important;
}

.fb-inline-detail-item strong {
    color: #000000 !important;
}

.fb-inline-detail-item small {
    color: #777777 !important;
}

.fb-inline-detail-item small i {
    color: #000000 !important;
}


/* ==========================================================
   BOOKING CARD TEXT
========================================================== */

.fb-booking-customer-name {
    color: #000000 !important;
}

.fb-booking-phone {
    color: #7A7A7A !important;
}

.fb-booking-service {
    color: #C89B3C !important;
}

.fb-booking-date {
    color: #7A7A7A !important;
}

.fb-booking-service i {
    color: #C89B3C !important;
}

.fb-booking-date i {
    color: #000000 !important;
}


/* ==========================================================
   AVATAR
========================================================== */

.fb-booking-avatar {
    background: #C89B3C !important;
    color: #FFFFFF !important;
}


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

.fb-status-approved,
.fb-status-confirmed {
    background: #EAF7EF !important;
    color: #2F8750 !important;
}


/* ==========================================================
   MOBILE — ACTION BUTTONS
========================================================== */

@media (max-width: 600px) {

    .fb-inline-details-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .fb-inline-action {
        width: 100% !important;
        min-height: 46px !important;
        justify-content: center !important;
    }

}


@media (max-width: 420px) {

    .fb-inline-details-actions {
        grid-template-columns: 1fr 1fr !important;
    }

}

/* ==========================================================
   BOOKING DETAILS ICON FIX
========================================================== */

.fb-inline-action i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    font-size: 14px !important;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Normal action icons */
.fb-inline-approve i,
.fb-inline-cancel i,
.fb-inline-reschedule i {
    color: #C89B3C !important;
}

/* WhatsApp */
.fb-inline-message i {
    color: #FFFFFF !important;
}


/* Hover */
.fb-inline-action:hover i,
.fb-inline-action:focus i {
    color: #000000 !important;
}


/* WhatsApp hover */
.fb-inline-message:hover i,
.fb-inline-message:focus i {
    color: #000000 !important;
}

/* ==========================================================
   INLINE BOOKING DETAILS CLOSE
========================================================== */

.fb-close-inline-details {
    width: 36px !important;
    height: 36px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    background: #000000 !important;
    color: #FFFFFF !important;

    border: 1px solid #000000 !important;
    border-radius: 5px !important;

    cursor: pointer;
}

.fb-close-inline-details i {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;

    font-size: 15px !important;
    line-height: 1 !important;

    color: #FFFFFF !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fb-close-inline-details:hover {
    background: #C89B3C !important;
    border-color: #C89B3C !important;
    color: #000000 !important;
}

.fb-close-inline-details:hover i {
    color: #000000 !important;
}

/* ==========================================================
   RESCHEDULE BOOKING
========================================================== */

.fb-reschedule-panel {
    width: 100%;
    box-sizing: border-box;
}

.fb-reschedule-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 20px;
    padding-bottom: 18px;

    border-bottom: 1px solid #E5E5E5;
}

.fb-reschedule-header > div {
    min-width: 0;
}

.fb-reschedule-header .fb-inline-details-eyebrow {
    color: #C89B3C !important;
}

.fb-reschedule-header h3 {
    margin: 4px 0 0;
    color: #000000 !important;
    font-size: 20px;
    font-weight: 600;
}


/* Close button */

.fb-reschedule-close {
    width: 36px !important;
    height: 36px !important;

    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 36px;

    background: #000000 !important;
    color: #FFFFFF !important;

    border: 1px solid #000000 !important;
    border-radius: 5px !important;

    cursor: pointer;
}

.fb-reschedule-close i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 0 !important;

    font-size: 15px !important;
    line-height: 1 !important;

    color: #FFFFFF !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fb-reschedule-close:hover {
    background: #C89B3C !important;
    border-color: #C89B3C !important;
}

.fb-reschedule-close:hover i {
    color: #000000 !important;
}


/* Summary */

.fb-reschedule-summary {
    display: grid;

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

    gap: 12px;

    margin-bottom: 22px;
}

.fb-reschedule-summary > div {
    padding: 15px;

    background: #F8F9FB;

    border: 1px solid #E5E5E5;
    border-radius: 10px;
}

.fb-reschedule-summary span {
    display: block;

    margin-bottom: 6px;

    color: #777777;
    font-size: 12px;
}

.fb-reschedule-summary strong {
    color: #000000;
    font-size: 14px;
}


/* Form labels */

.fb-reschedule-form .fb-label {
    color: #000000 !important;
    font-weight: 600;
}


/* Date input */

.fb-reschedule-date {
    width: 100%;
    min-height: 48px;

    box-sizing: border-box;

    background: #FFFFFF !important;

    border: 1px solid #D8D8D8 !important;
    border-radius: 10px !important;

    color: #000000 !important;
}

.fb-reschedule-date:focus {
    border-color: #000000 !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(200, 155, 60, .14) !important;
}


/* Available-time area */

.fb-reschedule-slots {
    padding: 14px;

    background: #F8F9FB;

    border: 1px solid #E5E5E5;
    border-radius: 10px;
}


/* Reschedule slot buttons */

.fb-reschedule-slots .fb-reschedule-slot {
    background: #FFFFFF;
    color: #000000;

    border: 1px solid #000000;
    border-radius: 8px;
}

.fb-reschedule-slots .fb-reschedule-slot:hover {
    background: #000000;
    color: #FFFFFF;
}

.fb-reschedule-slots .fb-reschedule-slot.fb-slot-selected {
    background: #C89B3C !important;
    color: #000000 !important;

    border-color: #000000 !important;
}


/* Action area */

.fb-reschedule-actions {
    display: grid;

    grid-template-columns:
        1fr 1.5fr;

    gap: 10px;

    margin-top: 22px;
}


/* Cancel */

.fb-reschedule-cancel {
    min-height: 46px;

    background: #000000 !important;
    color: #C89B3C !important;

    border: 1px solid #000000 !important;
    border-radius: 8px !important;

    font-weight: 600;
}

.fb-reschedule-cancel i {
    color: #C89B3C !important;
}

.fb-reschedule-cancel:hover {
    background: #C89B3C !important;
    color: #000000 !important;
    border-color: #C89B3C !important;
}

.fb-reschedule-cancel:hover i {
    color: #000000 !important;
}


/* Confirm */

.fb-reschedule-confirm {
    min-height: 46px;

    background: #C89B3C !important;
    color: #000000 !important;

    border: 1px solid #000000 !important;
    border-radius: 8px !important;

    font-weight: 600;
}

.fb-reschedule-confirm:hover:not(:disabled) {
    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;
}

.fb-reschedule-confirm i {
    color: inherit !important;
}

/* ==========================================================
   FRANCHERRY ACTION CONFIRMATION MODAL
========================================================== */

.fb-action-confirm-overlay {
    position: fixed;

    inset: 0;

    z-index: 100000;

    display: flex;

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

    padding: 20px;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(2px);
}

.fb-action-confirm-modal {
    width: 100%;
    max-width: 430px;

    background: #FFFFFF;

    border-radius: 14px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22);

    overflow: hidden;

    animation: fbConfirmIn .18s ease;
}

@keyframes fbConfirmIn {

    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.fb-action-confirm-header {
    display: flex;

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

    gap: 15px;

    padding: 18px 20px;

    border-bottom: 1px solid #E8E8E8;
}

.fb-action-confirm-header h3 {
    margin: 0;

    color: #000000;

    font-size: 17px;
    font-weight: 700;
}

.fb-action-confirm-close {
    width: 32px;
    height: 32px;

    padding: 0;

    display: inline-flex;

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

    background: #000000;

    color: #FFFFFF;

    border: 1px solid #000000;

    border-radius: 5px;

    cursor: pointer;
}

.fb-action-confirm-close:hover {
    background: #C89B3C;
    border-color: #C89B3C;
    color: #000000;
}

.fb-action-confirm-body {
    padding: 22px 20px;

    color: #444444;

    font-size: 14px;

    line-height: 1.6;
}

.fb-action-confirm-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    padding: 0 20px 20px;
}

.fb-action-confirm-cancel,
.fb-action-confirm-submit {
    min-height: 42px;

    padding: 9px 18px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;
}

.fb-action-confirm-cancel {
    background: #FFFFFF;

    color: #000000;

    border: 1px solid #000000;
}

.fb-action-confirm-cancel:hover {
    background: #000000;
    color: #FFFFFF;
}

.fb-action-confirm-submit {
    background: #C89B3C;

    color: #000000;

    border: 1px solid #000000;
}

.fb-action-confirm-submit:hover {
    background: #000000;
    color: #C89B3C;
}


/* Mobile */

@media (max-width: 600px) {

    .fb-action-confirm-overlay {
        padding: 16px;
    }

    .fb-action-confirm-modal {
        max-width: 100%;
        border-radius: 12px;
    }

    .fb-action-confirm-actions {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .fb-action-confirm-cancel,
    .fb-action-confirm-submit {
        width: 100%;
    }

}

/* ==========================================================
   BOOKING ACTION SVG ICONS
========================================================== */

.fb-action-icon {
    width: 16px !important;
    height: 16px !important;

    min-width: 16px !important;

    display: block !important;

    flex: 0 0 16px;

    color: currentColor;

    fill: none;

    overflow: visible;
}

.fb-inline-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.fb-whatsapp-icon {
    width: 17px !important;
    height: 17px !important;
}


/* Normal */

.fb-inline-approve,
.fb-inline-cancel,
.fb-inline-reschedule {

    background: #000000 !important;
    color: #C89B3C !important;
    border-color: #000000 !important;

}


/* WhatsApp */

.fb-inline-message {

    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;

}


/* Hover */

.fb-inline-approve:hover,
.fb-inline-cancel:hover,
.fb-inline-reschedule:hover,
.fb-inline-message:hover {

    background: #C89B3C !important;
    color: #000000 !important;
    border-color: #C89B3C !important;

}


/* Disabled */

.fb-inline-action:disabled {

    opacity: .6;

    cursor: not-allowed;

}

.fb-inline-close-symbol {

    display: block;

    font-size: 23px;

    line-height: 1;

    font-weight: 400;

    color: currentColor;

}

.fb-action-confirm-close {

    width: 42px;

    height: 42px;

    padding: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #FFFFFF;

    color: #C89B3C;

    border: 1px solid #C89B3C;

    border-radius: 5px;

    cursor: pointer;

}

.fb-action-confirm-close:hover {

    background: #C89B3C;

    color: #000000;

    border-color: #C89B3C;

}

/* ==========================================================
   CONFIRMATION MODAL — FINAL STYLE
========================================================== */

.fb-action-confirm-overlay {
    position: fixed !important;
    inset: 0 !important;

    z-index: 100000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    background: rgba(0, 0, 0, .48) !important;
    backdrop-filter: blur(3px);
}


/* Modal */

.fb-action-confirm-modal {
    width: 100% !important;
    max-width: 430px !important;

    margin: 0 auto !important;

    background: #FFFFFF !important;

    border-radius: 14px !important;

    border: 1px solid #E5E5E5 !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22) !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


/* Header */

.fb-action-confirm-header {
    display: flex !important;

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

    gap: 15px !important;

    padding: 18px 20px !important;

    border-bottom: 1px solid #E8E8E8 !important;

    background: #FFFFFF !important;
}

.fb-action-confirm-header h4 {
    margin: 0 !important;

    color: #000000 !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}


/* Close */

.fb-action-confirm-close {
    width: 36px !important;
    height: 36px !important;

    padding: 0 !important;

    display: inline-flex !important;

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

    background: #000000 !important;

    color: #FFFFFF !important;

    border: 1px solid #000000 !important;

    border-radius: 6px !important;

    cursor: pointer !important;
}

.fb-action-confirm-close:hover {
    background: #C89B3C !important;

    color: #000000 !important;

    border-color: #C89B3C !important;
}

.fb-action-confirm-close .fb-inline-close-symbol {
    color: currentColor !important;

    font-size: 18px !important;

    line-height: 1 !important;
}


/* Body */

.fb-action-confirm-body {
    padding: 24px 20px !important;

    background: #FFFFFF !important;

    color: #444444 !important;

    font-size: 14px !important;

    line-height: 1.6 !important;
}

.fb-action-confirm-body p {
    margin: 0 !important;
}


/* IMPORTANT:
   JavaScript uses .fb-action-confirm-footer
*/

.fb-action-confirm-footer {
    display: flex !important;

    align-items: center !important;

    justify-content: flex-end !important;

    gap: 10px !important;

    padding: 0 20px 20px !important;

    background: #FFFFFF !important;
}


/* Both confirmation buttons */

.fb-action-confirm-footer button {
    min-height: 44px !important;

    padding: 10px 20px !important;

    border-radius: 8px !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1.2 !important;

    cursor: pointer !important;

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

    box-shadow: none !important;
}


/* Cancel */

.fb-action-confirm-footer .fb-action-confirm-cancel {
    background: #FFFFFF !important;

    color: #000000 !important;

    border: 1px solid #000000 !important;
}

.fb-action-confirm-footer .fb-action-confirm-cancel:hover {
    background: #C89B3C !important;

    color: #000000 !important;

    border-color: #C89B3C !important;
}


/* Confirm */

.fb-action-confirm-footer .fb-action-confirm-submit {
    background: #C89B3C !important;

    color: #000000 !important;

    border: 1px solid #000000 !important;
}

.fb-action-confirm-footer .fb-action-confirm-submit:hover {
    background: #000000 !important;

    color: #C89B3C !important;

    border-color: #000000 !important;
}


/* Mobile */

@media (max-width: 600px) {

    .fb-action-confirm-overlay {
        padding: 16px !important;
    }

    .fb-action-confirm-modal {
        max-width: 100% !important;

        border-radius: 12px !important;
    }

    .fb-action-confirm-header {
        padding: 16px !important;
    }

    .fb-action-confirm-header h4 {
        font-size: 18px !important;
    }

    .fb-action-confirm-body {
        padding: 20px 16px !important;
    }

    .fb-action-confirm-footer {
        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        gap: 8px !important;

        padding: 0 16px 16px !important;
    }

    .fb-action-confirm-footer button {
        width: 100% !important;
    }

}

/* ==========================================================
   FRANCHERRY MANAGER PORTAL
   NEW BOOKING DRAWER — BOOKING-SPECIFIC UI
   ----------------------------------------------------------
   Scope:
   #fb-new-booking-drawer

   Brand:
   Gold  #C89B3C
   Black #000000
========================================================== */


/* ==========================================================
   DRAWER CONTENT
========================================================== */

#fb-new-booking-drawer .fb-booking-form {
    width: 100%;
}


/* ==========================================================
   BOOKING SECTIONS
========================================================== */

#fb-new-booking-drawer .fb-booking-section {
    margin: 0 0 28px;
    padding: 0 0 28px;
    border-bottom: 1px solid #E8E8E8;
}

#fb-new-booking-drawer .fb-booking-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}


/* Section heading */

#fb-new-booking-drawer .fb-section-header {
    margin: 0 0 18px;
}

#fb-new-booking-drawer .fb-section-header h3 {
    margin: 0 0 6px;
    color: #000000;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

#fb-new-booking-drawer .fb-section-header p {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================
   CUSTOMER TYPE SWITCH
========================================================== */

#fb-new-booking-drawer .fb-customer-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

#fb-new-booking-drawer .fb-switch-option {
    position: relative;

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

    min-height: 46px;
    padding: 10px 14px;
    margin: 0;

    border: 1px solid #D8D8D8;
    border-radius: 9px;

    background: #FFFFFF;
    color: #555555;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

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

#fb-new-booking-drawer .fb-switch-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#fb-new-booking-drawer
.fb-switch-option:has(input:checked) {
    background: #C89B3C;
    color: #000000;
    border-color: #000000;
}

#fb-new-booking-drawer
.fb-switch-option:has(input:checked) span {
    color: #000000;
}


/* ==========================================================
   FORM GROUPS
========================================================== */

#fb-new-booking-drawer .fb-form-group {
    margin-bottom: 17px;
}

#fb-new-booking-drawer .fb-form-group:last-child {
    margin-bottom: 0;
}


/* Labels */

#fb-new-booking-drawer .fb-label {
    display: block;
    margin: 0 0 7px;

    color: #000000;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* ==========================================================
   FORM INPUTS
========================================================== */

#fb-new-booking-drawer .fb-input,
#fb-new-booking-drawer .fb-select,
#fb-new-booking-drawer .fb-textarea {

    width: 100%;
    box-sizing: border-box;

    background: #FFFFFF;
    color: #000000;

    border: 1px solid #D8D8D8;
    border-radius: 9px;

    font-size: 14px;

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

#fb-new-booking-drawer .fb-input,
#fb-new-booking-drawer .fb-select {
    min-height: 48px;
    padding: 12px 14px;
}

#fb-new-booking-drawer .fb-textarea {
    min-height: 120px;
    padding: 13px 14px;
    resize: vertical;
}

#fb-new-booking-drawer .fb-input::placeholder,
#fb-new-booking-drawer .fb-textarea::placeholder {
    color: #A0A0A0;
}

#fb-new-booking-drawer
.fb-input:focus,
#fb-new-booking-drawer
.fb-select:focus,
#fb-new-booking-drawer
.fb-textarea:focus {
    border-color: #000000;
    outline: none;

    box-shadow:
        0 0 0 3px rgba(200,155,60,.14);
}

#fb-new-booking-drawer
.fb-input:disabled,
#fb-new-booking-drawer
.fb-select:disabled {
    background: #F5F5F5;
    color: #999999;
    cursor: not-allowed;
}


/* ==========================================================
   CUSTOMER SEARCH
========================================================== */

#fb-new-booking-drawer .fb-customer-results {
    margin-top: 8px;

    border: 1px solid #E2E2E2;
    border-radius: 9px;

    background: #FFFFFF;
    overflow: hidden;
}

#fb-new-booking-drawer .fb-customer-item {
    padding: 12px 14px;

    border-bottom: 1px solid #EEEEEE;

    background: #FFFFFF;
    color: #000000;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}

#fb-new-booking-drawer
.fb-customer-item:last-child {
    border-bottom: 0;
}

#fb-new-booking-drawer
.fb-customer-item:hover {
    background: #F7F7F7;
}

#fb-new-booking-drawer .fb-customer-name {
    margin-bottom: 3px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

#fb-new-booking-drawer .fb-customer-phone,
#fb-new-booking-drawer .fb-customer-email {
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}


/* ==========================================================
   SELECTED CUSTOMER CARD
========================================================== */

#fb-new-booking-drawer .fb-selected-card {
    margin-top: 12px;
    padding: 15px;

    background: #F8F9FB;

    border: 1px solid #E3E3E3;
    border-radius: 10px;
}

#fb-new-booking-drawer
.fb-selected-card strong {
    display: block;
    margin-bottom: 4px;

    color: #000000;
    font-size: 15px;
}

#fb-new-booking-drawer
.fb-selected-card small {
    color: #777777;
}

#fb-new-booking-drawer
#fb-change-customer {
    margin-top: 12px !important;

    min-height: 40px;
    padding: 9px 14px;

    background: #000000;
    color: #C89B3C;

    border: 1px solid #000000;
    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 600;

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

#fb-new-booking-drawer
#fb-change-customer:hover {
    background: #C89B3C;
    color: #000000;
    border-color: #C89B3C;
}


/* ==========================================================
   TWO-COLUMN FORM GRID
========================================================== */

#fb-new-booking-drawer .fb-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* ==========================================================
   SERVICE SUMMARY
========================================================== */

#fb-new-booking-drawer .fb-service-summary {
    margin: 0 0 18px;
    padding: 16px;

    background: #F8F9FB;

    border: 1px solid #E3E3E3;
    border-radius: 10px;
}

#fb-new-booking-drawer
.fb-service-summary-title {
    margin-bottom: 13px;

    color: #C89B3C;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .07em;
}

#fb-new-booking-drawer
.fb-service-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#fb-new-booking-drawer
.fb-summary-label {
    display: block;
    margin-bottom: 5px;

    color: #777777;
    font-size: 11px;
}

#fb-new-booking-drawer
.fb-service-summary strong {
    color: #000000;
    font-size: 14px;
}


/* ==========================================================
   AVAILABLE TIME SLOTS
========================================================== */

#fb-new-booking-drawer .fb-slot-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#fb-new-booking-drawer .fb-slot {
    width: 100%;
    min-height: 44px;

    padding: 9px 7px;

    background: #FFFFFF;
    color: #000000;

    border: 1px solid #000000;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

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

#fb-new-booking-drawer .fb-slot:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

#fb-new-booking-drawer
.fb-slot.fb-slot-selected {
    background: #C89B3C !important;
    color: #000000 !important;
    border-color: #000000 !important;
}


/* ==========================================================
   PLACEHOLDERS
========================================================== */

#fb-new-booking-drawer .fb-placeholder {
    padding: 14px;

    background: #FAFAFA;

    border: 1px dashed #D8D8D8;
    border-radius: 9px;

    color: #888888;

    font-size: 13px;
    line-height: 1.5;

    text-align: center;
}


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

#fb-new-booking-drawer .fb-status-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#fb-new-booking-drawer
.fb-status-group label {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    margin: 0;
    padding: 8px 10px;

    background: #FFFFFF;
    color: #555555;

    border: 1px solid #D8D8D8;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

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

#fb-new-booking-drawer
.fb-status-group label:has(input:checked) {
    background: #C89B3C;
    color: #000000;
    border-color: #000000;
}

#fb-new-booking-drawer
.fb-status-group input {
    margin-right: 7px;
    accent-color: #000000;
}


/* ==========================================================
   SUCCESS / ERROR
========================================================== */

#fb-new-booking-drawer
.fb-booking-success,
#fb-new-booking-drawer
.fb-booking-error {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
}


/* ==========================================================
   FORM ACTIONS
========================================================== */

#fb-new-booking-drawer
.fb-form-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;

    align-items: stretch;

    margin-top: 10px;
    padding-top: 20px;

    border-top: 1px solid #E5E5E5;
}

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-secondary {
    width: 100%;
    min-height: 48px;

    padding: 11px 18px;

    background: #000000;
    color: #C89B3C;

    border: 1px solid #000000;
    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;

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

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-secondary:hover {
    background: #C89B3C;
    color: #000000;
    border-color: #C89B3C;
}

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-primary {
    width: 100%;
    min-height: 48px;

    padding: 11px 18px;

    background: #C89B3C;
    color: #000000;

    border: 1px solid #000000;
    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;

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

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-primary:hover {
    background: #000000;
    color: #C89B3C;
    border-color: #000000;
}

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}


/* ==========================================================
   MOBILE — 768px
========================================================== */

@media (max-width: 768px) {

    #fb-new-booking-drawer
    .fb-booking-section {
        margin-bottom: 24px;
        padding-bottom: 22px;
    }

    #fb-new-booking-drawer
    .fb-section-header {
        margin-bottom: 15px;
    }

    #fb-new-booking-drawer
    .fb-section-header h3 {
        font-size: 18px;
    }

    #fb-new-booking-drawer
    .fb-section-header p {
        font-size: 12.5px;
    }

    #fb-new-booking-drawer
    .fb-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #fb-new-booking-drawer
    .fb-customer-switch {
        grid-template-columns: 1fr;
    }

    #fb-new-booking-drawer
    .fb-service-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #fb-new-booking-drawer
    .fb-slot-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    #fb-new-booking-drawer
    .fb-slot {
        min-height: 44px;
        padding: 8px 4px;
        font-size: 12px;
    }

    #fb-new-booking-drawer
    .fb-status-group {
        grid-template-columns: 1fr;
    }

    #fb-new-booking-drawer
    .fb-form-actions {
        grid-template-columns: 1fr 1fr;
    }

    #fb-new-booking-drawer
    .fb-form-actions
    .fb-booking-success,

    #fb-new-booking-drawer
    .fb-form-actions
    .fb-booking-error {
        grid-column: 1 / -1;
    }

}


/* ==========================================================
   MOBILE — 420px
========================================================== */

@media (max-width: 420px) {

    #fb-new-booking-drawer
    .fb-slot-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #fb-new-booking-drawer
    .fb-form-actions {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   NEW BOOKING CANCEL BUTTON
========================================================== */

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #000000 !important;

    color: #C89B3C !important;

    border: 1px solid #000000 !important;

}

#fb-new-booking-drawer
.fb-form-actions
.fb-btn-secondary:hover {

    background: #C89B3C !important;

    color: #000000 !important;

    border-color: #C89B3C !important;

}

#fb-new-booking-drawer
.fb-booking-cancel-icon {

    width: 16px !important;

    height: 16px !important;

    min-width: 16px !important;

    display: block !important;

    color: currentColor !important;

    flex: 0 0 16px;

}

/* ==========================================================
   NEW BOOKING MESSAGE MODALS
   Success + Error
   FINAL LAYOUT
========================================================== */

#fb-new-booking-drawer .fb-booking-message-modal {

    position: absolute !important;

    inset: 0 !important;

    z-index: 999999 !important;

    width: 100% !important;

    height: 100% !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 20px !important;

    box-sizing: border-box !important;

}


/* ==========================================================
   BACKDROP
========================================================== */

#fb-new-booking-drawer .fb-booking-message-backdrop {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100% !important;

    background: rgba(0, 0, 0, .48) !important;

    backdrop-filter: blur(3px);

}


/* ==========================================================
   MODAL CARD
========================================================== */

#fb-new-booking-drawer .fb-booking-message-card {

    position: relative !important;

    z-index: 2 !important;

    display: block !important;

    width: 100% !important;

    max-width: 390px !important;

    max-height: calc(100% - 40px) !important;

    margin: 0 auto !important;

    padding: 30px 24px 22px !important;

    box-sizing: border-box !important;

    overflow-y: auto !important;

    background: #FFFFFF !important;

    border: 1px solid #E5E5E5 !important;

    border-radius: 14px !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .25) !important;

    text-align: center !important;

    float: none !important;

}


/*
Force every child to remain inside the
vertical modal layout.
*/

#fb-new-booking-drawer
.fb-booking-message-card > * {

    float: none !important;

    flex: none !important;

}


/* ==========================================================
   CLOSE BUTTON
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-close {

    position: absolute !important;

    top: 12px !important;

    right: 12px !important;

    z-index: 5 !important;

    width: 34px !important;

    height: 34px !important;

    min-width: 34px !important;

    min-height: 34px !important;

    padding: 0 !important;

    margin: 0 !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #000000 !important;

    color: #FFFFFF !important;

    border: 1px solid #000000 !important;

    border-radius: 6px !important;

    cursor: pointer !important;

    line-height: 1 !important;

}

#fb-new-booking-drawer
.fb-booking-message-close:hover {

    background: #C89B3C !important;

    color: #000000 !important;

    border-color: #C89B3C !important;

}

#fb-new-booking-drawer
.fb-booking-message-close span {

    display: block !important;

    width: auto !important;

    height: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    color: currentColor !important;

    font-size: 20px !important;

    line-height: 1 !important;

}


/* ==========================================================
   MODAL ICON
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-icon {

    width: 56px !important;

    height: 56px !important;

    min-width: 56px !important;

    min-height: 56px !important;

    margin: 0 auto 16px !important;

    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    border-radius: 50% !important;

    box-sizing: border-box !important;

}

#fb-new-booking-drawer
.fb-booking-message-icon svg {

    display: block !important;

    width: 28px !important;

    height: 28px !important;

    margin: 0 !important;

}


/* Success */

#fb-new-booking-drawer
.fb-booking-message-modal.success
.fb-booking-message-icon {

    background: #EAF7EF !important;

    color: #25B864 !important;

}


/* Error */

#fb-new-booking-drawer
.fb-booking-message-modal.error
.fb-booking-message-icon {

    background: #FFF0F0 !important;

    color: #D33B3B !important;

}


/* ==========================================================
   TITLE
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-card h3 {

    display: block !important;

    width: 100% !important;

    margin: 0 0 8px !important;

    padding: 0 !important;

    color: #000000 !important;

    font-size: 20px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;

    text-align: center !important;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-card > p {

    display: block !important;

    width: 100% !important;

    margin: 0 0 20px !important;

    padding: 0 !important;

    color: #666666 !important;

    font-size: 14px !important;

    line-height: 1.55 !important;

    text-align: center !important;

}


/* ==========================================================
   SUCCESS DETAILS
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-details {

    display: grid !important;

    grid-template-columns: 1fr !important;

    width: 100% !important;

    margin: 0 0 20px !important;

    padding: 15px !important;

    box-sizing: border-box !important;

    background: #F8F9FB !important;

    border: 1px solid #E5E5E5 !important;

    border-radius: 10px !important;

    gap: 9px !important;

    text-align: left !important;

}

#fb-new-booking-drawer
.fb-booking-message-details > div {

    display: flex !important;

    align-items: baseline !important;

    justify-content: space-between !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    gap: 12px !important;

    font-size: 13px !important;

    line-height: 1.4 !important;

}

#fb-new-booking-drawer
.fb-booking-message-details strong {

    color: #000000 !important;

    font-weight: 600 !important;

}

#fb-new-booking-drawer
.fb-booking-message-details span {

    color: #555555 !important;

    text-align: right !important;

}


/* ==========================================================
   ERROR MESSAGE
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-error {

    display: block !important;

    width: 100% !important;

    margin: 0 0 20px !important;

    padding: 14px 15px !important;

    box-sizing: border-box !important;

    background: #FFF7F7 !important;

    border: 1px solid #E8BABA !important;

    border-radius: 10px !important;

    color: #555555 !important;

    font-size: 14px !important;

    line-height: 1.55 !important;

    text-align: center !important;

}


/* ==========================================================
   OK / DONE BUTTON
========================================================== */

#fb-new-booking-drawer
.fb-booking-message-button {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    min-height: 46px !important;

    margin: 0 !important;

    padding: 10px 18px !important;

    box-sizing: border-box !important;

    background: #C89B3C !important;

    color: #000000 !important;

    border: 1px solid #000000 !important;

    border-radius: 8px !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    line-height: 1.2 !important;

    cursor: pointer !important;

    box-shadow: none !important;

}

#fb-new-booking-drawer
.fb-booking-message-button:hover {

    background: #000000 !important;

    color: #C89B3C !important;

    border-color: #000000 !important;

}


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

@media (max-width: 600px) {

    #fb-new-booking-drawer
    .fb-booking-message-modal {

        padding: 16px !important;

    }

    #fb-new-booking-drawer
    .fb-booking-message-card {

        max-width: 100% !important;

        max-height: calc(100% - 32px) !important;

        padding: 28px 18px 18px !important;

        border-radius: 12px !important;

    }

    #fb-new-booking-drawer
    .fb-booking-message-card h3 {

        font-size: 18px !important;

    }

    #fb-new-booking-drawer
    .fb-booking-message-details > div {

        display: block !important;

    }

    #fb-new-booking-drawer
    .fb-booking-message-details strong {

        display: block !important;

        margin-bottom: 2px !important;

    }

    #fb-new-booking-drawer
    .fb-booking-message-details span {

        display: block !important;

        text-align: left !important;

    }

}

/* ==========================================================
   HIDE OLD INLINE BOOKING MESSAGES
========================================================== */

#fb-new-booking-drawer #fb-booking-success,
#fb-new-booking-drawer #fb-booking-error {
    display: none !important;
}

/* ==========================================================
   NEW BOOKING FORM CANCEL BUTTON
   Override Universal Drawer Close Dimensions
========================================================== */

#fb-new-booking-drawer
.fb-form-actions
button.fb-drawer-close.fb-btn-secondary {

    width: 100% !important;

    height: auto !important;

    min-width: 0 !important;

    min-height: 48px !important;

    flex: 1 1 auto !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

    padding: 11px 18px !important;

    box-sizing: border-box !important;

    background: #000000 !important;

    color: #C89B3C !important;

    border: 1px solid #000000 !important;

    border-radius: 8px !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1.2 !important;

}

#fb-new-booking-drawer
.fb-form-actions
button.fb-drawer-close.fb-btn-secondary:hover {

    background: #C89B3C !important;

    color: #000000 !important;

    border-color: #C89B3C !important;

}


/* Cancel icon */

#fb-new-booking-drawer
.fb-form-actions
button.fb-drawer-close
.fb-booking-cancel-icon {

    width: 16px !important;

    height: 16px !important;

    min-width: 16px !important;

    min-height: 16px !important;

    flex: 0 0 16px !important;

    display: block !important;

    color: currentColor !important;

}

#fb-new-booking-drawer
.fb-form-actions
button.fb-drawer-close
.fb-booking-cancel-icon path {

    stroke: currentColor !important;

}

/* ==========================================================
   BOOKING DETAILS ACTIONS — MOBILE
   Equal 2 × 2 button layout
========================================================== */

@media (max-width: 768px) {

    .fb-inline-details-actions {

        display: grid !important;

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

        gap: 8px !important;

        width: 100% !important;

    }

    .fb-inline-details-actions
    .fb-inline-action {

        width: 100% !important;

        min-width: 0 !important;

        min-height: 46px !important;

        margin: 0 !important;

        padding: 10px 8px !important;

        box-sizing: border-box !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 7px !important;

        white-space: nowrap !important;

    }

    .fb-inline-details-actions
    .fb-inline-action
    .fb-action-icon {

        width: 16px !important;

        height: 16px !important;

        min-width: 16px !important;

        min-height: 16px !important;

        flex: 0 0 16px !important;

        display: block !important;

    }

}

/* ==========================================================
   PUSH NOTIFICATION DEEP-LINK TARGET
========================================================== */

.fb-booking-card.fb-booking-deep-link-target {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    animation: fbBookingDeepLinkPulse 1.2s ease-in-out 2;
}

@keyframes fbBookingDeepLinkPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.012);
    }
}
