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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px;
            color: #333;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 300;
        }

        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .main-content {
            padding: 40px;
        }

        .calculator-section {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            border-left: 5px solid #4a7c59;
        }

        .calculator-section h2 {
            color: #2c5530;
            font-size: 1.8rem;
            margin-bottom: 25px;
            font-weight: 400;
        }

        .input-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .input-field {
            display: flex;
            flex-direction: column;
        }

        .input-field label {
            font-weight: 600;
            margin-bottom: 8px;
            color: #555;
            font-size: 1rem;
        }

        .input-field input, .input-field select {
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
            background: white;
        }

        .input-field input:focus, .input-field select:focus {
            outline: none;
            border-color: #4a7c59;
        }

        .result-field {
            background: #e8f5e8;
            border: 2px solid #4a7c59;
            border-radius: 8px;
            padding: 12px 15px;
            font-weight: 600;
            color: #2c5530;
            font-size: 1rem;
        }

        .unit {
            font-size: 0.9rem;
            color: #666;
            margin-left: 5px;
        }

        .dli-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .dli-table th {
            background: #4a7c59;
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 500;
        }

        .dli-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
        }

        .dli-table tbody tr:hover {
            background: #f8f9fa;
        }

        .dli-table tbody tr:nth-child(even) {
            background: #f9f9f9;
        }

        .lux-results {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .lux-result-item {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border: 2px solid #e0e0e0;
            text-align: center;
        }

        .lux-result-item h4 {
            color: #2c5530;
            margin-bottom: 10px;
        }

        .lux-result-value {
            font-size: 1.5rem;
            font-weight: 600;
            color: #4a7c59;
        }

        @media (max-width: 768px) {
            .input-group {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 2rem;
            }

            .main-content {
                padding: 20px;
            }

            .calculator-section {
                padding: 20px;
            }

            .lux-results {
                grid-template-columns: 1fr;
            }

            .dli-table {
                font-size: 0.9rem;
            }

            .dli-table th,
            .dli-table td {
                padding: 10px;
            }
        }

        .info-text {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
            color: #856404;
        }

        .conversion-factor {
            font-size: 0.85rem;
            color: #666;
            font-style: italic;
            margin-top: 5px;
        }

        /* Tab styles */
        .tab-container {
            margin-bottom: 30px;
        }

        .tab-nav {
            display: flex;
            background: #f8f9fa;
            border-radius: 10px 10px 0 0;
            overflow: hidden;
            border: 2px solid #e0e0e0;
            border-bottom: none;
        }

        .tab-button {
            flex: 1;
            padding: 15px 20px;
            background: #f8f9fa;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            color: #666;
            transition: all 0.3s ease;
            border-right: 1px solid #e0e0e0;
        }

        .tab-button:last-child {
            border-right: none;
        }

        .tab-button.active {
            background: #4a7c59;
            color: white;
        }

        .tab-button:hover:not(.active) {
            background: #e8f5e8;
            color: #2c5530;
        }

        .tab-content {
            display: none;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 0 0 10px 10px;
            padding: 30px;
        }

        .tab-content.active {
            display: block;
        }

        .tab-content h2 {
            margin-top: 0;
        }