@font-face {
    font-family: "Major";
    src: url("/fonts/MajorMonoDisplay-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Doto";
    src: url("/fonts/Doto-VariableFont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Anta";
    src: url("/fonts/Anta-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* html {
    font-size: 16px;
} */
/* Alapértelmezett (mobil) */
html {
    font-size: 14px;
}

/* Tablet */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

/* Laptop */
@media (min-width: 992px) {
    html {
        font-size: 13px;
    }
}

/* PC / Desktop */
@media (min-width: 1200px) {
    html {
        font-size: 16px;
    }
}

/* Nagy monitor */
@media (min-width: 1400px) {
    html {
        font-size: 18px;
    }
}

body {
    background-color: antiquewhite;
    position: relative;
    min-height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/logo-white.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 500px;
    opacity: 0.5; /* csak a kép lesz áttetsző */
    pointer-events: none; /* ne zavarja a kattintást */
    z-index: -1; /* háttérbe kerül */
}
@media (max-width: 600px) {
    body::before {
        background-size: 300px auto; /* mobilon 300px széles */
    }
}

/* Alapállapot: legyen transition */
.container-fluid,
nav,
.card,
.row {
    opacity: 1;
    transition: opacity 1.2s ease; /* hosszabb fade */
}


/* Induláskor legyen rejtve */
.preload-hidden .container-fluid,
.preload-hidden nav,
.preload-hidden .card,
.preload-hidden .row {
    opacity: 0;
}

/* navbar background */
.navbar-background {
    background: radial-gradient(circle, #496786 0%, #000000 100%);
    /* Vagy egy kicsit kékebb verzió: */
    /* background: radial-gradient(circle, #232d39 0%, #111418 100%); */
}

.hc-logo {
    width: 150px;
    max-width: 100%; /* kis képernyőn összemegy a rendelkezésre álló helyre */
    height: auto;
}

.hc-box-shadow {
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.37);
}

.hc-card-header {
    font-family: "Doto", monospace;
    background-color: darkslategrey;
    font-weight: bold;
    color: beige;
}

.hc-utc-time {
    /* font-family: "Major", monospace; */
    /* font-size: clamp(3rem, 8vw, 6rem); */
    font-size: 5.0rem;
    font-weight: bolder;
    line-height: 1;
}

.hc-utc-date {
    /* font-family: "Anta", monospace; */
    font-weight: bold;
}

.hc-report {
    /* font-family: "Anta", monospace; */
    font-weight: bold;
    /* font-size: clamp(3rem, 8vw, 6rem); */
    font-size: 5.0rem;
    line-height: 1;
    text-transform: uppercase;
}

.hc-callsign {
    /* font-family: "Anta", monospace; */
    font-weight: bold;
    /* font-size: clamp(3rem, 8vw, 6rem); */
    font-size: 5.0rem;
    line-height: 1;
    text-transform: uppercase;
}

.hc-mid-height {
    height: 200px;
}
@media (max-width: 576px) {
    .hc-mid-height {
        height: 150px;
    }
}

.hc-large-height {
    height: 280px;
}

.hc-input-capital {
    text-transform: uppercase;
}

.hc-cluster-card {
    height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
}

.hc-cluster-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* fontos! */
}

#cluster-scroll {
    flex: 1;
    overflow-y: auto;
}

.hc-cluster-table th, td {
    font-size: 0.8rem;
}


/* Visszaszámláló figyelmeztetés: 5 percen belül sötétsárga, 1 percen belül piros fehér betűvel */
.hc-countdown-warning {
    background-color: #e6b400 !important;
}

.hc-countdown-alert {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* Lejáratkor 1 másodpercre piros a program háttere */
body.hc-countdown-flash {
    background-color: red;
}

/* Propagációs mérőműszerek */
.hc-gauge {
    flex: 1;
    text-align: center;
}

.hc-gauge-svg {
    display: block;
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 0 auto;
}

.hc-gauge-large .hc-gauge-svg {
    max-width: 150px;
}

.hc-gauge-large .hc-gauge-label {
    font-size: 1rem;
}

/* Összetartozó műszerek csoportja, felette középen a csoport neve */
.hc-gauge-group {
    padding: 0 6px;
}

.hc-gauge-group-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 2px;
    margin-bottom: 6px;
}

.hc-gauge-value {
    font-size: 22px;
    font-weight: 700;
    fill: currentColor;
}

.hc-gauge-label {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.1;
}

.hc-gauge-sub {
    font-size: 0.7rem;
    color: #6c757d;
    line-height: 1.1;
}

/* Figyelmeztetés, ha az adatforrás (DXHeat) nem elérhető */
.hc-source-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    text-align: center;
}

/* Súgó ablak */
.hc-help h6 {
    font-weight: 700;
    margin-top: 0.75rem;
}

.hc-help h6:first-child {
    margin-top: 0;
}

.hc-help p {
    font-size: 0.9rem;
}

.hc-help-good,
.hc-help-fair,
.hc-help-poor {
    font-weight: 700;
}

.hc-help-good {
    color: #2e9e2e;
}

.hc-help-fair {
    color: #d98200;
}

.hc-help-poor {
    color: #e5533d;
}

/* Versenyzéskor legfontosabb panelek (Hívójel, Riport): a fejléc színének (darkslategrey) sötétebb árnyalata */
.hc-qso-panel {
    background-color: #1a2f2f !important;
    color: beige !important;
}
