/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Quote Section */
.quote-section {
    background: #ffffff;
    padding: 50px 20px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quote-section h1 {
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

.quote-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Quote Form */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin: 10px 0 5px;
    text-align: left;
}

input, select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    background: #28a745;
    color: white;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background: #218838;
}

/* Price Display */
.price-display {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

.price-display strong {
    color: #28a745;
}

#quotePrice {
    color: #28a745;
    font-weight: bold;
}

#priceBreakdown {
    font-size: 0.9rem;
}

#priceBreakdownList li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* Quote Status Timeline */
.quote-status-timeline {
    position: relative;
    padding: 20px 0;
}

.status-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 30px;
}

.status-step:last-child {
    padding-bottom: 0;
}

.status-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.status-step:last-child::before {
    display: none;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    z-index: 1;
}

.status-icon i {
    font-size: 16px;
    color: #adb5bd;
}

.status-content {
    flex: 1;
}

.status-content h6 {
    margin: 0;
    color: #495057;
    font-weight: 500;
}

.status-content p {
    margin: 5px 0 0;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Active Status */
.status-step.active .status-icon {
    border-color: #007bff;
    background: #007bff;
}

.status-step.active .status-icon i {
    color: #fff;
}

.status-step.active h6 {
    color: #007bff;
}

/* Completed Status */
.status-step.completed .status-icon {
    border-color: #28a745;
    background: #28a745;
}

.status-step.completed .status-icon i {
    color: #fff;
}

.status-step.completed::before {
    background: #28a745;
}

/* Loading State */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Validation Styles */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alert Styles */
.alert {
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .quote-status-timeline {
        padding: 15px 0;
    }
    
    .status-step {
        padding-bottom: 20px;
    }
    
    .status-content h6 {
        font-size: 0.9rem;
    }
    
    .status-content p {
        font-size: 0.8rem;
    }
}

/* Quote Result */
.quote-result {
    background: #d4edda;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}
