/* ============================================ */
/* CUSTOMER SCREEN PRINT CALCULATOR FIX CSS  */
/* ============================================ */
/* Fixes styling to match NWCA green reference design */

/* Product Showcase Section */
.product-showcase {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.product-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.product-showcase-image {
    text-align: center;
}

.product-showcase-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.product-showcase-image img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 12px 32px rgba(76, 179, 84, 0.3);
}

.product-showcase-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .product-showcase-inner {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
}

/* Ensure proper container layout and spacing */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Input section styling */
.input-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.input-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Results section styling - matches reference */
.results-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.results-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

/* Price display - large NWCA green box like reference */
.price-display {
    background: var(--primary-color);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(76, 179, 84, 0.2);
}

.price-display.prompt {
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 500;
    font-size: 1.25rem;
}

.price-display-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Input grid for side-by-side inputs */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--card-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--focus-shadow);
}

/* Switch toggle styling */
.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--hover-bg);
    border-radius: 6px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Safety notice styling */
.safety-notice {
    background: var(--warning-bg);
    color: var(--warning-text);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #fcd34d;
    margin-bottom: 1rem;
}

/* Order summary styling */
.order-summary {
    background: var(--hover-bg);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 1.125rem;
    font-weight: 600;
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.summary-item.total strong {
    color: var(--primary-color);
}

/* Button styling */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 179, 84, 0.3);
}

.btn-secondary {
    background: var(--hover-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Quote actions styling */
.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Notice section styling */
.notice-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.notice-section h2 {
    color: #92400e;
    margin-bottom: 1rem;
}

/* Modal styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-overlay.active {
    display: block;
}

.modal-content {
    background: white;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.modal-header.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    background: var(--bg-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Form grid in modal */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

/* Quote ID display */
.quote-id-display {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.quote-id {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Success icon */
.success-icon {
    font-size: 3rem;
    color: var(--success-text);
    margin-bottom: 1rem;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .price-display {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border: 1px solid #d1d5db;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-actions {
        flex-direction: column;
    }
    
    .switch-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Header overrides for consistency */
.section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section h2::before {
    content: "🖨️";
    font-size: 1.25rem;
}

/* Ensure consistent spacing and alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 2rem;
}