* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.logo {
    display: block;
    max-width: 200px;
    height: auto;
}

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

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-number.active {
    background-color: #046A38;
    color: white;
}

.step-number.completed {
    background-color: #046A38;
    color: white;
}

.step-title {
    font-size: 14px;
    text-align: center;
    max-width: 120px;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.progress-line-fill {
    height: 100%;
    background-color: #046A38;
    width: 0%;
    transition: width 0.3s ease;
}

.config-section {
    display: none;
    margin: 40px 0;
}

.config-section.active {
    display: block;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #046A38;
}

.section-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #666666;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #046A38;
    box-shadow: 0 4px 8px rgba(4, 106, 56, 0.1);
}

.option-card.selected {
    border-color: #046A38;
    background-color: rgba(4, 106, 56, 0.05);
}

.option-card.disabled {
    border-color: #e0e0e0;
    background-color: rgba(224, 224, 224, 0.3);
    cursor: not-allowed;
}

.option-card.disabled:hover {
    border-color: #e0e0e0;
    box-shadow: none;
}

.option-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.option-description {
    font-size: 14px;
    color: #666666;
}

.option-price {
    margin-top: 10px;
    font-size: 13px;
    color: #046A38;
    font-weight: 500;
}

.option-price-info {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #046A38;
    color: white;
}

.btn-primary:hover {
    background-color: #03552c;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4, 106, 56, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.custom-input {
    margin-top: 20px;
    display: none;
}

.custom-input.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.form-group.custom-length-input input {
    width: 200px;
}

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

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.quantity-input button:hover {
    background-color: #f5f5f5;
}

.quantity-input input {
    width: 80px;
    text-align: center;
}

.pricing-summary {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
}

.pricing-summary h3 {
    background-color: #046A38;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#configuration-summary {
    padding: 20px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-row:last-of-type:not(.total) {
    border-bottom: none;
}

.pricing-row-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-row-label .main-label {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
}

.pricing-row-label .sub-label {
    font-size: 13px;
    color: #666666;
}

.pricing-row-value {
    font-weight: 600;
    color: #046A38;
    font-size: 15px;
    white-space: nowrap;
    margin-left: 20px;
}

.pricing-row.included .pricing-row-value {
    color: #888888;
    font-weight: 500;
}

.pricing-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #046A38;
    border-bottom: none;
}

.pricing-row.total .pricing-row-label .main-label {
    font-size: 18px;
    color: #046A38;
}

.pricing-row.total .pricing-row-value {
    font-size: 20px;
    color: #046A38;
}

.pricing-footnotes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.pricing-footnotes p {
    margin-bottom: 5px;
    color: #666666;
    font-size: 12px;
}

.pricing-model {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.pricing-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-option:hover {
    border-color: #046A38;
}

.pricing-option.selected {
    border-color: #046A38;
    background-color: rgba(4, 106, 56, 0.05);
}

.customer-info-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.customer-info-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #046A38;
}

.customer-info-section .section-description {
    margin-bottom: 20px;
}

.quote-output {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: none;
}

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

.quote-header {
    text-align: center;
    margin-bottom: 30px;
}

.quote-details {
    margin-bottom: 30px;
}

.quote-footer {
    text-align: center;
    margin-top: 30px;
}

/* Loading Modal */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-modal.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 40px 60px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #046A38;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 14px;
    color: #666666;
}

/* Success notification */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #046A38;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(4, 106, 56, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.success-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.success-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
    color: #046A38;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.success-message {
    font-size: 14px;
    font-weight: 500;
}

/* Step 2 Subsection Styles */
.config-subsection {
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.config-subsection.locked {
    opacity: 0.6;
    pointer-events: none;
    background-color: #f9f9f9;
    border-color: #e0e0e0;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.subsection-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #046A38;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.config-subsection.locked .subsection-number {
    background-color: #cccccc;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.config-subsection.locked .subsection-title {
    color: #999999;
}

.lock-indicator {
    margin-left: auto;
    font-size: 20px;
    color: #999999;
}

.lock-indicator.unlocked {
    color: #046A38;
}

.config-subsection.locked .option-card {
    cursor: not-allowed;
    opacity: 0.5;
}

.config-subsection.locked .option-card:hover {
    border-color: #e0e0e0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-step {
        flex-direction: row;
        align-items: center;
        margin-bottom: 10px;
        display: none; /* Hide all steps by default on mobile */
    }
    
    /* Show only relevant steps on mobile */
    .progress-step.active,
    .progress-step.completed,
    .progress-step.next-step {
        display: flex;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .step-title {
        text-align: left;
        max-width: none;
    }
    
    .progress-line {
        display: none;
    }
    
    .loading-content {
        padding: 30px 40px;
        max-width: 300px;
    }
    
    .success-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .config-subsection {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .subsection-header {
        gap: 12px;
    }
    
    .subsection-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .subsection-title {
        font-size: 18px;
    }
}
