.rbs-booking-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.rbs-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    position: relative;
}

.rbs-progress-bar::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.rbs-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rbs-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.rbs-progress-step.active .rbs-step-number,
.rbs-progress-step.completed .rbs-step-number {
    background: #4CAF50;
    color: white;
}

.rbs-step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.rbs-progress-step.active .rbs-step-label {
    color: #333;
    font-weight: 600;
}

.rbs-step {
    display: none;
}

.rbs-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.rbs-step-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.rbs-device-grid,
.rbs-brand-grid,
.rbs-repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.rbs-device-card,
.rbs-brand-card,
.rbs-repair-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rbs-device-card:hover,
.rbs-brand-card:hover,
.rbs-repair-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.rbs-device-icon,
.rbs-brand-icon {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbs-device-icon img,
.rbs-brand-icon img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.rbs-device-placeholder {
    color: #4CAF50;
}

.rbs-device-name,
.rbs-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.rbs-repair-card {
    text-align: left;
    padding: 20px;
}

.rbs-repair-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.rbs-repair-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.rbs-model-select-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}

.rbs-search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.rbs-search-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.rbs-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.rbs-select option {
    padding: 10px;
}

.rbs-select option:hover {
    background: #f5f5f5;
}

.rbs-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    display: inline-block;
    text-decoration: none;
}

.rbs-btn-back {
    background: #f5f5f5;
    color: #333;
}

.rbs-btn-back:hover {
    background: #e0e0e0;
}

.rbs-btn-next {
    background: #4CAF50;
    color: white;
}

.rbs-btn-next:hover:not(:disabled) {
    background: #45a049;
}

.rbs-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.rbs-btn-primary {
    background: #4CAF50;
    color: white;
}

.rbs-btn-primary:hover {
    background: #45a049;
    color: white;
}

.rbs-quote-container {
    max-width: 700px;
    margin: 0 auto;
}

.rbs-quote-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

.rbs-quote-content {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rbs-quote-details h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.rbs-quote-table {
    width: 100%;
    margin-bottom: 30px;
}

.rbs-quote-table th {
    text-align: left;
    padding: 12px 20px 12px 0;
    color: #666;
    font-weight: 600;
    width: 35%;
}

.rbs-quote-table td {
    padding: 12px 0;
    color: #333;
    font-size: 16px;
}

.rbs-quote-price {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.rbs-price-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rbs-price-amount {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
}

.rbs-quote-actions {
    text-align: center;
}

.rbs-quote-error {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.rbs-quote-error p {
    font-size: 18px;
    color: #856404;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .rbs-device-grid,
    .rbs-brand-grid,
    .rbs-repair-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .rbs-step-title {
        font-size: 24px;
    }

    .rbs-progress-bar {
        padding: 10px 0;
    }

    .rbs-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .rbs-step-label {
        font-size: 12px;
    }

    .rbs-price-amount {
        font-size: 36px;
    }

    .rbs-quote-table th,
    .rbs-quote-table td {
        padding: 10px 10px 10px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rbs-device-grid,
    .rbs-brand-grid,
    .rbs-repair-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rbs-device-card,
    .rbs-brand-card {
        padding: 20px 10px;
    }

    .rbs-step-label {
        display: none;
    }

    .rbs-booking-wrapper {
        padding: 10px;
    }
}
