@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.kezelesi-terv-container {
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    width: 100%;
}

.kezelesi-terv-container a {
    text-decoration: none;
    color: #4ca959;
}

.kezelesi-terv-container h3 {
    font-size: 24px;
}

/* === Egységes szekció stílus === */
.section-box {
    padding: 1rem;
    background-color: #fcfcfc;
    border: 1px dashed #ccc;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #444;
}

.section-box h4 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #333;
}

/* === Alapadat boxok === */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-grid .box {
    flex: 1 1 calc(33.333% - 1rem);
}

.box-wrap {
    flex: 1 1 calc(33.333% - 1rem);
}

.box-wrap .section-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #444;
}

.box p {
    margin: 0.3rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* === Státusz badge === */
.status-badge {
    display: inline-block;
    padding: 0.3em 0.7em;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.status-tervezett, .status-publikalva {
    background-color: #999;
}

.status-uj, .status-megrendelve, .status-modositando {
    background-color: #ef4630;
}

.status-leadva, .status-jovahagyva, .status-elfogadva {
    background-color: #ff9800;
}

.status-folyamatban, .status-teljesites, .status-szallitas, .status-folyamatban {
    background-color: #2196f3;
}

.status-kiszallitva, .status-lezarva {
    background-color: #4caf50;
}

/* === Rendelés lista === */
.rendelesek {
    margin-bottom: 2rem;
}

.rendeles-kartya {
    max-width: 800px;
    margin: 0 0 1rem 0;
    border: 1px solid #ddd;
    border-left: 4px solid #bbb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    background: #fff;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rendeles-kartya .bal-oldal {
    flex: 1 1 auto;
}

.rendeles-kartya .bal-oldal .fejlec {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rendeles-kartya .bal-oldal .kezdes {
    font-size: 0.95rem;
    color: #555;
}

.rendeles-kartya .jobb-oldal {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.rendeles-kartya .jobb-oldal .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: #61ce70;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.rendeles-kartya .jobb-oldal .btn:hover {
    background: #4fa95a;
}

.rendeles-kartya .jobb-oldal .rendeles-btn {
    background: #ff9800;
}

.rendeles-kartya .jobb-oldal .rendeles-btn:hover {
    background: #de8501;
}

.status-sor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.status-sor .kezdes {
    font-size: 0.92rem;
    color: #555;
}

.ajanlat-megjegyzes {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff8e1;
    border: 1px dashed #ffcc80;
    border-radius: 6px;
    font-size: 0.95rem;
}

.ajanlat-megjegyzes p {
    margin: 0.3rem 0;
}

/* === Összesítő === */
.osszefoglalas {
    composes: section-box;
}

.osszefoglalas p {
    margin: 0.5rem 0;
}

.osszefoglalas .osszeg-kiemelt {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.osszefoglalas .csatolt-linkek {
    margin-top: 0.5rem;
}

.osszefoglalas .csatolt-linkek a,
.latvanyterv a,
.szamla {
    color: #4ca959;
    text-decoration: none;
    font-weight: 500;
}

.osszefoglalas .csatolt-linkek a:hover {
    text-decoration: underline;
}

/* === Válasz az ajánlatra === */
.interakcio-box {
    composes: section-box;
}

.valasz-gombok {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.valasz-blokk textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.elfogadas-megerosites label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.interakcio-box .btn {
    margin-right: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #61ce70;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.interakcio-box .btn:hover {
    background: #218838;
}

.interakcio-box .btn-modosit {
    background-color: #ff9800;
}

.interakcio-box .btn-modosit:hover {
    background-color: #de8501;
}

.elfogadas-megerosites {
    margin-bottom: 1rem;
}

.elfogadas-megerosites label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.elfogadas-megerosites input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* === Csatolt fájlok === */
.csatolt-fajlok {
    composes: section-box;
}

.csatolt-fajlok h3 {
    margin-bottom: 0.75rem;
}

.csatolt-fajlok h4 {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    color: #333;
}

.csatolt-fajlok ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.csatolt-fajlok li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.csatolt-fajlok a {
    color: #4ca959;
    font-weight: 500;
    text-decoration: none;
}

.csatolt-fajlok a:hover {
    text-decoration: underline;
}

.fajl-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.fajl-grid .fajl-box {
    flex: 1 1 calc(33.333% - 1rem);
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 0.75rem;
}

.fajl-grid .fajl-box h4 {
    margin-top: 0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.fajl-grid .fajl-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fajl-grid .fajl-box li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

/* === Kérdőív === */
.kerdoiv-box {
    padding: 1rem;
    background-color: #fcfcfc;
    border: 1px dashed #ccc;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.kerdoiv-box p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.kerdoiv-box strong {
    color: #444;
}

/* ACF mező konténer */
.acf-form .acf-field {
    margin-bottom: 1.2rem;
}

/* Label */
.acf-form .acf-label label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    display: block;
}

/* Input, textarea, datepicker */
.acf-form .acf-input input[type="text"],
.acf-form .acf-input input[type="date"],
.acf-form .acf-input input[type="number"],
.acf-form .acf-input textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

/* Datepicker input (ACF generálja) */
.acf-form .acf-input .hasDatepicker {
    width: 100%;
}

/* Submit gomb (meglévő UI szerint) */
.acf-form .acf-form-submit .btn-green {
    background-color: #34c759;
    color: #fff;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.acf-form .acf-form-submit .btn-green:hover {
    background-color: #28a745;
}

.elementor-post-navigation {
    transform: rotate(180deg);
}


