.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; /* większy tekst globalnie */

}

/* ===== FORM ===== */
.form-box {
    width: 520px;
    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 {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.2s;
    font-size: 20px;
}

.form-row input: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;
    margin: 40px auto;
}

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-bottom: 1px solid #f0f0f0;
    border: 1px solid #ccc;



}

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


}

tr:hover {
    background-color: #f9fbff;

}



.main-btn {
    display: inline-block; /* Dzięki temu przycisk dopasowuje się do tekstu */
    padding: 8px 16px;     /* Wewnętrzne marginesy tworzą kształt prostokąta */
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: white;
    text-decoration: none; /* Usuwa podkreślenie linku */
    border-radius: 6px;    /* Delikatne zaokrąglenie rogów */
    font-weight: 500;
    font-size: 14px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.main-btn:hover {
    filter: brightness(1.1); /* Delikatne rozjaśnienie po najechaniu */
    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 {
        font-size: 16px;
        padding: 10px;
    }

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

    table {
        font-size: 12px;
        display: block;
        overflow-x: auto; /* 🔥 ważne */
        white-space: nowrap;
    }

    th, td {
        padding: 8px;
    }
}