/* Extracted from app/views/frontend/quote/index.php */
.quote-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.quote-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.quote-hero p {
    color: #666;
    font-size: 1rem;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Tabs */
.quote-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e5e5;
}

.quote-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.quote-tab:hover {
    color: #1a1a1a;
}

.quote-tab.active {
    color: #667eea;
}

.quote-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.quote-tab i {
    margin-right: 0.5rem;
}

/* Panels */
.quote-panel {
    display: none;
}

.quote-panel.active {
    display: block;
}

/* Product Info Card */
.product-info-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-info-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #f8f9fa;
}

.product-info-box-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
}

.product-info-box-content p {
    color: #666;
    font-size: 0.875rem;
    margin: 0;
}

/* Form Styles */
.quote-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e5e5;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.form-row:last-child {
    margin-bottom: 0;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group.three-col-full {
    grid-column: span 3;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #e53e3e;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.input-with-unit {
    position: relative;
}

.input-with-unit input {
    padding-right: 3rem;
}

.input-unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.875rem;
}

/* Submit Button */
.quote-submit {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.quote-submit i {
    margin-right: 0.5rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-tabs {
        flex-direction: column;
    }

    .quote-tab {
        text-align: center;
    }

    .form-row,
    .form-row.three-cols {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .form-group.three-col-full {
        grid-column: span 1;
    }

    .product-info-box {
        flex-direction: column;
        text-align: center;
    }
}
