.smartbooking-shell {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    background: #fff;
}

.smartbooking-shell .panel-heading {
    border-bottom: 0;
}

.smartbooking-hero {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

.smartbooking-hero h2 {
    margin: 5px 0 15px;
    font-weight: 600;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

.hero-subtitle {
    margin: 0 0 15px;
    font-size: 15px;
    opacity: 0.9;
}

.smartbooking-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.hero-action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
}

.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.smartbooking-body {
    background: #f4f6fb;
    padding-top: 25px;
}

.smartbooking-search {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.smartbooking-search__intro {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    color: #475569;
}

.smartbooking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.smartbooking-form .form-group {
    display: flex;
    flex-direction: column;
    min-width: 160px;
    margin-bottom: 0;
}

.smartbooking-form label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.smartbooking-form .form-control {
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    box-shadow: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.smartbooking-form select.form-control {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-width='2' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) 50%;
    padding-right: 35px;
}

.smartbooking-submit {
    justify-content: flex-end;
    align-items: flex-end;
}

.smartbooking-submit .btn {
    border-radius: 999px;
    padding: 10px 24px;
}

.smartbooking-results {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.smartbooking-view-switch {
    margin-top: 15px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
}

.view-switch-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 600;
}

.view-switch-buttons {
    display: inline-flex;
    gap: 10px;
}

.view-switch-btn {
    border: 1px solid #e0e7ff;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 10px rgba(15, 23, 42, 0.08);
}

.view-switch-btn.is-active {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.view-switch-btn:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.smartbooking-category-filter {
    margin-top: 15px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-filter__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.category-filter__label small {
    text-transform: none;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #cbd5f5;
}

.category-filter__control--badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-filter__btn {
    border: 1px solid #e0e7ff;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-filter__btn.is-active {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.category-filter__count {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
}

.category-filter__control--dropdown select {
    border-radius: 999px;
    border: 1px solid #cbd5f5;
    padding: 8px 16px;
    font-size: 13px;
}

.smartbooking-results .slot-view {
    display: none;
}

.smartbooking-results.is-view-list .slot-view--list,
.smartbooking-results.is-view-item .slot-view--item,
.smartbooking-results.is-view-calendar-weekly .slot-view--calendar-weekly,
.smartbooking-results.is-view-calendar-monthly .slot-view--calendar-monthly {
    display: block;
}

.smartbooking-table thead tr td {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-bottom: 1px solid #e5e7eb;
}

.smartbooking-table tbody tr td {
    vertical-align: middle;
    font-size: 13px;
}

.slot-item-category {
    min-width: 180px;
}

.slot-item-category__name {
    display: block;
    font-weight: 600;
    color: #0f172a;
}

.slot-item-category__meta {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.smartbooking-table--compact tbody tr td {
    padding: 10px 12px;
}

.slot-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.slot-item-day {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.slot-item-day__header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slot-item-day__dow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #6366f1;
    font-weight: 600;
}

.slot-item-day__date {
    font-size: 18px;
    color: #0f172a;
}

.slot-item-day__list {
    list-style: none;
    margin: 0;
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slot-item-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    gap: 15px;
    background: #f8fafc;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.slot-item-card:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
}

.slot-item-card__time {
    min-width: 110px;
    font-weight: 700;
    color: #312e81;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.slot-item-card__dash {
    width: 12px;
    height: 2px;
    background: rgba(49, 46, 129, 0.35);
    display: inline-block;
}

.slot-item-card__title {
    font-size: 15px;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.slot-item-card__description {
    margin: 0;
    font-size: 13px;
    color: #475569;
}

.slot-item-card__meta {
    margin-top: 8px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.slot-item-card__badge {
    background: rgba(79, 70, 229, 0.12);
    color: #312e81;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.slot-item-card__capacity {
    font-size: 11px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-weekly,
.calendar-monthly {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.calendar-block__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    gap: 15px;
    flex-wrap: wrap;
}

.calendar-block__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-block__header--with-nav {
    align-items: center;
}

.calendar-nav {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.calendar-nav__btn {
    border: 1px solid rgba(79, 70, 229, 0.35);
    background: #fff;
    color: #4f46e5;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 12px rgba(79, 70, 229, 0.2);
}

.calendar-nav__btn:hover {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    color: #fff;
}

.calendar-nav__selects {
    display: inline-flex;
    gap: 8px;
}

.calendar-nav__select {
    border-radius: 999px;
    border: 1px solid #e0e7ff;
    padding: 6px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    background: #fff;
    box-shadow: 0 5px 10px rgba(15, 23, 42, 0.08);
}

.calendar-grid {
    width: 100%;
}

.calendar-grid--weekly {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.calendar-grid--monthly {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-grid__daynames {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.calendar-grid__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-grid__cell {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    min-height: 140px;
    position: relative;
}

.calendar-grid__cell.is-today {
    border-color: #6366f1;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.15);
}

.calendar-grid__cell.is-muted {
    opacity: 0.6;
}

.calendar-grid__cell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calendar-grid__dow {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.calendar-grid__date {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.calendar-grid__slots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.calendar-slot {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.calendar-slot__time {
    font-weight: 600;
    color: #312e81;
}

.calendar-slot__title {
    color: #475569;
    font-size: 12px;
}

.calendar-slot__category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px dashed #e2e8f0;
    margin-top: 4px;
    padding-top: 4px;
    color: #475569;
}

.calendar-slot__category-name {
    font-weight: 600;
    color: #312e81;
}

.calendar-slot__category-meta {
    color: #94a3b8;
}

.smartbooking-pagination {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.smartbooking-pagination__status {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.smartbooking-pagination nav {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 0;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.status-card {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.status-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #6366f1;
    display: block;
    margin-bottom: 4px;
}

.status-card strong {
    font-size: 20px;
    color: #0f172a;
}

.status-aux {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.smartbooking-pagination__progress {
    position: relative;
    background: #e0e7ff;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.smartbooking-pagination__progress .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5, #22d3ee);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
    transition: width 0.2s ease;
}

.smartbooking-pagination__progress .progress-label {
    position: absolute;
    right: 0;
    top: -22px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
}

.smartbooking-pagination .pagination-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.smartbooking-pagination .pagination-list {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 18px 24px;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #fff);
}

.smartbooking-pagination .pagination-list.scrollable {
    border-bottom: 1px solid #e5e7eb;
}

.smartbooking-pagination .pagination-item {
    margin: 0;
    list-style: none;
}

.smartbooking-pagination .pagination-item a,
.smartbooking-pagination .pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-left: none;
    background: transparent;
    color: #312e81;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.smartbooking-pagination .pagination-item:first-child a,
.smartbooking-pagination .pagination-item:first-child span {
    border-left: 1px solid transparent;
    border-radius: 12px 0 0 12px;
}

.smartbooking-pagination .pagination-item:last-child a,
.smartbooking-pagination .pagination-item:last-child span {
    border-radius: 0 12px 12px 0;
}

.smartbooking-pagination .pagination-item a::after,
.smartbooking-pagination .pagination-item span::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 10px;
    background: transparent;
    transition: background 0.2s ease;
    z-index: -1;
}

.smartbooking-pagination .pagination-item a:hover::after {
    background: rgba(79, 70, 229, 0.12);
}

.smartbooking-pagination .pagination-item a:hover {
    color: #312e81;
}

.smartbooking-pagination .pagination-item.active a,
.smartbooking-pagination .pagination-item.active span {
    color: #fff;
    border-color: transparent;
    font-weight: 700;
}

.smartbooking-pagination .pagination-item.active a::after,
.smartbooking-pagination .pagination-item.active span::after {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
}

.smartbooking-pagination .well {
    background: #f8fbff;
    border: 1px solid #e0e7ff;
    border-radius: 0 0 16px 16px;
    margin: 0;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    color: #475569;
}

.smartbooking-pagination .well .pull-left {
    float: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #312e81;
}

.smartbooking-pagination .well .pull-left span {
    color: inherit !important;
    letter-spacing: 0.02em;
}

.smartbooking-pagination .well .pull-right {
    float: none;
    display: flex;
    align-items: center;
}

.smartbooking-pagination .well a.btn {
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
    border: 0;
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    margin: 0;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.smartbooking-pagination .well a.btn:hover {
    background: linear-gradient(135deg, #4338ca, #1fbad6);
    transform: translateY(-1px);
}

.smartbooking-pagination .well a.btn:active {
    transform: translateY(0);
}

.smartbooking-pagination .well a.btn.disabled,
.smartbooking-pagination .well a.btn[disabled] {
    background: #e2e8f0;
    color: #94a3b8 !important;
    box-shadow: none;
    cursor: not-allowed;
}

.smartbooking-pagination .well .text-primary {
    color: #6b7280 !important;
}

.smartbooking-pagination .clearfix {
    display: flex !important;
}

@keyframes smartbooking-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .hero-actions {
        width: 100%;
    }

    .smartbooking-body {
        padding: 15px;
    }

    .smartbooking-search {
        padding: 15px;
    }

    .smartbooking-view-switch {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filter__control--badges,
    .slot-item-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .smartbooking-table--compact tbody tr td {
        font-size: 12px;
    }

    .calendar-grid--weekly {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .calendar-grid__week {
        gap: 4px;
    }

    .calendar-grid__cell {
        min-height: 110px;
    }

    .smartbooking-pagination__status {
        flex-direction: column;
    }

    .smartbooking-pagination .pagination-list {
        padding: 12px 10px;
        gap: 6px;
    }

    .smartbooking-pagination .pagination-item a,
    .smartbooking-pagination .pagination-item span {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
        padding: 0 6px;
    }

    .smartbooking-pagination .well {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }

    .smartbooking-pagination .well .pull-left,
    .smartbooking-pagination .well .pull-right {
        width: 100%;
        justify-content: center;
    }

    .smartbooking-pagination__progress .progress-label {
        position: static;
        display: block;
        text-align: right;
        margin-top: 6px;
    }
}
