.bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    width: 0%;
    height: 100%;
    background: #4caf50;
    transition: width 0.3s ease;
}

.help-bubble {
    position: fixed;
    right: 25px;
    top: 120px;
    width: 280px;
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    z-index: 999;
    font-size: 14px;
}

.help-bubble h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.help-bubble ul {
    padding-left: 18px;
    margin: 0;
}

.help-bubble li {
    margin-bottom: 10px;
    line-height: 1.4;
}


body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eef2f7, #f8fbff);
    margin: 0;
    padding: 0;
    font-size: 16px;
}


/* ===== FORM ===== */

.form-box {
    max-width: 520px;
    width: 90%;
    margin: 10px auto;
    padding: 25px 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.form-box h2 {
    margin-bottom: 20px;
    color: #222;
}


.form-row {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}


.form-row label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}


.form-row input,
.form-row select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.2s;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    background: white;
    box-sizing: border-box;
    height: 46px;
}


.form-row input:focus,
.form-row select:focus {
    border-color: #4facfe;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79,172,254,0.2);
}


/* ===== BUTTONS ===== */

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


#downloadBtn {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}


/* ===== TABLES ===== */

#tables {
    max-width: 1700px;
    width: 95%;

    margin: 40px auto;
}

#tables iframe {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    border: 1px solid #ddd;
    display: block;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}


caption {
    text-align: left;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
}


th, td {
    padding: 14px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
}


th {
    background-color: #f7f9fc;
    font-weight: 600;
    color: #444;
}


tr:hover {
    background-color: #f9fbff;
}


/* ===== LINK BUTTON ===== */

.main-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}


.main-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,150,255,0.2);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .help-bubble {
        display: none;
    }


    body {
        font-size: 14px;
    }


    .form-box {
        width: 95%;
        padding: 15px;
    }


    .form-row label {
        font-size: 16px;
    }


    .form-row input,
    .form-row select {
        font-size: 16px;
        padding: 10px;
        height: 42px;
    }


    button {
        font-size: 16px;
        padding: 12px;
    }


    table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }


    th, td {
        padding: 8px;
    }

        #tables {
        width: 100%;
        margin: 20px auto;
    }


    #tables iframe {
        width: 100%;
        height: 70vh;
        min-height: 400px;
    }

}