/* plan.css - Stepper Layout Styling */
.header{
    z-index: 999;
}

/* -- Header User/Dashboard Styles -- */
.text-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.text-icon a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.text-icon a i {
    font-size: 16px;
    color: #4f46e5;
    transition: transform 0.3s ease;
}

.text-icon a:hover {
    background: #ffffff;
    color: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(79, 70, 229, 0.15);
}

.text-icon a:hover i {
    transform: scale(1.2) rotate(5deg);
}

.text-icon a.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.text-icon a.btn-primary i {
    color: #ffffff;
}

.text-icon a.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.4);
}

#btnBackToPlan:hover {
    background: #f5f3ff !important;
    border-color: #4338ca !important;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
}

.text-icon a span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.logo img {
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.02);
}
.plan-stepper-section {
    position: relative;
    z-index: 10;
}

.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
    --progress-percent: 0;
}

.stepper-wrapper::before,
.stepper-wrapper::after {
    content: "";
    position: absolute;
    /* 20px padding-top + 22.5px (half of 45px counter height) */
    top: 42.5px;
    /* (100% / 5 items) / 2 = 10% to center at the first item */
    left: 10%; 
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
}

.stepper-wrapper::before {
    /* (100% - 10% - 10%) center to center */
    width: 80%;
    height: 4px;
    background-color: #e2e8f0;
    z-index: 1;
}

.stepper-wrapper::after {
    width: calc(80% * var(--progress-percent) / 100);
    height: 4px;
    background-color: var(--theme-color-1, #055078);
    z-index: 2;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 3;
}

.step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 18px;
    margin-bottom: 12px;
    border: 4px solid #ffffff; 
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-name {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    transition: all 0.3s ease;
}

/* Completed State */
.stepper-item.completed .step-counter {
    background-color: var(--theme-color-1, #055078);
    color: #ffffff;
    border-color: #ffffff;
}

.stepper-item.completed .step-name {
    color: var(--theme-color-1, #055078);
}

/* Active State */
.stepper-item.active .step-counter {
    background-color: var(--theme-color-1, #055078);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(5, 80, 120, 0.25);
    border-color: #ffffff;
}

.stepper-item.active .step-name {
    color: var(--theme-color-1, #055078);
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .step-name {
        font-size: 11px;
    }
    .step-counter {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .stepper-wrapper::before,
    .stepper-wrapper::after {
        /* 20px padding-top + 19px (half of 38px counter height) */
        top: 39px;
    }
}

@media (max-width: 576px) {
    .stepper-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
    }
    
    .stepper-item {
        flex-direction: row;
        margin-bottom: 25px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .stepper-item:last-child {
        margin-bottom: 0;
    }

    .step-counter {
        margin-bottom: 0;
        margin-right: 20px;
        /* prevent icon scale from resizing parent flex */
        flex-shrink: 0; 
    }
    
    .step-name {
        text-align: left;
        font-size: 15px;
    }
    
    .stepper-wrapper::before,
    .stepper-wrapper::after {
        /* Align logic: 
           top = 20px (wrapper padding) + 19px (half of 38px counter) = 39px 
           left = 15px (wrapper padding) + 19px (half of 38px counter) - 2px (half of 4px progress line) = 32px 
        */
        top: 39px; 
        left: 32px; 
    }

    .stepper-wrapper::before {
        width: 4px;
        /* Center of top item to center of bottom item */
        height: calc(100% - 78px);
    }

    .stepper-wrapper::after {
        width: 4px;
        height: calc((100% - 78px) * var(--progress-percent) / 100);
    }
}


/* ================================================================
   SELECT PLAN – Step 1
   ================================================================ */

/* -- Plan Card -- */
.sp-plan-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.sp-plan-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.sp-plan-card.active {
    border-color: #2e7d32;
    background: #f1f8e9;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
}
#planCardMonthly.active {
    border-color: #055078;
    background: #f0f7fc;
    box-shadow: 0 4px 20px rgba(5, 80, 120, 0.1);
}

/* Radio */
.sp-plan-card__radio {
    padding-top: 4px;
    flex-shrink: 0;
}
.sp-plan-card__radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--theme-color-1, #055078);
    cursor: pointer;
}
.sp-plan-card.active .sp-plan-card__radio input[type="radio"] {
    accent-color: #2e7d32;
}
#planCardMonthly.active .sp-plan-card__radio input[type="radio"] {
    accent-color: #055078;
}


.sp-plan-card__body {
    flex: 1;
    min-width: 0;
}

/* Icon bubble */
.sp-plan-card__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.sp-plan-card__icon--blue {
    background: #e0f0ff;
    color: #055078;
}
.sp-plan-card__icon--green {
    background: #e8f5e9;
    color: #2e7d32;
}


/* Price */
.sp-plan-card__price {
    font-size: 36px;
    font-weight: 800;
    color: #055078;
    line-height: 1;
}
.sp-plan-card__price--green {
    color: #2e7d32;
}


/* Badge */
.sp-plan-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #2e7d32;

    color: #fff;
    white-space: nowrap;
}

/* Features list */
.sp-plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
}
.sp-plan-card__features li {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-plan-card__features li i {
    color: #34a853;
    font-size: 13px;
    flex-shrink: 0;
}

/* -- Configuration Section -- */
.sp-config-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

/* Config rows */
.sp-config-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
}

/* Counter group */
.sp-counter-group {
    flex-shrink: 0;
}
.sp-counter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}
.sp-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}
.sp-counter__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}
.sp-counter__btn:hover {
    background: #e2e8f0;
    color: #0b3558;
}
.sp-counter__input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: #0b3558;
    padding: 6px 0;
    -moz-appearance: textfield;
    appearance: textfield;
}
.sp-counter__input::-webkit-outer-spin-button,
.sp-counter__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Config result box */
.sp-config-result {
    text-align: center;
    background: #f0f7fc;
    border: 2px solid var(--theme-color-1, #055078);
    border-radius: 12px;
    padding: 12px 24px;
    min-width: 150px;
}
.sp-config-result__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.sp-config-result__value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--theme-color-1, #055078);
    line-height: 1.1;
}
.sp-config-result__value--green {
    color: #2e7d32;
}

.sp-config-result__sub {
    display: block;
    font-size: 12px;
    color: #64748b;
}

/* -- Volume pricing -- */
.sp-volume-pricing {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
}
.sp-volume-tier {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 14px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-right: -1px;
    background: #f8fafc;
    transition: all 0.2s ease;
}
.sp-volume-tier:first-child { border-radius: 10px 0 0 10px; }
.sp-volume-tier:last-child { border-radius: 0 10px 10px 0; margin-right: 0; }
.sp-volume-tier--active {
    background: #e8f5e9;
    border-color: #2e7d32;

    z-index: 1;
    position: relative;
}
.sp-volume-tier__range {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}
.sp-volume-tier__price {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0b3558;
}
.sp-volume-tier__price small {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
}

/* -- Help bar -- */
.sp-help-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
}
.sp-help-bar__btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 2px solid #0b3558;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0b3558;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.sp-help-bar__btn:hover {
    background: #0b3558;
    color: #fff;
}

/* -- Order Summary -- */
.sp-order-summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sp-order-summary__header {
    background: #0b3558;
    color: #fff;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
}
.sp-order-summary__body {
    padding: 20px 24px;
}
.sp-order-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}
.sp-order-summary__total {
    font-size: 16px;
}
.sp-order-summary__total-price {
    font-size: 28px;
    font-weight: 800;
    color: #055078;
    line-height: 1;
}
.sp-order-summary__footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
}
.sp-order-summary__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #055078;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(5,80,120,0.3);
}
.sp-order-summary__cta:hover {
    background: #0d8dcc;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5,80,120,0.35);
}

/* Guarantee note */
.sp-guarantee-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
}

/* Included list */
.sp-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-included-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    padding: 3px 0;
}
.sp-included-list li i {
    color: #34a853;
    font-size: 12px;
    flex-shrink: 0;
}

/* -- Responsive -- */
@media (max-width: 991px) {
    .sp-order-summary {
        position: static !important;
    }
}
@media (max-width: 767px) {
    .sp-plan-card {
        padding: 16px;
    }
    .sp-plan-card__price {
        font-size: 28px;
    }
    .sp-config-row {
        padding: 16px;
    }
   
    .sp-config-result {
        width: 100%;
        margin-top: 8px;
    }
    .sp-volume-tier {
        min-width: 100px;
    }
    .sp-help-bar {
        text-align: center;
    }
    .sp-help-bar .d-flex {
        justify-content: center !important;
    }
}

/* ================================================================
   MOBILE FIXED BOTTOM BAR
   ================================================================ */
.sp-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    .sp-mobile-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .sp-mobile-bar__info {
        margin-bottom: 8px;
    }
    .sp-mobile-bar__total {
        font-size: 20px;
        font-weight: 800;
        color: #055078;
        line-height: 1;
    }
    .sp-mobile-bar__details {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .sp-mobile-bar__details span {
        font-size: 12px;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .sp-mobile-bar__details span i {
        font-size: 11px;
        color: #94a3b8;
    }
    .sp-mobile-bar__details span b {
        color: #0b3558;
    }
    .sp-mobile-bar__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(135deg, #055078, #0a7cb5);
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 4px 14px rgba(5,80,120,0.3);
    }
    .sp-mobile-bar__cta:hover {
        background: linear-gradient(135deg, #066a9d, #0d8dcc);
    }

    /* Add padding to body so content isn't hidden behind the bar */
    #stepContentArea {
        padding-bottom: 120px;
    }
}

/* ================================================================
   PPO PLAN SELECTION CARDS
   ================================================================ */

/* Grid layout */
.sp-ppo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .sp-ppo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .sp-ppo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Checkbox card */
.sp-checkbox-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.sp-checkbox-card input[type="checkbox"] {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 18px;
    height: 18px;
    accent-color: #055078;
    z-index: 2;
    cursor: pointer;
}

.sp-checkbox-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 12px 14px;
    min-height: 110px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.25s ease;
    gap: 8px;
}

.sp-checkbox-card:hover .sp-checkbox-card__body {
    border-color: #94a3b8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.sp-checkbox-card input[type="checkbox"]:checked ~ .sp-checkbox-card__body {
    border-color: #055078;
    background: #f0f7fc;
    box-shadow: 0 4px 20px rgba(5,80,120,0.10);
}

/* Logo image */
.sp-checkbox-card__logo {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
}

/* Icon placeholder when no logo */
.sp-checkbox-card__icon-placeholder {
    font-size: 28px;
    color: #055078;
    opacity: 0.6;
}

/* Name text */
.sp-checkbox-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    word-break: break-word;
}

/* "+" Add card variant */
.sp-checkbox-card--add {
    cursor: pointer;
}

.sp-checkbox-card__body--add {
    border-style: dashed;
    border-color: #94a3b8;
    background: #f8fafc;
}

.sp-checkbox-card--add:hover .sp-checkbox-card__body--add {
    border-color: #055078;
    background: #f0f7fc;
}

.sp-checkbox-card__add-icon {
    font-size: 24px;
    color: #055078;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0f0ff;
    transition: all 0.2s ease;
}

.sp-checkbox-card--add:hover .sp-checkbox-card__add-icon {
    background: #055078;
    color: #fff;
    transform: scale(1.1);
}

/* Dynamic card added from popup */
.sp-checkbox-card--dynamic {
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -- Onboarding Progress Bar -- */
.ob-progress-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ob-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.ob-progress-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ob-progress-percentage {
    font-size: 15px;
    font-weight: 800;
    color: var(--theme-color-1, #055078);
}
.ob-progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.ob-progress-bar-fill {
    height: 100%;
    background-color: var(--theme-color-1, #055078);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Popup card checked state */
.sp-popup-plan-card input[type="checkbox"]:checked ~ .sp-checkbox-card__body {
    border-color: #055078;
    background: #f0f7fc;
}

/* Remove button for dynamic cards */
.sp-checkbox-card__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
}

.sp-checkbox-card:hover .sp-checkbox-card__remove {
    opacity: 1;
}

.sp-checkbox-card__remove:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

/* ================================================================
   ONBOARDING – Step 4 Layout
   ================================================================ */

/* -- Wrapper: sidebar + content -- */
.ob-wrapper {
    display: flex;
    gap: 28px;
    min-height: 520px;
}

/* -- Sidebar -- */
.ob-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.ob-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Nav item */
.ob-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.ob-nav__item:hover {
    background: #f1f5f9;
    color: #0b3558;
}

.ob-nav__item.active {
    background: linear-gradient(135deg, #055078, #0a7cb5);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5,80,120,0.20);
}

.ob-nav__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    font-size: 14px;
    flex-shrink: 0;
}

.ob-nav__item:not(.active) .ob-nav__icon {
    background: #f1f5f9;
}

.ob-nav__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sub-tabs */
.ob-sub-tabs {
    display: none;
    padding: 4px 0 6px 5px;
    margin-left: 15px;
    border-left: 1px solid #1d7cae;
    flex-direction: column;
    overflow: hidden;
    gap: 2px;
}

.ob-sub-tabs.show {
    display: flex;
    animation: obSlideDown 0.6s ease-out forwards;
}

@keyframes obSlideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ob-sub-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.ob-sub-tab:hover {
    background: #f1f5f9;
    color: #0b3558;
}

.ob-sub-tab.active {
    background: #e8f4fd;
    color: #055078;
    font-weight: 600;
}

.ob-sub-tab .ob-sub-tab__remove {
    margin-left: auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    padding: 0;
}

.ob-sub-tab:hover .ob-sub-tab__remove {
    opacity: 1;
}

.ob-sub-tab__remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

.ob-sub-tab--add {
    color: #0a7cb5;
    font-weight: 600;
    border: 1px dashed #94c5e4;
    margin-top: 4px;
}

.ob-sub-tab--add:hover {
    background: #e8f4fd;
    color: #055078;
    border-color: #055078;
}

/* -- Content area -- */
.ob-content {
    flex: 1;
    min-width: 0;
}

.ob-tab-content {
    display: none;
    animation: obFadeIn 0.3s ease;
}

.ob-tab-content.active {
    display: block;
}

@keyframes obFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.ob-form-header {
    margin-bottom: 24px;
}

.ob-form-title {
    font-weight: 700;
    color: #0b3558;
    font-size: 22px;
    margin-bottom: 4px;
}

.ob-form-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 0;
}

/* Section cards */
.ob-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    /* overflow: hidden; */
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ob-schedule .table-responsive {
    overflow: visible !important;
}

.ob-section-header {
    background: linear-gradient(135deg, #055078, #0a7cb5);
    color: #ffffff;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.questionnaire .ob-input {
   
    width: 45%;
}

.ob-section-header.ob-section-header--provider {
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
}

.ob-section-body {
    padding: 20px 24px;
}

/* Form input */
.ob-input {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ob-input:focus {
    border-color: #055078;
    box-shadow: 0 0 0 3px rgba(5,80,120,0.08);
}

/* Entry forms */
.ob-entry-form {
    display: none;
}

.ob-entry-form.active {
    display: block;
}

/* Actions bar */
.ob-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
}

.ob-btn-next {
    background: linear-gradient(135deg, #055078, #0a7cb5);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.ob-btn-next:hover {
    background: linear-gradient(135deg, #044060, #0870a0);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5,80,120,0.25);
}

.ob-btn-back {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    margin-right: 16px;
}

.ob-btn-back:hover {
    background: #e2e8f0;
    color: #0b3558;
}

.ob-btn-submit {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.ob-btn-submit:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.30);
}

/* -- File Upload -- */
.ob-file-upload {
    display: block;
    cursor: pointer;
}

.ob-file-upload input[type="file"] {
    display: none;
}

.ob-file-upload__area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s ease;
    background: #f8fafc;
}

.ob-file-upload:hover .ob-file-upload__area {
    border-color: #055078;
    background: #f0f7fc;
}

.ob-file-upload__area.has-file {
    border-color: #16a34a;
    background: #f0fdf4;
}

.ob-file-upload__area.dragover {
    border-color: #055078;
    background: #e0f0ff;
    transform: scale(1.02);
}

.ob-file-upload__icon {
    font-size: 28px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.ob-file-upload__area.has-file .ob-file-upload__icon {
    color: #16a34a;
}

.ob-file-upload__text {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.ob-file-upload__name {
    display: none;
    font-size: 13px;
    font-weight: 600;
    color: #055078;
    margin-top: 8px;
    word-break: break-all;
    padding: 4px 8px;
    background: rgba(5, 80, 120, 0.05);
    border-radius: 6px;
}

.ob-file-upload__name a {
    color: #055078;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ob-file-upload__name a:hover {
    text-decoration: underline;
    color: #0a7cb5;
}

.ob-file-upload__name a::before {
    content: "\f15b"; /* fa-file */
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    font-size: 12px;
}

.ob-file-upload__area.has-file .ob-file-upload__text {
    display: none;
}

.ob-file-upload__area.has-file .ob-file-upload__name {
    display: block;
}

/* -- Review summary cards -- */
.ob-review-entry {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.ob-review-entry h6 {
    color: #055078;
    font-weight: 700;
    margin-bottom: 8px;
}

.ob-review-entry .ob-review-row {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 4px;
}

.ob-review-entry .ob-review-row span:first-child {
    color: #64748b;
    min-width: 140px;
    flex-shrink: 0;
}

.ob-review-entry .ob-review-row span:last-child {
    color: #0b3558;
    font-weight: 500;
}

.ob-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.ob-btn-save-draft {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ob-btn-save-draft:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ob-btn-save-draft:active {
    transform: translateY(0);
}

.ob-btn-save-draft i {
    font-size: 15px;
    color: #055078;
    margin-right: 8px;
}

.ob-btn-save-draft:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* -- Responsive -- */
@media (max-width: 991px) {
    .ob-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .ob-sidebar {
        width: 100%;
        position: static;
    }

    .ob-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .ob-nav__item {
        white-space: nowrap;
        margin-bottom: 0;
        padding: 10px 14px;
        font-size: 13px;
    }

    .ob-sub-tabs {
        display: none !important;
    }

    .ob-nav__label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .questionnaire .ob-input {
        width: 100%;
    }
    .ob-section-body {
        padding: 16px;
    }

    .ob-form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .ob-btn-next,
    .ob-btn-back,
    .ob-btn-submit {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* -- Read-only mode -- */
.ob-readonly .ob-file-upload__area {
    background: #f8fafc;
    border-style: solid;
    cursor: default;
}

.ob-readonly .ob-file-upload__icon,
.ob-readonly .ob-file-upload__text {
    display: none !important;
}

.ob-readonly .ob-file-upload__name {
    display: block !important;
}

.ob-readonly .ob-file-upload__name:empty::after {
    content: "No file uploaded";
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
}

.ob-readonly .ob-file-upload {
    cursor: default;
}

.ob-readonly select {
    background-image: none !important;
}

.ob-readonly .bg-light {
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}

/* ================================================================
   READ-ONLY TEXT VIEW – Approved/Locked Entries
   ================================================================ */

/* -- Locked Status Banner -- */
.ob-locked-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    animation: obFadeIn 0.4s ease;
}

.ob-locked-banner__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.ob-locked-banner__text {
    flex: 1;
}

.ob-locked-banner__title {
    font-weight: 700;
    font-size: 14px;
    color: #166534;
    margin-bottom: 2px;
}

.ob-locked-banner__desc {
    font-size: 13px;
    color: #15803d;
    margin: 0;
}

/* -- Text-Only Section Card -- */
.ob-text-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease;
}

.ob-text-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ob-text-section__header {
    background: linear-gradient(135deg, #1e40af, #1e40af);
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ob-text-section__header--approved {
    background: linear-gradient(135deg, #166534, #166534);
}

.ob-text-section__header i {
    font-size: 14px;
    opacity: 0.9;
}

.ob-text-section__body {
    padding: 16px 20px;
}

/* -- Text Row (Label-Value pairs) -- */
.ob-text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (max-width: 767px) {
    .ob-text-grid {
        grid-template-columns: 1fr;
    }
}

.ob-text-row {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.ob-text-row:hover {
    background: #f8fafc;
}

.ob-text-row:last-child,
.ob-text-grid .ob-text-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.ob-text-row--full {
    grid-column: 1 / -1;
}

.ob-text-row__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.ob-text-row__value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
}

.ob-text-row__value--empty {
    color: #cbd5e1;
    font-style: italic;
    font-weight: 400;
}

/* -- Badge styles for inline values -- */
.ob-text-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.ob-text-badge--yes {
    background: #dcfce7;
    color: #166534;
}

.ob-text-badge--no {
    background: #fef2f2;
    color: #991b1b;
}

.ob-text-badge--info {
    background: #e0f2fe;
    color: #0c4a6e;
}

/* -- Schedule text table -- */
.ob-text-schedule {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ob-text-schedule th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    padding: 8px 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ob-text-schedule td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.ob-text-schedule tr:last-child td {
    border-bottom: none;
}

.ob-text-schedule .ob-text-schedule__closed {
    color: #ef4444;
    font-weight: 600;
    font-size: 12px;
}

.ob-text-schedule .ob-text-schedule__open {
    color: #16a34a;
    font-weight: 600;
}

/* -- Questionnaire summary -- */
.ob-text-questionnaire {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ob-text-q-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    transition: background 0.2s ease;
}

.ob-text-q-item:hover {
    background: #f8fafc;
}

.ob-text-q-item:last-child {
    border-bottom: none;
}

.ob-text-q-item__num {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ob-text-q-item__text {
    flex: 1;
    color: #475569;
    line-height: 1.5;
}

.ob-text-q-item__answer {
    flex-shrink: 0;
    margin-left: 8px;
}

.ob-text-q-item--yes {
    background: #fffbeb;
}

.ob-text-q-item--yes .ob-text-q-item__num {
    background: #fef3c7;
    color: #92400e;
}

/* -- Sidebar locked badge -- */
.ob-sub-tab__badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ob-sub-tab__badge--locked {
    background: #dcfce7;
    color: #166534;
}

.ob-sub-tab__badge--draft {
    background: #fef3c7;
    color: #92400e;
}

/* -- File link items in read-only view -- */
.ob-text-files {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ob-text-file-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.ob-text-file-item:last-child {
    border-bottom: none;
}

.ob-text-file-item:hover {
    background: #f0f9ff;
}

.ob-text-file-item__icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ob-text-file-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.ob-text-file-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.ob-text-file-item__link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ob-text-file-item__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* -- Questionnaire items in read-only view -- */
.ob-text-questionnaire {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ob-text-q-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.ob-text-q-item:last-child {
    border-bottom: none;
}

.ob-text-q-item--yes {
    background: #fff1f2;
}

.ob-text-q-item:hover {
    background: #f8fafc;
}

.ob-text-q-item--yes:hover {
    background: #ffe4e6;
}

.ob-text-q-item__num {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-top: 2px;
}

.ob-text-q-item--yes .ob-text-q-item__num {
    background: #fda4af;
    color: #9f1239;
}

.ob-text-q-item__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    font-weight: 500;
}

.ob-text-q-item__answer {
    min-width: 80px;
    display: flex;
    justify-content: flex-end;
}

/* -- Login Prompt Toast -- */
.login-prompt-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.15);
    display: flex;
    padding: 20px;
    gap: 16px;
    z-index: 1050;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    overflow: hidden;
    border: none;
}

.login-prompt-toast::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 160deg,
        transparent 0deg,
        #1d4ed8 30deg,
        #60a5fa 60deg,
        transparent 90deg,
        transparent 180deg,
        #1d4ed8 210deg,
        #60a5fa 240deg,
        transparent 270deg
    );
    animation: rotateGradient 4s linear infinite;
    z-index: 0;
}

.login-prompt-toast::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #fff;
    border-radius: 14px;
    z-index: 1;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-prompt-toast.d-none {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    display: flex !important; /* Keep display flex but use opacity/transform for hide */
}

.login-prompt-toast__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 4px;
    z-index: 99;
}

.login-prompt-toast__close:hover {
    color: #ef4444;
}

.login-prompt-toast__icon {
    font-size: 32px;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.login-prompt-toast__content {
    position: relative;
    z-index: 2;
}

.login-prompt-toast__content h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    color: #0b3558;
    font-size: 15px;
}

.login-prompt-toast__content p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.login-prompt-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    cursor: pointer;
    z-index: 1049;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s, background 0.2s;
}

.login-prompt-trigger:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.login-prompt-trigger.d-none {
    display: none !important;
}

@media (max-width: 576px) {
    .login-prompt-toast {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 137px;
        padding: 16px;
        gap: 12px;
    }

    .login-prompt-toast__icon {
        font-size: 28px;
    }

    .login-prompt-trigger {
        bottom: 137px;
        right: 16px;
    }
}
/* -- Time Picker Dropdown & Schedule Styles -- */
.time-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.time-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2050;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    width: 100% !important;
    min-width: 120px !important;
    margin-top: 4px !important;
}

/* Custom Scrollbar for Dropdown */
.time-dropdown-list::-webkit-scrollbar {
    width: 6px !important;
}
.time-dropdown-list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}
.time-dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}
.time-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.time-dropdown-item {
    padding: 10px 16px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    text-align: left;
}

.time-dropdown-item:last-child {
    border-bottom: none !important;
}

.time-dropdown-item:hover {
    background-color: #f0f9ff !important;
    color: #0b79b4 !important;
    padding-left: 20px !important;
}

.time-dropdown-item.d-none {
    display: none !important;
}

.searchable-time,
.searchable-period {
    position: relative !important;
    cursor: text !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.searchable-time:focus,
.searchable-period:focus {
    z-index: 2 !important;
    border-color: #0b79b4 !important;
    box-shadow: 0 0 0 3px rgba(11, 121, 180, 0.1) !important;
}

.searchable-period {
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.searchable-time {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.ob-hours-wrap {
    background: #f8fafc;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

.ob-closed-txt {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* -- SweetAlert Custom Buttons -- */
.ob-swal-btn {
    min-width: 140px;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.ob-swal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.ob-swal-btn:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .swal2-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 0 20px !important;
    }

    .ob-swal-btn {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        min-width: unset !important;
    }
}


/* Validation Error Styles */
.ob-input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.ob-file-upload__area.ob-input-error {
    border-color: #ef4444 !important;
    background-color: #fff1f2 !important;
}

.ob-file-upload__area.ob-input-error .ob-file-upload__icon {
    color: #ef4444 !important;
}

/* Onboarding Action Buttons */
.ob-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.25);
}

.ob-btn-back i {
    transition: transform 0.3s ease;
}

.ob-btn-back:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(71, 85, 105, 0.4);
}

.ob-btn-back:hover i {
    transform: translateX(-4px);
}

.ob-btn-save-draft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.ob-btn-save-draft i {
    transition: transform 0.3s ease;
}

.ob-btn-save-draft:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.ob-btn-save-draft:hover i {
    transform: scale(1.1) rotate(5deg);
}
