    html { scroll-behavior: smooth; }
        /* Responsive Table */
        .responsive-table {
        overflow-x: auto;
        margin-top: 20px;
        }

        /* Table Styling */
        .responsive-table table {
        width: 100%;
        border-collapse: collapse;
        font-size: 1rem;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        overflow: hidden;
        animation: fadeIn 1s ease-in-out;
        }

        .responsive-table th {
        background: linear-gradient(to right, #1e88e5, #42a5f5);
        color: #fff;
        padding: 14px;
        text-align: center;
        }

        .responsive-table td {
        padding: 12px;
        text-align: center;
        border-bottom: 1px solid #eee;
        }

        .responsive-table tr:nth-child(even) {
        background-color: #f9f9f9;
        }

        .responsive-table tr:hover {
        background-color: #e3f2fd;
        transition: background-color 0.3s ease;
        }

        /* Animation */
        @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
        }

        body { font-family: 'Sarabun', sans-serif; margin: 0; background: #f4f7f8; color: #2c3e50; }
        .header { background: linear-gradient(to right, #134e5e, #71b280); color: white; padding: 40px 20px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        .container { max-width: 700px; background: white; margin: 40px auto; padding: 40px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
        h1, h2 { color: #134e5e; }
        label { display: block; margin-top: 20px; font-weight: 600; font-size: 15px; }
        input[type="number"],
        input[type="date"] {
            width: 100%;
            padding: 12px 16px;
            margin-top: 8px;
            border-radius: 10px;
            border: 1px solid #ccc;
            background: #fdfdfd;
            transition: all 0.3s ease;
            font-size: 14px;
        }
        input[type="number"]:focus,
        input[type="date"]:focus {
            border-color: #71b280;
            box-shadow: 0 0 8px rgba(113,178,128,0.3);
            outline: none;
        }
        button {
            margin-top: 30px;
            padding: 12px 25px;
            background: #134e5e;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        button:hover {
            background: #0c3941;
        }
        .result { margin-top: 30px; font-size: 1.3em; color: #2c3e50; font-weight: bold; background: #e9f7ef; padding: 15px; border-left: 5px solid #2ecc71; border-radius: 8px; }
        .about { margin-top: 50px; font-size: 0.95em; color: #666; line-height: 1.7; }