.modal {
    display: none;
    position: fixed;
    z-index: 10;
    inset: 0;
    background: rgba(0,0,0,0.6);

    justify-content: center;
    align-items: center;

    overflow-y: auto; /* 🔥 KLUCZOWE */
    padding: 20px; /* żeby nie kleiło się do krawędzi */
}

.modalContent {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    position: relative;

    max-height: 95vh; /* 🔥 ograniczenie wysokości */
    overflow-y: auto; /* 🔥 scroll wewnątrz */
}

.closeModal {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 22px;
}

.processGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.processStep {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.processStep:hover {
    transform: translateY(-5px);
}

.stepNumber {
    width: 2.5rem;
    height: 2.5rem;
    background: #c6a75e;
    color: white;
    font-weight: 600;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.withdrawSection {
    padding: 2rem 0;
    background: #f9fafb;
}

.withdrawBox {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.withdrawIcon {
    min-width: 2.5rem;
    height: 2.5rem;
    background: #111827;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdrawBox h3 {
    margin-bottom: 8px;
}

.withdrawBox p {
    color: #4b5563;
}

@media (max-width: 768px) {
    .withdrawBox {
        flex-direction: column;
        text-align: center;
    }

    .tableWrapper::before{
    content:"← Przesuń tabelę aby zobaczyć więcej →";
    display:block;
    font-size:13px;
    color:#6b7280;
    margin-bottom:10px;
    }

    html {
        font-size: 18px;
    }
}


.tableWrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.compareTable {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.compareTable th,
.compareTable td {
    padding: .8rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: .9rem;
}

.compareTable th {
    background: #f9fafb;
    font-weight: 600;
}

.highlightRow {
    background: #f3f4f6;
    font-weight: 500;
}

.infoSection {
    background: white;
}

.infoRow {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.infoRow.reverse {
    grid-template-columns: 1fr 220px;
}

.infoRow.reverse .infoImage {
    order: 2;
}

.infoRow.reverse .infoContent {
    order: 1;
}

.infoImage img {
    width: 100%;
    max-width: 8rem;
}

.infoContent h2 {
    font-size: 1.3rem;
    margin-bottom: .85rem;
}

.infoContent p {
    color: #4b5563;
    margin-bottom: 12px;
}

/* MOBILE */

@media (max-width:768px) {

.infoRow,
.infoRow.reverse {
    grid-template-columns: 1fr;
    text-align: center;
}

.infoRow.reverse .infoImage,
.infoRow.reverse .infoContent {
    order: initial;
}

.infoImage img {
    margin: auto;
}


#orderForm {
    display: none;
}



}
