/* ── Repair Booking Pro - style.css ── */

/* ── PRODUCT TYPE CARDS ─────────────────────────────────────────────────── */

.rbf-pt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.rbf-pt-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.rbf-pt-card:hover {
    border-color: #0f3460;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15,52,96,0.15);
}
.rbf-pt-card.selected {
    border-color: #0f3460;
    background: #f0f7ff;
}
.rbf-pt-icon-wrap img {
    width: 56px;
    height: 56px; 
    max-height: 56px;
    object-fit: contain;
}
.rbf-pt-label {
    margin: 10px 0 0;
    font-weight: 600;
    font-size: 18px;
    color: #1a1a2e;
}

/* ── BOOKING FORM ────────────────────────────────────────────────────────── */
.rbf-wrap {
       max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.rbf-step-title {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}
.rbf-back-btn {
    display: inline-block;
    color: #0f3460;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 6px 14px;
    background: #f0f7ff;
    border-radius: 20px;
    transition: background 0.2s;
}
.rbf-back-btn:hover { background: #dce9fb; }

.rbf-select {
    width: 100%;
    padding: 7px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a2e;
    background: #fff;
    transition: border 0.2s;
    min-height: 48px;
}
.rbf-select:focus {
    outline: none;
    border-color: #0f3460;
}

/* ── ISSUES GRID ─────────────────────────────────────────────────────────── */
.rbf-issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.rbf-issue-card {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.rbf-issue-card:hover {
    border-color: #0f3460;
    background: #f8fbff;
}
.rbf-issue-card.selected {
    border-color: #0f3460;
    background: #e8f0fe;
    box-shadow: 0 2px 8px rgba(15,52,96,0.15);
}
.rbf-issue-icon {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}
.rbf-issue-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
}
.rbf-issue-price {
    display: block;
    font-size: 11px;
    color: #28a745;
    margin-top: 4px;
    font-weight: 600;
}

/* ── FORM FIELDS ─────────────────────────────────────────────────────────── */
.rbf-form-fields { margin-top: 15px; }
.rbf-field-group {
    margin-bottom: 18px;
}
.rbf-field-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}
.rbf-field-group input,
.rbf-field-group textarea,
.rbf-field-group select {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a2e;
    transition: border 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.rbf-field-group input:focus,
.rbf-field-group textarea:focus {
    outline: none;
    border-color: #0f3460;
}

/* ── BUTTON ──────────────────────────────────────────────────────────────── */
.rbf-btn {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s, transform 0.2s;
    width: 100%;
}
.rbf-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.rbf-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── PROGRESS ────────────────────────────────────────────────────────────── */
.rbf-progress-wrap {
    margin-top: 30px;
}
.rbf-progress-bar {
    height: 5px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.rbf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a1a2e, #0f3460);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.rbf-steps-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #aaa;
}

/* ── SUMMARY BAR ─────────────────────────────────────────────────────────── */
.rbf-summary-bar {
    background: #f0f7ff;
    border-left: 4px solid #0f3460;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
}

/* ── SELECTED BADGE ──────────────────────────────────────────────────────── */
.rbf-badge-type {
    display: inline-block;
    background: #0f3460;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ── SUCCESS ─────────────────────────────────────────────────────────────── */
.rbf-success-wrap {
    text-align: center;
    padding: 40px 20px;
}
.rbf-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}
.rbf-success-wrap h2 {
    color: #1a1a2e;
    font-size: 28px;
    margin-bottom: 12px;
}

/* ── HOME ISSUES SECTION ─────────────────────────────────────────────────── */
.rbf-home-issues-wrap {
    padding: 20px 0;
}
.rbf-home-issues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    /*border: 1px solid #e0e0e0;*/
    border-radius: 4px;
    overflow: hidden;
}
.rbf-home-type-section {
    background: #fff;
    padding: 30px 30px 30px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.rbf-home-type-section:nth-child(2n) {
    border-right: none;
}
.rbf-home-type-section:nth-last-child(-n+2) {
    border-bottom: none;
}
.rbf-home-device-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    min-height: 160px;
}
.rbf-home-device-img img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12));
    transition: transform 0.3s ease;
}
.rbf-home-type-section:hover .rbf-home-device-img img {
    transform: translateY(-4px);
}
.rbf-home-type-body {
    width: 100%;
}
.rbf-home-type-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}
.rbf-home-type-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 18px;
    /*max-width: 300px;*/
    margin-left: auto;
    margin-right: auto;
}
.rbf-home-issues-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.rbf-home-issue-pill {
    background: #f1f1f1;
    border: 1px solid #d0d0d0;
    color: #333;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
}
.rbf-home-issue-pill:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}
@media (max-width: 640px) {
    .rbf-home-issues-grid {
        grid-template-columns: 1fr;
    }
    .rbf-home-type-section:nth-child(2n) {
        border-right: none;
    }
    .rbf-home-type-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .rbf-home-type-section:last-child {
        border-bottom: none;
    }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .rbf-pt-grid { grid-template-columns: repeat(2, 1fr); }
    .rbf-issues-grid { grid-template-columns: repeat(2, 1fr); }
    .rbf-home-type-header { flex-direction: column; text-align: center; }
}

/* ── SINGLE FORM LAYOUT (v4) ─────────────────────────────────────────────── */
.rbf-single-form .rbf-section {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.rbf-single-form .rbf-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.rbf-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
    letter-spacing: 0.2px;
}

.rbf-section h4{
    text-align: center;
}


.rbf-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rbf-full-width {
    grid-column: 1 / -1;
}
.rbf-field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #fff5f5;
    border-radius: 4px;
    border-left: 3px solid #dc3545;
}

/* Step titles reused as section titles */
.rbf-step-title { display: none; }

@media (max-width: 600px) {
    .rbf-fields-grid { grid-template-columns: 1fr; }
    .rbf-full-width { grid-column: 1; }
    
    .rbf-home-type-section { 
    padding: 10px  0px ;
}
    
  .rbf-home-issue-pill {
    
    padding: 3px 8px; 
    font-size: 12px; 
}  
    
    
}
