@import url('https:/* fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap'); */

.toggle-instructions:hover,
.toggle-marketplace:hover,
.toggle-borze:hover,
.toggle-gifts:hover,
.toggle-extras:hover,
.toggle-vitrin:hover,
.toggle-palyazatok:hover {
    background-color: #b8860b !important; /* Aranybarna */
    border-color: #b8860b !important;
    color: white !important;
}

img {
    background-color: transparent !important;
}


.kozcim {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 10px;
}

.szoveg {
    font-family: Lora, serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
}


.palyazatok-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f5f5f5;
    box-sizing: border-box;
	
}

.toggle-palyazatok {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto 10px auto; /* Alsó margó hozzáadása */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.palyazatok-list {
    display: flex; /* Flexbox elrendezés */
    flex-direction: column; /* Elemsorrend függőleges */
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
	
}

.palyazatok-row {
    background: var(--row-bg-color, #fff);
    border-radius: 5px;
    padding: 10px !important;
    border: 1px solid #ddd;
    width: 100%; /* A teljes konténer szélessége */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px; /* Hézag a sorok között */
	
}


.marketplace-container {
    margin-top: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    border: 0;
}

.toggle-instructions {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-marketplace {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.marketplace-content {
    display: none;
    margin-top: 10px;
    background-color: #c3bcaf;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.marketplace-content h3 {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin-bottom: 20px;
}

/* Piactér kártyák konténer */
.marketplace-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Kártyák formázása */
.marketplace-card {
    text-align: center;
    background: #d6cdbd;
/* border: 1px solid #ddd; */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: calc(25% - 10px);
    max-width: 140px;
}

/* Kártya képek */
.marketplace-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Talentum egyenleg blokk */
.talentum-balance {
    text-align: center;
    margin-bottom: 20px;
    padding: 5px;
    background: #d6cdbd;
/* border: 1px solid #d3d3d3; */
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #fff;
    font-weight: normal;
}

/* Ár megjelenítése */
.card-price {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* Vásárlás gomb */
.buy-card, .buy-borze-card, .buy-extra, .disabled-button {
    background-color: #28a745;
    color: white;
    padding: 8px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: inline-block;
    width: 100%;
    max-width: 120px;
    text-align: center;
}

.buy-card:hover, .buy-borze-card:hover, .buy-extra:hover {
    background-color: #218838;
}

/* Letiltott gomb */
.disabled-button {
    background-color: gray;
    cursor: not-allowed;
}


/* Extrák konténer – ugyanaz, mint a Piactér */
.extras-container {
    margin-top: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    border: 0;
}

/* Extrák tartalom */
.extras-content {
    display: none;
    margin-top: 10px;
    background-color: #c3bcaf;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

/* Extrák gomb */
.toggle-extras {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Vitrin konténer – ugyanaz, mint a Piactér */
.vitrin-container {
    margin-top: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    border: 0;
}

/* Vitrin tartalom */
.vitrin-content {
    display: none;
    margin-top: 10px;
    background-color: #c3bcaf;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

/* Vitrin gomb */
.toggle-vitrin {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* Reszponzív beállítások - Tableten (768px alatt) */
@media screen and (max-width: 768px) {
    .marketplace-card {
        width: calc(50% - 10px);
    }
    .buy-card, .disabled-button {
        font-size: 11px;
        padding: 6px 8px;
        max-width: 90px;
    }
}

/* Reszponzív beállítások - Mobilon (480px alatt) */
@media screen and (max-width: 480px) {
    .marketplace-card {
        width: calc(50% - 10px);
        max-width: 100px;
    }
    .buy-card, .disabled-button {
        font-size: 10px;
        padding: 5px 6px;
        max-width: 70px;
    }
}


.gifts-container {
    margin-top: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    border: 0;
}

.toggle-gifts {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gifts-content {
    display: none;
    margin-top: 10px;
    background-color: #c3bcaf;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.gifts-content h3 {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin-bottom: 20px;
}

.borze-container {
    margin-top: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    border: 0;
}

.borze-gifts {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-borze {
    background-color: #f8f9fa;
    color: #bbb;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.borze-content {
    display: none;
    margin-top: 10px;
    background-color: #c3bcaf;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.borze-content h3 {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin-bottom: 20px;
}

.daily-card {
    background-image: url('../png/poszto.png'); /* Ha a CSS az assets/css/ mappában van */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: 400px; /* Adj neki minimális magasságot, hogy látható legyen */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    padding: 15px;

    /* Középre igazítás */
/* display: flex; */
/* align-items: center; */
/* justify-content: center; */
    text-align: center;
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 80%;
}

.ornament-divider::before,
.ornament-divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #C9A44A;
}

.ornament-divider img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

.gift-wrapper {
    position: relative;
    display: inline-block;
}

/* Tooltip konténer */
.tooltip {
    visibility: hidden;
    background-color: white; /* Fehér háttér */
    color: black; /* Fekete szöveg */
    text-align: center;
    padding: 8px 12px; /* Több belső tér a szövegnek */
    border-radius: 8px; /* Lágy lekerekítés */
    position: absolute;
    bottom: calc(100% + 12px); /* Közvetlenül a kép felett, 12px távolsággal */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    font-size: 12px; /* Olvashatóbb betűméret */
    font-weight: normal;
    min-width: 180px; /* Minimális szélesség, hogy ne legyen túl keskeny */
    max-width: 220px; /* Ne legyen túl széles */
    min-height: 40px; /* Legalább 40px magas legyen */
    line-height: 1.3; /* Kellemes sorköz */
    white-space: normal; /* Több soros szöveg támogatása */
    z-index: 10;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Finom árnyék */
    border: 1px solid #ddd; /* Finom szürke keret */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Háromszög alakú nyíl */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Tooltip alján jelenik meg */
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Tooltip megjelenése egér fölé vitelkor */
.gift-wrapper:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


/* =======================
   UI Enhancements (plugin scope)
   ======================= */

/* 1) Daily card: center single images */
.daily-card > img,
.daily-card .daily-card-image,
.daily-card .daily-card-container img,
.daily-card img.daily-card-img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2) Crown icon centering under story cards */
.daily-card img[alt="Crown Icon"],
.daily-card img[src$="crown.png"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 3) Frontend messages (including Börze empty-state) – nicer font & center
   Note: override inline font via !important. */
.daily-card .borze-content > p,
.daily-card .vitrin-content > p,
.daily-card .extras-content > p,
.daily-card .marketplace-content > p,
.daily-card .borze-content p[style],
.daily-card .vitrin-content p[style],
.daily-card .extras-content p[style],
.daily-card .marketplace-content p[style] {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-align: center;
    color: #333 !important;
}

/* 4) General plugin paragraph improvements inside daily-card */
.daily-card p.szoveg {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

/* 5) Buttons inside plugin areas – subtle polish without changing brand colors */
.daily-card .buy-card,
.daily-card .buy-borze-card,
.daily-card .buy-extra,
.daily-card .disabled-button,
.borze-content .buy-borze-card,
.marketplace-content .buy-card {
    border-radius: 6px;
    font-weight: 600;
}

/* 6) Grids: keep centered alignment */
.marketplace-grid {
    justify-content: center;
}

/* 7) Ornament divider: keep centered */
.ornament-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   MINI NKA — egységes lenyíló menü stílus
   A főpanel alatti összes "Megtekintése" / "Bezár" gomb
   közös, elegáns kinézetet kap, harmonizálva a játékpanellel.
   ========================================================== */

.toggle-instructions,
.toggle-marketplace,
.toggle-borze,
.toggle-gifts,
.toggle-extras,
.toggle-vitrin,
.toggle-top-lista,
.toggle-palyazatok,
.toggle-informacio,
.toggle-aktiv-palyazatok {
    display: block !important;
    width: auto !important;
    min-width: 260px !important;
    max-width: 420px !important;
    margin: 12px auto !important;
    padding: 13px 56px 13px 24px !important;
    background: linear-gradient(180deg, #d6e2d2 0%, #b9cdb4 100%) !important;
    color: #2a4435 !important;
    border: 1px solid #8aa088 !important;
    border-radius: 12px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(41,74,66,.14), inset 0 1px 0 rgba(255,255,255,.45) !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
    text-transform: none !important;
}

.toggle-instructions:hover,
.toggle-marketplace:hover,
.toggle-borze:hover,
.toggle-gifts:hover,
.toggle-extras:hover,
.toggle-vitrin:hover,
.toggle-top-lista:hover,
.toggle-palyazatok:hover,
.toggle-informacio:hover,
.toggle-aktiv-palyazatok:hover {
    background: linear-gradient(180deg, #c9d8c4 0%, #a3bb9d 100%) !important;
    color: #1f3528 !important;
    border-color: #6f8a6d !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(41,74,66,.20), inset 0 1px 0 rgba(255,255,255,.45) !important;
}

.toggle-instructions:active,
.toggle-marketplace:active,
.toggle-borze:active,
.toggle-gifts:active,
.toggle-extras:active,
.toggle-vitrin:active,
.toggle-top-lista:active,
.toggle-palyazatok:active,
.toggle-informacio:active,
.toggle-aktiv-palyazatok:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(41,74,66,.16), inset 0 2px 4px rgba(0,0,0,.08) !important;
}

/* Lenyíló indikátor (chevron) — jobbra igazítva, forog ha nyitva */
.toggle-instructions::after,
.toggle-marketplace::after,
.toggle-borze::after,
.toggle-gifts::after,
.toggle-extras::after,
.toggle-vitrin::after,
.toggle-top-lista::after,
.toggle-palyazatok::after,
.toggle-informacio::after,
.toggle-aktiv-palyazatok::after {
    content: '▾';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b88c3a;
    font-size: 14px;
    transition: transform .2s ease;
    pointer-events: none;
}

.toggle-instructions.is-open::after,
.toggle-marketplace.is-open::after,
.toggle-borze.is-open::after,
.toggle-gifts.is-open::after,
.toggle-extras.is-open::after,
.toggle-vitrin.is-open::after,
.toggle-top-lista.is-open::after,
.toggle-palyazatok.is-open::after,
.toggle-informacio.is-open::after,
.toggle-aktiv-palyazatok.is-open::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Az aktív pályázatok widget táblázata */
.iguru-aktiv-palyazatok-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,.55);
    border-radius: 10px;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(120,79,46,.10);
}
.iguru-aktiv-palyazatok-table thead th {
    background: linear-gradient(180deg, #b88c4a 0%, #9e7530 100%);
    color: #fff8e6;
    font-weight: 700;
    padding: 10px 8px;
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #8d6720;
}
.iguru-aktiv-palyazatok-table tbody td {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(180,139,66,.20);
    color: #4a3520;
    vertical-align: middle;
}
.iguru-aktiv-palyazatok-table tbody tr:last-child td {
    border-bottom: 0;
}
.iguru-aktiv-palyazatok-table tbody tr:nth-child(even) td {
    background: rgba(244,234,210,.45);
}
.iguru-aktiv-palyazatok-table .iguru-budget-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255,255,255,.4), 0 1px 2px rgba(0,0,0,.18);
}
.iguru-aktiv-palyazatok-table .iguru-budget-dot.is-premium {
    background: #f0c400;
}
.iguru-aktiv-palyazatok-table .iguru-budget-dot.is-standard {
    background: #29ae49;
}
.iguru-aktiv-palyazatok-table td.budget-cell {
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}
.iguru-aktiv-palyazatok-empty {
    padding: 18px;
    text-align: center;
    color: #6b4f3b;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
}
.iguru-aktiv-palyazatok-footer {
    margin-top: 12px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
}
.iguru-aktiv-palyazatok-footer a {
    color: #8d6720;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #b99855;
}
.iguru-aktiv-palyazatok-footer a:hover {
    color: #5b4023;
    border-bottom-style: solid;
}

/* Az Információ widget */
.iguru-informacio-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.65;
    color: #3a2a17;
    padding: 6px 4px;
}
.iguru-informacio-content p {
    margin: 0 0 12px;
}
.iguru-informacio-content a {
    color: #8d6720;
    border-bottom: 1px dashed #b99855;
    text-decoration: none;
}
.iguru-informacio-content a:hover {
    color: #5b4023;
    border-bottom-style: solid;
}

/* Mobil */
@media (max-width: 768px) {
    .iguru-aktiv-palyazatok-table {
        font-size: 12px;
    }
    .iguru-aktiv-palyazatok-table thead th,
    .iguru-aktiv-palyazatok-table tbody td {
        padding: 7px 5px;
    }
    .toggle-instructions,
    .toggle-marketplace,
    .toggle-borze,
    .toggle-gifts,
    .toggle-extras,
    .toggle-vitrin,
    .toggle-top-lista,
    .toggle-palyazatok,
    .toggle-informacio,
    .toggle-aktiv-palyazatok {
        font-size: 14px !important;
        padding: 12px 18px !important;
    }
}

/* ==========================================================
   MINI NKA — mester-shortcode konténer
   A [mini_nka_menu] körbeöleli az egyes lenyíló szekciókat,
   és vizuálisan egységes blokkot képez belőlük.
   ========================================================== */

.mini-nka-menu {
    max-width: 1240px;
    margin: 18px auto;
    padding: 8px 0;
}

.mini-nka-menu__section {
    margin: 0;
}

/* A mester konténeren belül kicsivel szorosabb térköz a gombok közt */
.mini-nka-menu .toggle-instructions,
.mini-nka-menu .toggle-marketplace,
.mini-nka-menu .toggle-borze,
.mini-nka-menu .toggle-gifts,
.mini-nka-menu .toggle-extras,
.mini-nka-menu .toggle-vitrin,
.mini-nka-menu .toggle-top-lista,
.mini-nka-menu .toggle-palyazatok,
.mini-nka-menu .toggle-informacio,
.mini-nka-menu .toggle-aktiv-palyazatok {
    margin: 6px auto !important;
}

/* Az egyes szekciók saját konténerei (gifts-container, marketplace-container stb.)
   ne adjanak felesleges margin-t, hogy a gombok közelebb kerüljenek egymáshoz */
.mini-nka-menu .gifts-container,
.mini-nka-menu .marketplace-container,
.mini-nka-menu .extras-container,
.mini-nka-menu .borze-container,
.mini-nka-menu .vitrin-container,
.mini-nka-menu .top-lista-container,
.mini-nka-menu .instructions-container,
.mini-nka-menu .informacio-container,
.mini-nka-menu .aktiv-palyazatok-container {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
