/*
* assets/css/profile/cards.css
* 
* DROPX PRIME SYSTEM - SŰRÍTETT PROFIL KÁRTYÁK, PROMÓCIÓS SÁV ÉS EMBEDDED SHARE STÍLUSOK (MODUL)
* 
* Ez a modul felelős az összes profil kártya, az adatsorok, a fül-választók, a megosztott posztok,
* az inline szerkesztő űrlapok és a több MiniWeb oldalt kezelő dinamikus lista vizuális megjelenítéséért.
* Szigorúan sűrített méretekkel dolgozik, megszünteti a túlcsordulásokat és a rétegződési hibákat.
* 
* JAVÍTÁSOK (V2.12 - INLINE MÓD ÉS MINIWEB DÖNTŐ FIX):
* - Szigorú módváltó logika: `.profile-section-card.in-edit-mode .data-row-display { display: none; }`
*   és `.profile-section-card:not(.in-edit-mode) .data-row-edit { display: none; }`, így a szerkesztő és a kijelző sosem látszik egyszerre!
* - Kompakt, több MiniWeb oldalt támogató dinamikus listastílusok (.miniweb-list-wrap, .miniweb-item-row).
* - Standardizált 14px-es és 16px-es ikon/favicon korlátozások a szétcsúszások ellen.
* - 0. Szabályzat szigorú betartása: Nincs szabály a stíluslapban!
* 
* VERZIÓ: 2.12 (Modularizált, tiszta stíluslap)
*/

/* 1. GLOBÁLIS SŰRÍTETT SZEKCIÓ KÁRTYÁK */
.profile-section-card {
    background: rgba(20, 18, 16, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-border-subtle);
    border-left: 3px solid var(--color-gold);
    padding: 8px 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.profile-section-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, transparent 50%, var(--color-gold) 50%);
    opacity: 0.1;
}

.profile-section-card h3 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(229, 158, 0, 0.15);
    padding-bottom: 4px;
}

.profile-section-card h3 svg,
.sidebar-sub-title svg,
.data-row svg,
.about-sub-tab-trigger svg,
.sidebar-data-header svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* 2. MEGJELENÍTÉSI ÉS SZERKESZTÉSI MÓDOK SZIGORÚ KAPCSOLÁSA */
.profile-section-card.in-edit-mode .data-row-display {
    display: none;
}

.profile-section-card:not(.in-edit-mode) .data-row-edit {
    display: none;
}

.sidebar-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(229, 158, 0, 0.15);
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.sidebar-data-header h3 {
    margin: 0;
    border: none;
    padding: 0;
}

/* 3. ADATSOROK ÉS DINAMIKUS MINIWEB ELEMEK */
.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 700;
    color: var(--color-silver);
    font-size: 0.75rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.data-value {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.75rem;
    text-align: right;
}

.data-value.highlight {
    color: var(--color-gold);
    text-shadow: 0 0 5px var(--color-gold-glow);
}

.value-small {
    font-size: 0.75rem;
}

/* Több MiniWeb dinamikus listája a profil adatoknál */
.miniweb-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.miniweb-item-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(229, 158, 0, 0.05);
    border: 1px solid rgba(229, 158, 0, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.miniweb-item-row:hover {
    background: rgba(229, 158, 0, 0.15);
    border-color: var(--color-gold);
}

.miniweb-item-favicon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    border-radius: 2px;
}

.miniweb-item-name {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
}

.text-muted-inline {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.donor-highlight {
    font-weight: 700;
    text-shadow: 0 0 5px var(--color-gold-glow);
}

/* 4. INLINE SZERKESZTŐ FORMOK ÉS BEVITELI MEZŐK */
.edit-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.edit-row:last-child {
    border-bottom: none;
}

.edit-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edit-locked-val {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.edit-inputs-wrap {
    display: flex;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.edit-input {
    flex: 1;
    background: #0d0d0d;
    border: 1px solid var(--color-border-subtle);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 6px;
    height: 24px;
    box-sizing: border-box;
}

.edit-input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.edit-select,
.edit-privacy-select {
    background: #0d0d0d;
    border: 1px solid var(--color-border-subtle);
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 4px;
    height: 24px;
    box-sizing: border-box;
}

.edit-select {
    flex: 1;
}

.edit-privacy-select {
    width: 90px;
}

.privacy-edit-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.compact-select {
    height: 20px;
    font-size: 0.68rem;
}

.edit-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 8px;
}

/* 5. ÁLLÓ PROMÓCIÓS SÁV ÉS MEGOSZTOTT POSZTOK */
.promotion-card {
    border-left-color: #00bcd4;
    background: rgba(0, 188, 212, 0.015);
    height: 100%;
}

.promo-sub-title {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.promotion-ads-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vertical-promo-ad {
    border: 1px solid rgba(0, 188, 212, 0.25);
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    text-align: center;
}

.promo-neon-banner {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 188, 212, 0.3);
    margin-bottom: 8px;
    border-radius: 2px;
}

.promo-banner-icon {
    width: 32px;
    height: 32px;
    color: #00bcd4;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 188, 212, 0.5));
}

.promo-banner-text {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.vertical-promo-ad h4 {
    color: #00bcd4;
    font-size: 0.75rem;
    margin: 0 0 3px 0;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
}

.vertical-promo-ad p {
    font-size: 0.65rem;
    color: var(--color-silver);
    margin: 0;
    line-height: 1.25;
}

/* 5/B. MEGOSZTOTT POSZT — UGYANAZ A POST-CARD STRUKTÚRA, MINT A NORMÁL POSZT */
.shared-parent-post-card.post-card {
    width: 100%;
    margin: 14px 0 0;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(229, 158, 0, 0.30);
    border-radius: 10px;
    background: rgba(12, 15, 19, 0.82);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.shared-parent-post-card.post-card:hover {
    border-color: rgba(229, 158, 0, 0.34);
    box-shadow: none;
}

.shared-parent-post-card .shared-parent-header {
    margin-bottom: 10px;
    padding: 0 0 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.shared-parent-post-card .post-author-info {
    gap: 10px;
}

.shared-parent-post-card .post-avatar.shared-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(229, 158, 0, 0.25);
}

.shared-avatar-link {
    display: block;
    flex: 0 0 36px;
    line-height: 0;
}

.shared-parent-post-card .shared-author-link-btn {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-light, #fff);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.shared-parent-post-card .shared-author-link-btn:hover {
    color: var(--color-gold);
}

.shared-parent-post-card .post-meta-sub {
    font-size: 0.65rem;
}

.shared-parent-post-card .shared-parent-text-content {
    margin: 0 0 10px;
}

.shared-parent-post-card .shared-parent-media-content {
    margin-top: 0;
}

.shared-parent-post-card .post-tile-gallery {
    margin: 0;
}

.shared-parent-post-card .parsed-post-image {
    cursor: zoom-in;
}

.shared-parent-post-card .parsed-youtube-facade {
    margin: 0;
}

.shared-deleted-state {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.76rem;
}

/* A megosztott kártya nem örökölje a normál poszt külső margóját és glow-ját. */
.shared-parent-post-card.post-card.pinned-post,
.shared-parent-post-card.post-card.is-sponsored,
.shared-parent-post-card.post-card.is-group-post {
    box-shadow: none;
}

/* 6. LEGÖRDÜLŐ MENÜK (SELECT/OPTION) EGYSÉGES FORMÁZÁSA */
select,
.settings-input,
option {
    background-color: #141210;
    color: #fff;
    border: 1px solid var(--color-border-subtle);
}

select option {
    background-color: #141210;
    color: #fff;
}