/* CalWhat Calculator Platform - OvertimePayCalculator Specific Styles */
/* This file contains calculator-specific styles */

.main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }





        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 3px solid transparent;
            border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            border-image-slice: 1;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Form inputs */
        .form-label {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .form-input {
            width: 100%;
            padding: 12px 18px;
            border: 2px solid #48bb78;
            border-radius: 12px;
            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);
        }

        .form-select {
            width: 100%;
            padding: 12px 18px;
            border: 2px solid #48bb78;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
            cursor: pointer;
        }

        .form-select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .input-group {
            position: relative;
            margin-bottom: 25px;
        }

        .input-unit {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #718096;
            font-size: 0.9rem;
            pointer-events: none;
        }

        /* Buttons */


        /* Results */
        .result-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 20px;
            margin-bottom: 25px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .result-item:last-child {
            border-bottom: none;
        }

        .result-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .result-value.highlight {
            font-size: 2rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        /* Breakdown table */
        .breakdown-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .breakdown-table th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }

        .breakdown-table td {
            padding: 15px;
            border-bottom: 1px solid #e2e8f0;
        }

        .breakdown-table tr:last-child td {
            border-bottom: none;
        }

        .breakdown-table tr:hover {
            background: #f7fafc;
        }

        /* Labor law info box */
        .law-info-box {
            background: #edf2f7;
            border-left: 4px solid #667eea;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .law-info-title {
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .law-info-desc {
            color: #4a5568;
            line-height: 1.6;
            margin: 0;
        }

        /* Tips box */
        .tips-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 15px;
            padding: 25px;
            margin-top: 30px;
        }

        .tips-box .tip-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .tips-box .tip-item:last-child {
            margin-bottom: 0;
        }

        .tips-box .tip-item span {
            color: #78350f;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Chart container */
        .chart-container {
            position: relative;
            height: 300px;
            margin-top: 20px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2rem;
            }

            .page-header .subtitle {
                font-size: 1rem;
            }

            .glass-card {
                padding: 25px;
            }

            .section-title {
                font-size: 1.3rem;
            }

            .result-value {
                font-size: 1.2rem;
            }

            .result-value.highlight {
                font-size: 1.5rem;
            }
        }

        /* Salary type conditional display */
        .monthly-only {
            display: block;
        }

        .hourly-only {
            display: none;
        }

        .salary-type-hourly .monthly-only {
            display: none;
        }

        .salary-type-hourly .hourly-only {
            display: block;
        }