/* ING.A cjenik */
.inga-pricing {
    --inga-accent: #202020;
    --inga-accent-hover: #444;
    padding: 70px 0;
}

.inga-pricing__title {
    margin-bottom: 30px;
    text-align: center;
}

.inga-pricing__title h1 {
    margin-bottom: 10px;
}

.inga-pricing__title p {
    color: #666;
}

/* CSV preuzimanje i arhiva */
.inga-csv {
    margin-bottom: 30px;
    padding: 28px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.inga-csv__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.inga-csv__heading h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.3;
}

.inga-csv__heading p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.inga-csv__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    background: var(--inga-accent);
    border: 1px solid var(--inga-accent);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.inga-csv__button:hover:not(:disabled) {
    color: #fff;
    background: var(--inga-accent-hover);
    border-color: var(--inga-accent-hover);
}

.inga-csv__button:focus-visible,
.inga-csv__archive select:focus-visible {
    outline: 2px solid var(--inga-accent);
    outline-offset: 3px;
}

.inga-csv__button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.inga-csv__button[hidden] {
    display: none !important;
}

.inga-csv__archive {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.inga-csv__archive label {
    display: block;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
}

.inga-csv__archive-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inga-csv__archive select {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;
    color: #333;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

/* Tablica na računalu */
.inga-table-wrap {
    overflow-x: auto;
}

.inga-cjenik-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #333;
}

.inga-cjenik-table th,
.inga-cjenik-table td {
    padding: 17px 14px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e8e8e8;
}

.inga-cjenik-table th {
    background: #f3f3f3;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.inga-cjenik-table td {
    font-size: 15px;
    line-height: 1.6;
}

.inga-cjenik-table th:nth-child(1) {
    width: 40%;
}

.inga-cjenik-table th:nth-child(2) {
    width: 12%;
}

.inga-cjenik-table th:nth-child(3) {
    width: 19%;
}

.inga-cjenik-table th:nth-child(4) {
    width: 29%;
}

.inga-cjenik-table th:nth-child(3),
.inga-cjenik-table th:nth-child(4),
.inga-cjenik-table .inga-cjenik-price {
    text-align: right;
}

.inga-cjenik-table td:first-child {
    font-weight: 600;
}

.inga-cjenik-table tbody tr:hover {
    background: #fafafa;
}

.inga-pricing__note {
    margin-top: 22px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Kartice na mobitelu */
@media (max-width: 767px) {
    .inga-pricing {
        padding: 45px 0;
    }

    .inga-csv {
        padding: 22px 18px;
    }

    .inga-csv__heading,
    .inga-csv__archive-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .inga-csv__button {
        width: 100%;
    }

    .inga-csv__heading h2 {
        font-size: 20px;
    }

    .inga-table-wrap {
        overflow: visible;
    }

    .inga-cjenik-table,
    .inga-cjenik-table tbody {
        display: block;
        width: 100%;
    }

    .inga-cjenik-table thead {
        display: none;
    }

    .inga-cjenik-table tr {
        display: block;
        margin-bottom: 16px;
        padding: 16px;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
    }

    .inga-cjenik-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 11px 0;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .inga-cjenik-table td::before {
        content: attr(data-label);
        flex: 0 0 52%;
        color: #666;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.6;
        text-align: left;
    }

    .inga-cjenik-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .inga-cjenik-table td:first-child {
        display: block;
        padding-top: 0;
        padding-bottom: 14px;
        text-align: left;
    }

    .inga-cjenik-table td:first-child::before {
        display: block;
        margin-bottom: 5px;
        text-align: left;
    }

    .inga-cjenik-table td:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .inga-cjenik-table td[colspan] {
        display: block;
        text-align: left;
    }

    .inga-cjenik-table td[colspan]::before {
        content: none;
    }
}