.booking-hero {
    padding: 100px 0;
}

.booking-user-widget {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-user-widget .avatar {
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.user-text {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--gray-color);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 500;
    max-width: 600px;
    color: var(--gray-color);
    margin: 20px 0 30px;
}

.hero-subtitle a {
    color: #8a8a8a;
    text-decoration: underline;
}
.hero-subtitle a:hover {
    color: var(--text-color);
}

.spots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray-color);
}

.dot {
    width: 10px;
    height: 10px;
    background: orange;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 6px 2px rgba(255, 165, 0, 0.4);
}

.booking-meet .booking-grid {
    width: fit-content;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04),
    0 6px 18px rgba(20, 20, 20, 0.04);
}
.booking-panel{
    width: 30%;
    min-width: 300px;
}
.booking-panel.customer-panel,
.booking-panel.calendar-wrap{
    flex: 1;
}
.booking-panel.success-panel{
    width: 100%;
}
.booking-panel__inner{
    height: 100%;
    background: #fff;
    padding: 0.75rem 1.25rem;
    overflow: hidden;
    box-sizing: border-box;
    border-right: 1px solid #f0f0f0;
}
@media (max-width: 1024px) {
    .booking-panel {
        width: 100%;
    }
    .booking-panel.success-panel,
    .booking-panel.customer-panel,
    .booking-panel.calendar-wrap{
        width: 100%;
        min-width: auto;
    }
    .booking-panel.time-column,
    .booking-panel.calendar-wrap{
        display: block !important;
    }
    .booking-panel.customer-panel{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255);
        z-index: 99;
        box-sizing: border-box;
        overflow-y: auto;
    }
    .booking-panel.customer-panel .booking-panel__inner{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        height: auto;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04),
        0 6px 18px rgba(20, 20, 20, 0.04);
        border-radius: 8px;
    }
    .booking-panel__inner{
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
}

.booking-panel:last-child .booking-panel__inner{
    border-right: none;
}
.company-info .logo-link{
    display: inline-block;
    width: fit-content;
}
.company-info img {
    display: block;
    width: 48px;
    height: auto;
    object-fit: contain;
}
.company-info h3.name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}
.company-info p {
    font-size: 0.875rem;
}
.meta-row .meta-label {
    font-size: 0.875rem;
}
.meta-row .meta-text{
    font-size: 0.875rem;
    color: var(--text-color);
}
.view-toggle,
.duration-pills {
    background-color: rgb(243, 244, 246);
    border-radius: 10px;
    transform-origin: 50% 50% 0px;
    padding: 4px;
    gap: 8px;
}
.view-toggle button,
.duration-pills .pill {
    appearance:none;
    -webkit-appearance:none;
    background-color: rgb(243, 244, 246);
    flex-flow: row;
    place-content: center;
    align-items: center;
    flex: 1;
    font-size: 0.875rem;
    color: var(--gray-color);
    border-radius: 10px;
    height: min-content;
    padding: 6px 12px;
    display: flex;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    border:1px solid rgb(243, 244, 246);
}
.view-toggle button:hover,
.duration-pills .pill:hover { background:#eef2f7; }
.duration-pills .pill:focus { outline:none; }
.duration-pills .pill.active {
    background:#ffffff;
    border:1px solid #e6e6e6;
    color: var(--text-color);
}
/* CENTER: calendar styling improved */
.calendar-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.calendar-header {
    padding-bottom: 8px;
    border-bottom: 1px solid #f2f2f2;
}

.calendar-title {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.calendar-nav button {
    background: transparent;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 8px;
    font-size: 0.75rem;
    overflow: hidden;
    border-radius: 8px;
}
.calendar-nav button:hover{
    background: #f5f6f7;
    color: var(--text-color);
}

.weekday-row {
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(7, calc((100% - 6 * 6px) / 7));
    color: var(--text-color);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 10px;
    flex: 1 1 auto;
    font-weight: 500;
}
.weekday-row > div{
    width: 100%;
    height: 100%;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, calc((100% - 6 * 6px) / 7));
    grid-auto-rows: 64px;
    justify-items: center;
    align-items: center;
    flex: 1 1 auto;
    gap: 6px;
}

.day-cell {
    font-size: 0.8rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    color: #111;
    cursor: pointer;
    transition: all .18s ease;
    position: relative;
}

.day-cell.inactive {
    color: var(--gray-color);
    cursor: default;
    font-weight: 300;
    background: transparent;
}

.day-cell.available {
    background: #f5f6f7;
    color: var(--text-color);
}

.day-cell.selected {
    background: var(--black-color);
    color: var(--white-color);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.12);
}

/* small dot under selected day */
.day-cell.today::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    opacity: .95;
}
.day-cell.selected.today::after{
    background: #fff;
}

/* RIGHT column separation and time list styling */

.time-list {
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
    max-height: 420px;
}

.time-slot-btn {
    background: var(--white-color);
    border: 1px solid #eee;
    padding: 0.5rem 0.625rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: all .14s ease;
    color: var(--text-color);
    font-size: 0.8rem ;
}

.time-slot-btn:hover {
    border-color: var(--gray-color) ;
    background: var(--white-milk-color);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}
.time-slot-btn.inactive {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
    filter: grayscale(8%);
    box-shadow: none;
}
.time-slot-btn.inactive.selected {
    background: #f5f6f7;
    color: var(--text-color);
}

.time-slot-btn.selected {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* customer panel */
.customer-panel {
    display: none;
}

/* form controls look */
.form-row label {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    border: 1px solid #e6e6e6;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.875rem;
    outline: none;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.03);
    background: #fff;
}

.form-row textarea {
    min-height: 100px;
    resize: vertical;
}
.guest-chip {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    padding: 6px 10px;
    background: #f3f4f6;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    color: #222;
}

.guest-chip .remove-guest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    border-radius: 50%;
    background: transparent;
    color: var(--gray-color);
    cursor: pointer;
    font-weight: 500;
    border: none;
}

.guest-input-row input[type="text"] {
    flex: 1;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
}

.add-guest-btn {
    background: transparent;
    border: none;
    color: var(--link-color);
    cursor: pointer;
    font-size: 0.75rem;
}

.form-actions {
    justify-content: flex-end;
}
.form-actions button{
    font-size: 0.875rem;
    padding: 8px 12px;
    border-radius: 8px;
}
.btn-back {
    background: transparent;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
}
.btn-back:hover {
    color: var(--text-color);
    background: #f5f6f7;
}
.btn-submit {
    background: var(--black-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
}

.small-note {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .booking-meet .booking-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .booking-panel {
        height: auto;
    }

    .company-info {
        border-right: none;
    }

    .time-column {
        border-left: none;
        padding-left: 0;
    }
}