/* ==========================================================================
   2. GOMBOK - PRÉMIUM NARANCS GLOW
   ========================================================================== */

/* Közös doboz-modell MINDEN fő akciógombra: azonos magasság (--btn-h),
   tartalomhoz igazodó szélesség (min-width, soha nem teljes szélesség). */
.btn-primary,
.btn-send,
.btn-save,
.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--btn-h);
    min-width: 132px;
    width: auto;
    padding: 0 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--radius-sharp);
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Elsődleges: SÖTÉT SZÜRKE márkagomb — 3D benyomott hatással */
.btn-primary,
.btn-send {
    color: #ffffff;
    background: var(--btn-grad-orange);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    border-bottom: 2px solid #0d0c0b;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mentés = ZÖLD (egységes szemantika: mentés zöld, törlés piros, teszt kék) */
.btn-save {
    color: #ffffff;
    background: var(--btn-grad-green);
    text-shadow: 0 1px 1px rgba(6, 60, 30, 0.35);
    box-shadow: var(--btn-gloss), 0 2px 14px rgba(22, 163, 74, 0.22);
}

.btn-primary:hover,
.btn-send:hover {
    filter: brightness(1.08);
    transform: translateY(1px);
    border-bottom-width: 1px;
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.2),
        0 0 3px rgba(0, 0, 0, 0.08);
}

.btn-save:hover {
    filter: brightness(1.06);
    box-shadow: var(--btn-gloss-hover), 0 4px 20px rgba(22, 163, 74, 0.34);
    transform: translateY(-1px);
}

.btn-primary:active,
.btn-send:active,
.btn-save:active {
    transform: translateY(0) scale(0.99);
}

/* Másodlagos: világos, kontúros — AZONOS magasság, halvány narancs fémcsík */
.btn-secondary {
    color: var(--steel-700);
    background: #ffffff;
    border: 1px solid var(--steel-200);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(27, 25, 23, 0.10);
}

.btn-secondary:hover {
    border-color: var(--steel-300);
    box-shadow: 0 2px 8px rgba(27, 25, 23, 0.08);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.99);
}

/* Teljes szélesség helyett tartalomhoz igazodó, középre zárt gomb
   (login/regisztráció űrlap, hero-cyber CTA). */
.btn-primary.btn-full,
.btn-send {
    display: flex;
    width: fit-content;
    min-width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.btn-send { margin-top: 14px; }

/* ==========================================================================
   4. KEZDŐLAP KÁRTYÁK BEVITELI MEZŐI
   ========================================================================== */

.box-grid .card form textarea,
.box-grid .card form input[type="text"] {
    margin-top: 10px;
    margin-bottom: 2px;
}

/* ==========================================================================
   5. ZÁSZLÓ IKONOK - PRÉMIUM ÜVEGHATÁS
   ========================================================================== */

.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: var(--radius-sharp, 4px);
    display: inline-block;
    vertical-align: middle;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.12);
    filter: saturate(1.15) contrast(1.05);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.lang-switcher-toggle,
.lang-switcher-menu a {
    position: relative;
    overflow: hidden;
}

.lang-switcher-toggle::before,
.lang-switcher-menu a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 22px;
    height: 15px;
    transform: translateY(-50%);
    border-radius: var(--radius-sharp, 4px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0.25) 100%
    );
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
    opacity: 0.9;
}

.lang-switcher-toggle::after,
.lang-switcher-menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 22px;
    height: 15px;
    transform: translateY(-50%);
    border-radius: var(--radius-sharp, 4px);
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.75) 50%,
        transparent 80%
    );
    background-size: 250% 100%;
    background-position: 150% 0;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    transition: background-position 0.6s ease;
}

.lang-switcher-toggle:hover::after,
.lang-switcher-menu a:hover::after {
    background-position: -50% 0;
}

.lang-switcher-toggle:hover .flag-icon,
.lang-switcher-menu a:hover .flag-icon {
    transform: scale(1.05);
    filter: saturate(1.3) contrast(1.1);
}

/* ==========================================================================
   6. HEADER - FELHASZNÁLÓI BADGE
   ========================================================================== */

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile-menu-container {
    position: relative;
    display: inline-block;
}

.user-badge {
    display: inline-flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 0;
}

.user-badge:hover,
.user-badge.active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(236, 227, 205, 0.35); /* Pale champagne border instead of orange! */
    box-shadow: 0 0 10px rgba(236, 227, 205, 0.12), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.user-badge-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.user-badge-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sharp, 4px);
    object-fit: cover;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.user-badge-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sharp, 4px);
}

.user-badge-avatar-placeholder svg {
    width: 16px;
    height: 16px;
}

.user-badge-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Profile Dropdown Menu */
.user-profile-dropdown {
    display: none;   /* a profil-menü JS-ből nyílik (style.display) */
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: #121315; /* Premium dark background */
    border: 1px solid rgba(236, 227, 205, 0.2); /* Muted champagne border */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.02);
    z-index: 1000;
    overflow: hidden;
    transform-origin: top right;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.user-profile-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
}

.dropdown-header-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.dropdown-header-email {
    display: block;
    font-size: 11px;
    color: var(--steel-400, #a39c93);
    word-break: break-all;
}

.user-profile-dropdown-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--steel-300, #dcd3c9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
    text-align: left;
}

.dropdown-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dropdown-menu-item i,
.dropdown-menu-item svg {
    width: 15px;
    height: 15px;
    color: var(--steel-400, #a39c93);
}



.user-profile-dropdown-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.01);
}

.dropdown-menu-item--logout:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
}

.dropdown-menu-item--logout:hover i,
.dropdown-menu-item--logout:hover svg {
    color: #f87171;
}

/* ==========================================================================
   7. COOKIE BANNER - PRÉMIUM ÜVEGDESIGN
   ========================================================================== */

/* Jobb alsó sarokban lebegő, nem blokkoló sáv (nincs sötétítő backdrop).
   A markup alapból hidden — csak a banner végi inline szkript kapcsolja
   láthatóra, ha nincs még hozzájárulás, így újratöltéskor sosem villan fel. */
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: min(440px, calc(100vw - 40px));
    display: flex;
    flex-direction: column;
}

.cookie-banner[hidden],
.cookie-banner--hidden {
    display: none;
}

.cookie-banner-inner {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--steel-200);
    border-radius: var(--radius-sharp);
    box-shadow: var(--shadow-modal);
    display: flex;
    flex-direction: column;
}

.cookie-banner-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(191, 176, 138, 0) 10%,
        rgba(191, 176, 138, 0.15) 25%,
        rgba(191, 176, 138, 0.35) 35%,
        rgba(191, 176, 138, 0.6) 43%,
        #ecdcb5 47%,
        #faf4e3 50%,
        #ecdcb5 53%,
        rgba(191, 176, 138, 0.6) 57%,
        rgba(191, 176, 138, 0.35) 65%,
        rgba(191, 176, 138, 0.15) 75%,
        rgba(191, 176, 138, 0) 85%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(191, 176, 138, 0.2);
}

.cookie-banner-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px;
}

.cookie-banner-main[hidden] {
    display: none;
}

.cookie-banner-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    width: 100%;
}

.cookie-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

/* Világos háttéren a logó mindenhol ugyanazt a mély szénbarnát kapja,
   mint a login hero (--steel-900) — a deboss effektet a base-ből örökli. */
.cookie-logo-wrapper .logo-kakastech-frontend {
    font-size: 32px;
    margin-bottom: 2px;
    color: var(--steel-900);
}

.cookie-banner-title {
    font-size: 18px;
    font-weight: 755;
    color: var(--steel-900);
    margin: 0;
    letter-spacing: -0.3px;
}

.cookie-banner-info-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--steel-600);
    margin: 0;
}

.cookie-banner-desc a {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-orange-soft);
    transition: border-bottom-color 0.15s ease;
}

.cookie-banner-desc a:hover {
    border-bottom-color: var(--accent-orange);
}

.cookie-purposes-box {
    background: var(--bg-card-alt);
    border: 1px solid var(--steel-100);
    border-radius: var(--radius-sharp);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-purposes-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--steel-900); /* volt --steel-850: sosem létezett a skálán (50..900) */
}

.cookie-purposes-list-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
}

.cookie-purposes-list-bullets li {
    font-size: 11.5px;
    color: var(--steel-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cookie-purposes-list-bullets li .purpose-icon {
    color: var(--accent-orange);
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.cookie-choices-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cookie-choice-card {
    background: var(--bg-card);
    border: 1px solid var(--steel-200);
    border-radius: var(--radius-sharp);
    padding: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Dobozon nincs hover (se narancs, se szürke keret/árnyék). */
.cookie-choice-card.premium-card {
    border-color: var(--steel-200);
}

.cookie-choice-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-choice-card .choice-title {
    font-size: 14.5px;
    font-weight: 750;
    color: var(--steel-900);
    margin: 0 0 8px 0;
}

.cookie-choice-card .choice-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--steel-500);
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.cookie-choice-card .choice-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
}

.cookie-settings-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.cookie-settings-link:hover {
    color: var(--accent-orange-strong);
}

.cookie-settings-link .icon-14 {
    width: 14px;
    height: 14px;
}

.cookie-login-hint {
    font-size: 11.5px;
    color: var(--steel-400);
}

.cookie-login-link {
    font-weight: 600;
    color: var(--accent-orange);
    text-decoration: underline;
    transition: color 0.15s ease;
}

.cookie-login-link:hover {
    color: var(--accent-orange-strong);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.cookie-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sharp);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    font-family: inherit;
    text-align: center;
    box-sizing: border-box;
}

.cookie-btn:active {
    transform: scale(0.98);
}

.cookie-btn--accept {
    background-color: var(--charcoal);
    color: #ffffff;
    border: none;
}

.cookie-btn--accept:hover {
    background-color: var(--accent-orange);
}

.cookie-btn--reject {
    background-color: var(--bg-card);
    color: var(--steel-700);
    border: 1px solid var(--steel-200);
}

.cookie-btn--reject:hover {
    background-color: var(--bg-card-alt);
    color: var(--steel-900);
    border-color: var(--steel-300);
}

.cookie-btn--settings {
    background-color: var(--bg-card);
    color: var(--steel-700);
    border: 1px solid var(--steel-200);
}

.cookie-btn--settings:hover {
    background-color: var(--bg-card-alt);
    color: var(--steel-900);
    border-color: var(--steel-300);
}

.cookie-btn--settings .icon-14 {
    width: 14px;
    height: 14px;
}

.cookie-banner-settings {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-settings[hidden] {
    display: none;
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--steel-100);
}

.cookie-settings-header h3 {
    font-size: 16px;
    font-weight: 750;
    color: var(--steel-900);
    margin: 0;
}

.cookie-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--bg-card-alt);
    border: 1px solid var(--steel-200);
    border-radius: var(--radius-sharp);
    color: var(--steel-500);
    cursor: pointer;
    transition: all 0.15s ease;
}

.cookie-back-btn:hover {
    background: var(--steel-100);
    color: var(--steel-900);
}

.cookie-back-btn svg {
    width: 14px;
    height: 14px;
}

.cookie-settings-body {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-settings-body::-webkit-scrollbar {
    width: 6px;
}

.cookie-settings-body::-webkit-scrollbar-track {
    background: var(--bg-card-alt);
    border-radius: var(--radius-sharp, 4px);
}

.cookie-settings-body::-webkit-scrollbar-thumb {
    background: var(--steel-200);
    border-radius: var(--radius-sharp, 4px);
}

.cookie-settings-body::-webkit-scrollbar-thumb:hover {
    background: var(--steel-300);
}

.cookie-category {
    padding: 12px 14px;
    background: var(--bg-card-alt);
    border: 1px solid var(--steel-100);
    border-radius: var(--radius-sharp);
}

.cookie-cat-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.cookie-cat-row > div:first-child {
    flex: 1;
    min-width: 0;
}

.cookie-cat-row strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--steel-900); /* volt --steel-850: sosem létezett a skálán (50..900) */
    margin-bottom: 2px;
}

.cookie-cat-row p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--steel-500);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-toggle input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.cookie-toggle span {
    position: absolute;
    inset: 0;
    background: var(--steel-200);
    border-radius: var(--radius-sharp);
    transition: background 0.2s ease;
    cursor: pointer;
}

.cookie-toggle span::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + span {
    background: var(--accent-orange);
}

.cookie-toggle input:checked + span::before {
    transform: translateX(16px);
}

.cookie-toggle--locked span {
    background: var(--success);
    cursor: not-allowed;
    opacity: 0.9;
}

.cookie-toggle--locked span::before {
    transform: translateX(16px);
}

.cookie-settings-footer {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--steel-100);
}

.cookie-settings-footer .cookie-btn {
    padding: 10px 18px;
    font-size: 13px;
}

.cookie-settings-footer .cookie-btn--reject {
    background: var(--bg-card);
    color: var(--steel-700);
    border: 1px solid var(--steel-200);
}

.cookie-settings-footer .cookie-btn--reject:hover {
    background: var(--steel-100);
}

.cookie-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sharp);
    background: var(--charcoal);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-reopen:hover {
    background: var(--charcoal-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.cookie-reopen svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

@keyframes cookieWobble {
    0% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.15) rotate(-15deg); }
    30% { transform: scale(1.15) rotate(15deg); }
    45% { transform: scale(1.15) rotate(-15deg); }
    60% { transform: scale(1.15) rotate(15deg); }
    75% { transform: scale(1.1) rotate(-8deg); }
    90% { transform: scale(1.1) rotate(8deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.cookie-reopen:hover svg {
    animation: cookieWobble 0.8s ease-in-out;
}

@media (max-width: 640px) {
    .cookie-banner {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .cookie-banner-main {
        padding: 20px;
        gap: 16px;
    }
    
    .cookie-banner-header {
        align-items: center;
        text-align: center;
    }
    
    .cookie-choices-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cookie-choice-card {
        padding: 14px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-banner-settings {
        padding: 20px;
    }
}

/* ==========================================================================
   8. CONTACT / TELEFON ELEMEK - FUTÓFÉNY HATÁS (NEM KERET)
   ========================================================================== */

/* 8.1 Telefon/contact elemek alap stílusa */
.contact-item,
.telefon-container,
[class*="telefon"],
[class*="contact"],
.phone-number {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 8.2 FUTÓFÉNY hatás - narancs csillanás ami végigmegy az elemen */
.contact-item::after,
.telefon-container::after,
[class*="telefon"]::after,
[class*="contact"]::after,
.phone-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(191, 176, 138, 0) 20%,
        rgba(191, 176, 138, 0.15) 40%,
        rgba(236, 220, 181, 0.3) 50%,
        rgba(191, 176, 138, 0.15) 60%,
        rgba(191, 176, 138, 0) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: inherit;
}

/* Hoverre a fény végigfut balról jobbra */
.contact-item:hover::after,
.telefon-container:hover::after,
[class*="telefon"]:hover::after,
[class*="contact"]:hover::after,
.phone-number:hover::after {
    left: 150%;
}

/* 8.3 Alternatív: fentről lefelé futó fény */
.contact-item-alt::after,
.telefon-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(191, 176, 138, 0) 20%,
        rgba(236, 220, 181, 0.25) 40%,
        rgba(224, 210, 170, 0.35) 50%,
        rgba(236, 220, 181, 0.25) 60%,
        rgba(191, 176, 138, 0) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    transition: top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: inherit;
}

.contact-item-alt:hover::after,
.telefon-card:hover::after {
    top: 150%;
}

/* 8.4 Csak egy vékony narancs csík alul - futófénnyel */
.phone-line {
    position: relative;
    padding-bottom: 4px;
}

.phone-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(191, 176, 138, 0.05) 30%,
        rgba(236, 220, 181, 0.2) 50%,
        rgba(191, 176, 138, 0.05) 70%,
        transparent 100%
    );
    transition: all 0.4s ease;
}

.phone-line:hover::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(191, 176, 138, 0.2) 20%,
        rgba(236, 220, 181, 0.5) 40%,
        #ecdcb5 50%,
        rgba(236, 220, 181, 0.5) 60%,
        rgba(191, 176, 138, 0.2) 80%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(191, 176, 138, 0.2);
    height: 1.5px;
}

/* 8.5 Extra: futó fény a szöveg alatt */
.glow-underline {
    position: relative;
    display: inline-block;
}

.glow-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(191, 176, 138, 0.1) 25%,
        rgba(236, 220, 181, 0.3) 50%,
        rgba(191, 176, 138, 0.1) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    background-position: 0% 0%;
    transition: background-position 0.6s ease;
}

.glow-underline:hover::after {
    background-position: 100% 0%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(191, 176, 138, 0.2) 15%,
        rgba(236, 220, 181, 0.5) 35%,
        #ecdcb5 50%,
        rgba(236, 220, 181, 0.5) 65%,
        rgba(191, 176, 138, 0.2) 85%,
        transparent 100%
    );
    height: 1.5px;
    box-shadow: 0 0 20px rgba(191, 176, 138, 0.15);
}

/* 8.6 Biztonsági override - NINCS narancs keret hoverre! */
.contact-item:hover,
.telefon-container:hover,
[class*="telefon"]:hover,
[class*="contact"]:hover,
.phone-number:hover {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

/* Ha esetleg más osztály adna hozzá keretet */
.contact-item:hover .border-orange,
.telefon-container:hover .border-orange {
    border-color: transparent;
}
/* ============================================================
   FOLLOW-ÉRTESÍTÉS BADGE — fejléc user-badge + profil-dropdown
   (olvasatlan követett-téma értesítések száma)
   ============================================================ */
.user-badge-notif,
.dropdown-notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    color: var(--charcoal, #161616);
    background: var(--accent-on-dark, #bfb08a);
    border-radius: var(--radius-sharp, 4px);
}

/* A dropdown-változat a menüsor jobb szélére tolja magát */
.dropdown-notif-count {
    margin-left: auto;
}

/* Fejléc kereső-gomb ikonpár: alapból a nagyító látszik, az X-et a JS
   kapcsolja be (style.display) — az induló állapot itt él, nem a markupban */
.header-search-toggle-btn .search-icon-close {
    display: none;
}

/* User-badge lenyíló-nyíl (korábban inline style volt a headerben) */
.user-badge-chevron {
    width: 14px;
    height: 14px;
    color: var(--steel-300);
    margin-left: 2px;
}
