/*
 * Publikus ingatlan illeték kalkulátor
 * Fájl: /resources/public/css/illetek-kalkulator.css
 */

.illetek-oldal {
    max-width: 1100px;
    margin: 0 auto;
}

.illetek-hero {
    margin-bottom: 24px;
    padding: 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.illetek-kisfejlec,
.illetek-eredmeny-kisfejlec {
    margin: 0 0 6px;
    color: #5273a3;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.illetek-hero h1 {
    margin: 0 0 12px;
    color: #18243a;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.illetek-hero-bevezeto {
    max-width: 850px;
    margin: 0;
    color: #475467;
    font-size: 17px;
}

.illetek-figyelmeztetes {
    margin-top: 20px;
    padding: 14px 16px;
    color: #6f4d00;
    background: #fff7df;
    border: 1px solid #f0d790;
    border-radius: 10px;
}

.illetek-kalkulator-elrendezes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.illetek-form {
    min-width: 0;
}

.illetek-blokk {
    margin: 0 0 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dce2ee;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.045);
}

.illetek-blokk[hidden],
.illetek-felteteles-resz[hidden],
.illetek-mezo[hidden],
.illetek-kapcsolo[hidden] {
    display: none !important;
}

.illetek-blokk legend {
    padding: 0 8px;
    color: #18243a;
    font-size: 17px;
    font-weight: 700;
}

.illetek-mezo {
    margin-bottom: 16px;
}

.illetek-mezo:last-child {
    margin-bottom: 0;
}

.illetek-mezo label {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-weight: 700;
}

.illetek-mezo input,
.illetek-mezo select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    color: #1d2939;
    background: #fff;
    border: 1px solid #cfd7e5;
    border-radius: 8px;
    font: inherit;
}

.illetek-mezo input:focus,
.illetek-mezo select:focus {
    outline: 2px solid rgba(62, 105, 173, 0.22);
    outline-offset: 1px;
    border-color: #5d83ba;
}

.illetek-mezo small,
.illetek-kapcsolo small {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.illetek-ertek-mezo {
    display: flex;
    align-items: stretch;
}

.illetek-ertek-mezo input {
    min-width: 0;
    border-radius: 8px 0 0 8px;
}

.illetek-ertek-mezo > span {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #475467;
    background: #f2f4f7;
    border: 1px solid #cfd7e5;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
}

.illetek-kapcsolo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 11px 12px;
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 9px;
    cursor: pointer;
}

.illetek-kapcsolo:last-child {
    margin-bottom: 0;
}

.illetek-kapcsolo input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: #315f9d;
}

.illetek-kapcsolo strong {
    display: block;
    color: #344054;
}

.illetek-felteteles-resz {
    margin: 0 0 14px 28px;
    padding: 14px 14px 2px;
    background: #fbfcfe;
    border-left: 3px solid #b7c8df;
}

.illetek-hibas-mezo input,
.illetek-hibas-mezo select,
.illetek-hibas-mezo.illetek-kapcsolo {
    border-color: #c83b3b;
}

.illetek-gombok {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.illetek-gomb {
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.illetek-gomb:disabled {
    opacity: 0.48;
    cursor: default;
}

.illetek-gomb-fo {
    color: #fff;
    background: #285b9c;
}

.illetek-gomb-fo:hover:not(:disabled) {
    background: #214d86;
}

.illetek-gomb-mellek {
    color: #244c7c;
    background: #e8f0fa;
}

.illetek-gomb-vissza {
    color: #475467;
    background: #eceff3;
}

.illetek-eredmeny-oszlop {
    min-width: 0;
}

.illetek-eredmeny {
    position: sticky;
    top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dce2ee;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.illetek-eredmeny h2 {
    margin: 0 0 10px;
    color: #18243a;
    font-size: 24px;
}

.illetek-statusz {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.illetek-statusz-ok {
    color: #146c2e;
    background: #e8f7ed;
}

.illetek-statusz-info {
    color: #245486;
    background: #e9f2fb;
}

.illetek-statusz-figyelem {
    color: #7a5000;
    background: #fff4d6;
}

.illetek-statusz-hiba {
    color: #8e1e1e;
    background: #ffe7e7;
}

.illetek-eredmeny-sorok {
    margin: 10px 0 0;
    border-top: 1px solid #e4e9f1;
}

.illetek-eredmeny-sor {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #e4e9f1;
}

.illetek-eredmeny-sor span {
    color: #667085;
}

.illetek-eredmeny-sor strong {
    color: #1d2939;
    text-align: right;
}

.illetek-eredmeny-sor-fo {
    margin-top: 4px;
    padding-top: 15px;
}

.illetek-eredmeny-sor-fo strong {
    color: #1e5c38;
    font-size: 22px;
}

.illetek-eredmeny-lista {
    margin-top: 18px;
}

.illetek-eredmeny-lista h3 {
    margin: 0 0 7px;
    color: #344054;
    font-size: 15px;
}

.illetek-eredmeny-lista ul {
    margin: 0;
    padding-left: 20px;
}

.illetek-eredmeny-lista li {
    margin: 5px 0;
}

.illetek-eredmeny-lista-hiba {
    color: #8e1e1e;
}

.illetek-eredmeny-lista-figyelem {
    color: #6f4d00;
}

.illetek-eredmeny-megjegyzes {
    margin-top: 18px;
    padding-top: 14px;
    color: #667085;
    border-top: 1px solid #e4e9f1;
    font-size: 12px;
    line-height: 1.5;
}

.illetek-reszletfizetes {
    margin-top: 14px;
    padding: 12px;
    color: #245486;
    background: #eef5fc;
    border-radius: 8px;
}

.illetek-tudnivalok {
    margin-top: 10px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.illetek-tudnivalok > h2 {
    margin: 0 0 18px;
    color: #18243a;
}

.illetek-tudnivalok-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.illetek-tudnivalok article {
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.illetek-tudnivalok h3 {
    margin: 0 0 8px;
    color: #344054;
    font-size: 17px;
}

.illetek-tudnivalok p {
    margin: 0;
    color: #566174;
}

.illetek-forras-linkek {
    display: grid;
    gap: 7px;
    margin-top: 12px !important;
}

.illetek-forras-linkek a {
    color: #285b9c;
}

.illetek-noscript {
    margin-top: 20px;
    padding: 14px 16px;
    color: #8e1e1e;
    background: #ffe7e7;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .illetek-kalkulator-elrendezes {
        grid-template-columns: 1fr;
    }

    .illetek-eredmeny {
        position: static;
    }

    .illetek-tudnivalok-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .illetek-hero,
    .illetek-blokk,
    .illetek-eredmeny,
    .illetek-tudnivalok {
        padding: 18px;
    }

    .illetek-gombok {
        display: grid;
        grid-template-columns: 1fr;
    }

    .illetek-gomb {
        width: 100%;
    }

    .illetek-eredmeny-sor {
        display: block;
    }

    .illetek-eredmeny-sor strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .illetek-felteteles-resz {
        margin-left: 0;
    }
}