/* Pool Calculator Styles for GTM Integration */ .gtm-calculator-trigger { margin: 20px 0; text-align: center; z-index: 1000; } .splash-calculator-btn { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 15px; padding: 20px 30px; color: white; font-size: 18px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 15px; text-decoration: none; border: 2px solid transparent; } .splash-calculator-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4); border-color: rgba(255, 255, 255, 0.2); } .splash-calculator-btn:active { transform: translateY(-1px); } .calc-icon { font-size: 24px; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .calc-text-container { text-align: left; } .calc-text { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; } .calc-subtitle { display: block; font-size: 14px; opacity: 0.9; font-weight: 400; margin-top: 2px; } /* Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 99999; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .modal-overlay.active { opacity: 1; visibility: visible; } .calculator-container { background: white; border-radius: 20px; max-width: 900px; max-height: 90vh; width: 95%; overflow-y: auto; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); transform: translateY(50px) scale(0.9); transition: transform 0.3s ease; } .modal-overlay.active .calculator-container { transform: translateY(0) scale(1); } .calc-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 25px 30px; border-radius: 20px 20px 0 0; display: flex; justify-content: space-between; align-items: center; } .calc-header h2 { margin: 0; font-size: 24px; font-weight: 600; } .close-btn { background: rgba(255, 255, 255, 0.2); border: none; color: white; font-size: 24px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .close-btn:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); } .progress-container { padding: 20px 30px; background: #f8f9fa; } .progress-bar { height: 6px; background: #dee2e6; border-radius: 3px; overflow: hidden; margin-bottom: 15px; } .progress-fill { height: 100%; background: linear-gradient(90deg, #28a745, #20c997); width: 25%; transition: width 0.3s ease; border-radius: 3px; } .step-indicators { display: flex; justify-content: space-between; max-width: 200px; margin: 0 auto; } .step { width: 35px; height: 35px; border-radius: 50%; background: #dee2e6; color: #6c757d; display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all 0.3s ease; position: relative; } .step.active { background: #28a745; color: white; box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3); } .step.completed { background: #20c997; color: white; } .calc-content { padding: 30px; min-height: 400px; } .calc-navigation { display: flex; justify-content: space-between; padding: 20px 30px; border-top: 1px solid #eee; background: #f8f9fa; border-radius: 0 0 20px 20px; } .nav-btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; } .prev-btn { background: #6c757d; color: white; } .prev-btn:hover:not(:disabled) { background: #5a6268; transform: translateX(-2px); } .next-btn { background: #28a745; color: white; } .next-btn:hover:not(:disabled) { background: #218838; transform: translateX(2px); } .nav-btn:disabled { background: #dee2e6; color: #6c757d; cursor: not-allowed; transform: none; } /* Form Styles */ .form-group { margin-bottom: 20px; } .form-label { display: block; font-weight: 600; margin-bottom: 8px; color: #495057; } .form-input { width: 100%; padding: 12px 16px; border: 2px solid #dee2e6; border-radius: 8px; font-size: 16px; transition: border-color 0.3s ease; } .form-input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .form-select { width: 100%; padding: 12px 16px; border: 2px solid #dee2e6; border-radius: 8px; font-size: 16px; background: white; cursor: pointer; } .checkbox-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 12px; } .checkbox-item { display: flex; align-items: center; padding: 12px; border: 2px solid #dee2e6; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; } .checkbox-item:hover { border-color: #667eea; background: #f8f9ff; } .checkbox-item input[type="checkbox"] { margin-right: 10px; transform: scale(1.2); } .checkbox-item.checked { border-color: #28a745; background: #f8fff9; } /* Results Styles */ .results-container { padding: 20px 0; } .result-item { background: white; border: 1px solid #dee2e6; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .result-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); } .result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .result-title { font-size: 18px; font-weight: 600; color: #495057; } .result-price { font-size: 20px; font-weight: 700; color: #28a745; } .result-details { color: #6c757d; font-size: 14px; margin-bottom: 16px; } .add-to-cart-btn { background: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background 0.3s ease; } .add-to-cart-btn:hover { background: #0056b3; } .total-section { background: linear-gradient(135deg, #28a745, #20c997); color: white; padding: 20px; border-radius: 12px; text-align: center; margin-top: 20px; } .total-price { font-size: 28px; font-weight: 700; margin-bottom: 16px; } .add-all-btn { background: white; color: #28a745; border: none; padding: 15px 30px; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; } .add-all-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } /* Mobile Responsive */ @media (max-width: 768px) { .calculator-container { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; margin: 0; } .calc-header { border-radius: 0; padding: 20px; } .calc-header h2 { font-size: 20px; } .calc-content { padding: 20px; } .calc-navigation { border-radius: 0; position: sticky; bottom: 0; padding: 15px 20px; } .splash-calculator-btn { width: 100%; justify-content: center; padding: 16px 20px; position: fixed; bottom: 20px; left: 10px; right: 10px; z-index: 1000; box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4); } .gtm-calculator-trigger { margin: 0; padding-bottom: 80px; } .checkbox-group { grid-template-columns: 1fr; } .step-indicators { max-width: 180px; } .step { width: 30px; height: 30px; font-size: 14px; } } /* Loading Animation */ .loading-spinner { border: 3px solid #f3f3f3; border-top: 3px solid #667eea; border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 20px auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Accessibility */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* Focus states */ .splash-calculator-btn:focus, .nav-btn:focus, .close-btn:focus { outline: 2px solid #667eea; outline-offset: 2px; } 