/* CalWhat Calculator Platform - DiscountCalculator Specific Styles */
/* This file contains calculator-specific styles */


        /* ========== 輸入欄位 ========== */
        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: flex;
            align-items: center;
            font-weight: 600;
            margin-bottom: 8px;
            color: #2d3748;
            font-size: 0.95rem;
        }

        .form-label i {
            margin-right: 8px;
            color: #667eea;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #48bb78;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
        }

        .form-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .input-group {
            position: relative;
        }

        .input-unit {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #718096;
            font-size: 0.95rem;
            pointer-events: none;
        }

        /* ========== Tab Navigation ========== */
        .discount-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #e2e8f0;
            flex-wrap: wrap;
        }

        .discount-tab {
            padding: 12px 20px;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: #718096;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .discount-tab:hover {
            color: #667eea;
        }

        .discount-tab.active {
            color: #667eea;
            border-bottom-color: #667eea;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        /* ========== Quick Select Buttons ========== */
        .quick-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .quick-btn {
            padding: 8px 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        }

        .quick-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        /* ========== 結果顯示 ========== */
        .result-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            padding: 30px;
            color: white;
            position: sticky;
            top: 20px;
        }

        .result-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .result-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .result-label {
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .result-value {
            font-size: 1.3rem;
            font-weight: 700;
        }

        .result-highlight {
            font-size: 2rem;
            color: #ffd700;
        }

        .savings-message {
            text-align: center;
            font-size: 1.5rem;
            margin: 20px 0;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
        }

        /* ========== Progress Bar ========== */
        .discount-bar-container {
            margin: 20px 0;
        }

        .discount-bar-label {
            text-align: center;
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        .discount-bar {
            height: 30px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            overflow: hidden;
            position: relative;
        }

        .discount-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #ffd700 0%, #ff6b6b 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            transition: width 0.6s ease;
            font-size: 0.85rem;
        }

        /* ========== Chart Container ========== */
        .chart-container {
            position: relative;
            height: 280px;
            margin: 20px 0;
        }


        /* ========== 動畫 ========== */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* ========== 響應式設計 ========== */
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2rem;
            }

            .page-header .subtitle {
                font-size: 0.95rem;
            }

            .glass-card {
                padding: 20px;
            }

            .result-section {
                position: static;
            }

            .discount-tabs {
                flex-direction: column;
            }

            .discount-tab {
                width: 100%;
                text-align: center;
            }

            .quick-buttons {
                justify-content: center;
            }
        }

        /* ========== SEO Content Section ========== */
        .content-section {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-top: 40px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        }

        .content-section h2 {
            font-size: 1.8rem;
            color: #2d3748;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .content-section h3 {
            font-size: 1.4rem;
            color: #4a5568;
            margin-top: 30px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .content-section p,
        .content-section li {
            color: #4a5568;
            line-height: 1.8;
            margin-bottom: 15px;
        }

        .content-section ul {
            padding-left: 30px;
        }

        .faq-item {
            margin-bottom: 20px;
            padding: 20px;
            background: #f7fafc;
            border-radius: 10px;
            border-left: 4px solid #667eea;
        }

        .faq-question {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 10px;
        }

        .faq-answer {
            color: #4a5568;
            line-height: 1.8;
        }