@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600&family=Sora:wght@400;600&display=swap');

/* =========================================================
   APP CONTAINER
   ========================================================= */
.srb-app {
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* =========================================================
   STEP INDICATOR
   ========================================================= */
.srb-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.srb-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.srb-step.active, .srb-step.done { opacity: 1; }
.srb-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1E1D2B;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.srb-step.active .srb-step-num { background: #257FFF; border-color: #257FFF; }
.srb-step.done .srb-step-num { background: #22C55E; border-color: #22C55E; }
.srb-step-label { font-size: 14px; font-weight: 500; }
.srb-step-line {
    width: 40px;
    height: 2px;
    background: #333;
    margin: 0 12px;
}

/* =========================================================
   PANELS
   ========================================================= */
.srb-panel-title {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
}
.srb-panel-desc {
    color: #888;
    font-size: 16px;
    margin: 0 0 32px 0;
}

/* =========================================================
   PACKAGES (Step 1)
   ========================================================= */
.srb-packages {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.srb-pkg {
    width: 320px;
    border-radius: 24px;
    padding: 32px 28px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.srb-pkg:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(37,127,255,0.15); }
.srb-pkg.selected { border-color: #257FFF; box-shadow: 0 0 0 4px rgba(37,127,255,0.2); }

.srb-pkg-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #FFF;
    line-height: 1.2;
}
.srb-pkg-suffix { font-size: 16px; font-weight: 400; color: #888; }
.srb-pkg-meta { font-size: 14px; color: #888; margin: 4px 0 16px; }
.srb-pkg-name {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px 0;
}
.srb-pkg-sub { font-size: 14px; color: #AAA; margin: 0 0 20px 0; }
.srb-pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}
.srb-pkg-features li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}
.srb-pkg-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #257FFF;
    border-radius: 50%;
}
.srb-pkg-features li.srb-feat-extra { font-weight: 500; }

.srb-pkg-select {
    width: 100%;
    padding: 14px;
    background: #257FFF;
    color: #FFF;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.srb-pkg-select:hover { background: #1A6AE0; }

/* =========================================================
   DATE & TIME (Step 2)
   ========================================================= */
.srb-datetime {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.srb-datetime label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-bottom: 8px;
}
.srb-input {
    background: #1A1A2E;
    border: 1px solid #333;
    border-radius: 10px;
    color: #FFF;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.srb-input:focus { border-color: #257FFF; outline: none; }

.srb-hours-control {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 600;
}
.srb-hours-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #1A1A2E;
    border: 1px solid #333;
    color: #FFF;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.srb-hours-btn:hover { background: #257FFF; }

.srb-slots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.srb-slot {
    padding: 10px 20px;
    background: #1A1A2E;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}
.srb-slot:hover { border-color: #257FFF; }
.srb-slot.selected { background: #257FFF; border-color: #257FFF; }
.srb-slots-container label { font-size: 14px; font-weight: 500; color: #888; }
.srb-no-slots { color: #888; font-style: italic; padding: 12px 0; }

/* =========================================================
   ADDONS (Step 3)
   ========================================================= */
.srb-addons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.srb-addon {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #1A1A2E;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.srb-addon:hover { border-color: #555; }
.srb-addon:has(input:checked) { border-color: #257FFF; background: rgba(37,127,255,0.08); }
.srb-addon input { display: none; }
.srb-addon-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.srb-addon-info i { font-size: 20px; color: #257FFF; width: 24px; text-align: center; }
.srb-addon-info strong { display: block; font-size: 15px; }
.srb-addon-info span { display: block; font-size: 13px; color: #888; }
.srb-addon-price { font-weight: 600; font-size: 15px; color: #257FFF; white-space: nowrap; }

/* =========================================================
   FORM & SUMMARY (Step 4)
   ========================================================= */
.srb-final-layout {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}
.srb-form-section { flex: 1; }
.srb-summary-section { width: 340px; flex-shrink: 0; }

.srb-field { margin-bottom: 16px; }
.srb-field label { display: block; font-size: 14px; font-weight: 500; color: #888; margin-bottom: 6px; }

.srb-summary {
    background: #1A1A2E;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 20px;
}
.srb-summary h3 { margin: 0 0 16px; font-size: 18px; }
.srb-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #333;
    font-size: 18px;
}
.srb-summary-total strong { font-size: 24px; color: #257FFF; }

#srb-summary-content p { margin: 4px 0; font-size: 14px; color: #CCC; }
#srb-summary-content strong { color: #FFF; }

/* =========================================================
   BUTTONS
   ========================================================= */
.srb-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}
.srb-btn-back {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.srb-btn-back:hover { border-color: #FFF; color: #FFF; }
.srb-btn-next, .srb-btn-submit {
    background: #257FFF;
    border: none;
    color: #FFF;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.srb-btn-next:hover, .srb-btn-submit:hover { background: #1A6AE0; }
.srb-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
.srb-btn-submit { background: #22C55E; }
.srb-btn-submit:hover { background: #16A34A; }

/* =========================================================
   SUCCESS
   ========================================================= */
.srb-success {
    text-align: center;
    padding: 60px 20px;
}
.srb-success-icon {
    width: 80px;
    height: 80px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}
.srb-success h2 { font-size: 28px; margin: 0 0 12px; }
.srb-success p { font-size: 16px; color: #888; margin: 0 0 32px; }

/* =========================================================
   LOADING
   ========================================================= */
.srb-loading {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 100;
}
.srb-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #257FFF;
    border-radius: 50%;
    animation: srb-spin 0.8s linear infinite;
}
@keyframes srb-spin { to { transform: rotate(360deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .srb-packages { flex-direction: column; align-items: center; }
    .srb-pkg { width: 100%; max-width: 380px; }
    .srb-final-layout { flex-direction: column; }
    .srb-summary-section { width: 100%; }
    .srb-steps { gap: 0; flex-wrap: nowrap; overflow-x: auto; }
    .srb-step-label { display: none; }
    .srb-step-line { width: 20px; margin: 0 6px; }
}
