/* Explain: Styles for various UI components, including admin interface elements. */
/* ============ Header ============ */
.site-topbar {
    background: var(--primary-deep);
    color: var(--text-on-dark-muted);
}

.topbar-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(225, 185, 75, 0.18);
}

.site-header {
    background: var(--primary-color);
    color: var(--text-on-dark);
}

.brand-title {
    color: var(--text-on-dark);
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.brand-sub {
    color: var(--logo-subtitle-color);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0;
    color: rgba(234, 241, 236, 0.86);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 200ms ease;
}

.nav-link:hover {
    color: var(--accent-bright);
}

.mobile-nav {
    background: var(--primary-deep);
    color: var(--text-on-dark);
}

.mobile-link {
    color: var(--text-on-dark);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 200ms ease;
}

.mobile-link:hover {
    color: var(--accent-bright);
}

/* ============ Typography helpers ============ */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 1.9rem;
    height: 2px;
    background: var(--accent-color);
    content: "";
}

/* ============ Panels and cards ============ */
.glass-panel {
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    padding: 1.05rem 1.2rem;
}

.stat-value {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-card {
    border-radius: 1.1rem;
    padding: 1.35rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 24px 60px rgba(7, 31, 23, 0.14);
    transform: translateY(-4px);
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.45rem 0.9rem;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fictional-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.14);
    padding: 0.7rem 1.1rem;
    color: var(--accent-hover);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
}

.site-footer .fictional-badge {
    color: var(--accent-bright);
}

/* ============ Data rows ============ */
.data-row {
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
}

.data-label {
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.data-value {
    margin-top: 0.3rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
}

/* ============ Imagery ============ */
.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--surface-soft);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    display: none;
}

.arch-frame-large {
    aspect-ratio: 4 / 5;
}

.arch-frame-medium {
    aspect-ratio: 4 / 5;
}

/* ============ Forms ============ */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.check-row input[type="checkbox"],
.check-row input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: #B4341F;
}

/* ============ Sections ============ */
.apply-card {
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.apply-note {
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-soft);
    padding: 1rem 1.15rem;
}

.hero-status-card {
    border: 1px solid var(--border-on-dark);
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    backdrop-filter: blur(8px);
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.fa-chevron-toggle {
    transition: transform 300ms ease;
}

details[open] .fa-chevron-toggle {
    transform: rotate(180deg);
}

.rich-text p {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.rich-text p:first-child {
    margin-top: 0;
}

.rich-text ul,
.rich-text ol {
    margin-top: 0.9rem;
    padding-left: 1.25rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ============ Munkáltatói (admin) felület ============ */
.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0 1.35rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.admin-tab:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.admin-tab.is-active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #1a1204;
}

/* ============ Jelentkezési adatlap nyomtatása ============ */
.admin-print-area {
    display: none;
}

.admin-print-doc {
    color: #000000;
    font-family: var(--font-body);
}

.admin-print-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-print-title {
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.15;
}

.admin-print-meta {
    margin-top: 0.35rem;
    font-size: 0.78rem;
}

.admin-print-table {
    width: 100%;
    margin-top: 1.1rem;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.admin-print-table th,
.admin-print-table td {
    border: 1px solid #9A9A9A;
    padding: 0.4rem 0.55rem;
    text-align: left;
    vertical-align: top;
}

.admin-print-table th {
    width: 34%;
    background: #F1F1F1;
    font-weight: 700;
}

.admin-print-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.55;
}

.admin-print-sign {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    font-size: 0.78rem;
}

.admin-print-sign span {
    flex: 1;
    border-top: 1px solid #555555;
    padding-top: 0.35rem;
}

@media print {
    @page {
        margin: 14mm;
    }

    html,
    body {
        background: #FFFFFF !important;
    }

    body * {
        visibility: hidden;
    }

    .admin-print-area,
    .admin-print-area * {
        visibility: visible;
    }

    .admin-print-area {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }
}