
/* Alert Success */
.alert-success-box {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.alert-success-box .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #065f46;
    font-weight: 500;
}

.alert-success-box svg {
    stroke: #10b981;
    flex-shrink: 0;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: #f9fafb;
}

.quote-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.quote-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.quote-intro p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
}

.step.active .step-label {
    color: #f59e0b;
}

.step.completed .step-label {
    color: #10b981;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 1rem;
}

/* Quote Form */
.quote-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-checkbox-card {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.product-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    left: 0;
    top: 0;
}

.product-card-content {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-checkbox-card:hover .product-card-content {
    border-color: #f59e0b;
    background: #fffbeb;
}

.product-checkbox-card input[type="checkbox"]:checked ~ .product-card-content {
    border-color: #f59e0b;
    background: #fffbeb;
}

.product-checkbox-card.selected .product-card-content {
    border-color: #f59e0b;
    background: #fffbeb;
}

.product-icon {
    margin-bottom: 1rem;
}

.product-icon svg {
    stroke: #f59e0b;
}

.product-image-small {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-card-content p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #e5e7eb;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-checkbox-card input[type="checkbox"]:checked ~ .product-card-content .checkbox-check,
.product-checkbox-card input[type="checkbox"]:checked ~ .checkbox-check {
    border-color: #f59e0b;
    background: #f59e0b;
}

.product-checkbox-card input[type="checkbox"]:checked ~ .checkbox-check::after,
.product-checkbox-card input[type="checkbox"]:checked ~ .product-card-content .checkbox-check::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Alternative: using selected class on card */
.product-checkbox-card.selected .checkbox-check {
    border-color: #f59e0b;
    background: #f59e0b;
}

.product-checkbox-card.selected .checkbox-check::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Quote Type Selection */
.quote-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quote-type-card {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.quote-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    left: 0;
    top: 0;
}

.quote-type-content {
    background: #f9fafb;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.quote-type-card:hover .quote-type-content {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.15);
}

.quote-type-card input[type="radio"]:checked ~ .quote-type-content,
.quote-type-card.selected .quote-type-content {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
}

.quote-type-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-type-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.quote-type-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.quote-type-content p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

.radio-check {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-type-card input[type="radio"]:checked ~ .quote-type-content .radio-check,
.quote-type-card input[type="radio"]:checked ~ .radio-check,
.quote-type-card.selected .radio-check {
    border-color: #f59e0b;
    background: #f59e0b;
}

.quote-type-card input[type="radio"]:checked ~ .radio-check::after,
.quote-type-card.selected .radio-check::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Service Types Grid */
.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-type-card {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.service-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    left: 0;
    top: 0;
}

.service-card-content {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.service-type-card:hover .service-card-content {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.service-type-card input[type="radio"]:checked ~ .service-card-content,
.service-type-card.selected .service-card-content {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.service-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.service-card-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.service-card-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.service-type-card .radio-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.service-type-card input[type="radio"]:checked ~ .service-card-content .radio-check,
.service-type-card input[type="radio"]:checked ~ .radio-check,
.service-type-card.selected .radio-check {
    border-color: #f59e0b;
    background: #f59e0b;
}

.service-type-card input[type="radio"]:checked ~ .radio-check::after,
.service-type-card.selected .radio-check::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Selection Container */
.selection-container {
    transition: opacity 0.3s ease;
}

.selection-container[style*="display: none"] {
    opacity: 0;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-outline {
    background: white;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #f59e0b;
    color: white;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 60px 0;
    }

    .quote-intro h2 {
        font-size: 2rem;
    }

    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step-line {
        display: none;
    }

    .quote-form {
        padding: 2rem 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-description {
        font-size: 0.9375rem;
    }

    .quote-form {
        padding: 1.5rem 1rem;
    }

    .form-header {
        padding: 1.25rem 1rem;
    }

    .form-header h3 {
        font-size: 1.125rem;
    }

    .form-step h3 {
        font-size: 1.125rem;
    }

    .products-grid {
        gap: 1rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-card h4 {
        font-size: 1rem;
    }

    .product-card p {
        font-size: 0.875rem;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
}
