body {
    margin: 0;
    padding: 15px;

    font-family: Arial, sans-serif;

    background:
        linear-gradient(
            180deg,
            #f4f7f1 0%,
            #e9efe4 100%
        );

    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* QR rész */

#qrMod {
    width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#versenyNev,
#inditBtn {
    display: block;
    width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
 #eredmenyReader {
    width: 300px !important;
    max-width: 300px !important;
    margin: 20px auto;
}

#eredmenyReader video {
    width: 300px !important;
    height: 300px !important;
    object-fit: cover;
}

#reader img {
    max-width: 300px !important;
}

#lista {
    width: 100%;
    text-align: center;
}
#inditBtn {
    width: 450px;
    height: 80px;
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
}

#qrMod button {
    align-self: center;
}

/* Célpont fejléc */

#celNavigacio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

#celNavigacio button {
    width: 70px;
    height: 70px;

    border: none;
    border-radius: 50%;

    font-size: 30px;

    background: white !important;
    color: black !important;
}

.celFejlec {
    font-size: 28px;
    font-weight: bold;
}

/* Fülek */

#versenyzoTabok {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.versenyzoTab {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    border: 2px solid #cccccc;

    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: bold;
    font-size: 18px;
}

.aktivTab {
    border: 4px solid black;
    background: #ffe5ee;
}
.valtoSor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.valtoSor button {
    font-size: 24px;
    padding: 8px 16px;
    cursor: pointer;
}
.valtoSor .versenyzoTab {
    flex-shrink: 0;
}
/* Versenyző neve */

.versenyzoNev {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    margin: 8% 0;
}

/* Lövéskártyák */

.lovesekSor {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.lovesKartya {
    width: 110px;
    height: 110px;

    background: white;
    border-radius: 12px;
    border: 1px solid #cccccc;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 56px;
    font-weight: bold;
}

/* Pontgombok */

.pontGombok {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.pontGombok button {

    width: 130px;
    height: 130px;

    border: none;
    border-radius: 12px;

    color: white;

    font-size: 52px;
    font-weight: bold;
}

.p10 {
    background: #8b9097;
}

.p8 {
    background: #73b33d;
}

.p5 {
    background: #f05e2f;
}

.p0 {
    background: #5aa6cf;
}

/* Visszavonás */

.visszaBtn {

    background: linear-gradient(
        180deg,
        #8ca3b0 0%,
        #8199a7 35%,
        #748d9c 70%,
        #667f8e 100%
    );

}
/* Versenyző navigáció */

.nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav button {

    width: 180px;
    height: 60px;

    font-size: 18px;

    border: none;
    border-radius: 10px;
}

/* Statisztika */

#statisztika {

    background: white;

    padding: 15px;

    border-radius: 10px;

    margin-top: 20px;
}

.statFejlec {

    text-align: center;

    font-size: 30px;
    font-weight: bold;

    margin-bottom: 15px;
}

.statSor {

    display: flex;

    justify-content: space-around;

    align-items: center;
}

.statDoboz {

    text-align: center;
}

.statPont {

    color: white;

    font-size: 15px;

    padding: 15px 15px;

    border-radius: 10px;
}

.statDb {

    font-size: 32px;

    font-weight: bold;

    margin-top: 10px;
}

/* Eredménytábla */

#eredmenyTabla {

    background: white;

    margin-top: 20px;

    padding: 15px;

    border-radius: 10px;
}

/* Mobil */

@media (max-width: 700px) {

    .pontGombok button {

        width: 90px;
        height: 90px;
        font-size: 42px;

    }

    .lovesKartya {

        width: 80px;
        height: 80px;

        font-size: 40px;

    }

    .versenyzoNev {
    font-size: 26px;
    margin: 5px 0 15px 0;
}

    .nav {

        flex-direction: column;

    }

    .nav button {

        width: 100%;

    }
}
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: center;
}

th {
    background: #f2f2f2;
}

#eredmenyTabla h3 {
    text-align: center;
    margin-bottom: 10px;
}
#lezarasBtn {

    width: 100%;
    height: 70px;

    border: none;
    border-radius: 10px;

    background: #c62828;
    color: white;

    font-size: 24px;
    font-weight: bold;

}   
#edzesMod {
    max-width: 500px;
    margin: auto;
}

#edzesMod input,
#edzesMod select,
#edzesMod textarea {

    width: 100%;

    padding: 10px;

    font-size: 18px;

    box-sizing: border-box;

}
#edzesMod select {
    width: 100% !important;
}

#edzesInditBtn {
    width: 100%;
    height: 70px;
    font-size: 28px;
    font-weight: bold;

    margin-top: 25px;

    border-radius: 10px;
}

.edzotarsNev {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

#ujEdzotarsBtn {
    width: 100%;
    height: 60px;
    font-size: 22px;
}
.edzotarsSor {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.edzotarsSor button {
    width: 60px;
    font-size: 24px;
}

.edzotarsNev {
    flex: 1;
}
.kivalasztottPont {

    background: #ff9800 !important;

    color: white !important;

    border: 2px solid #e65100 !important;

    font-weight: bold;

    transform: scale(1.08);

}
.nevezoSor {

    display:grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr
        2fr;

    gap:10px;

    padding:8px;

    border-bottom:1px solid #ccc;

}
.adminNevezoSor {

    display:grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr
        2fr
        1.2fr
        0.8fr
        1fr
        140px;

    gap:10px;

    padding:8px;

    border-bottom:1px solid #ccc;

    align-items:center;

}

.nevezoFejlec {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr
        2fr
        1.2fr
        0.8fr
        1fr
        140px;

    gap: 10px;
    padding: 8px;

    font-weight: bold;

    border-bottom: 2px solid black;

    margin-bottom: 5px;

    align-items: center;
}
#ujVersenyLeiras {

    width: 700px;

    max-width: 95%;

    min-height: 150px;

    resize: none;

    overflow: hidden;

}
#ujVersenyNev,
#ujVersenyKorosztalyok,
#ujVersenyKategoriak {

    width: 600px;

    max-width: 95%;

    height: 40px;

    font-size: 16px;

    padding: 5px 10px;

}
#csapatBeosztas {

    display: flex;

    gap: 30px;

    margin-top: 20px;

}

#csapatokOldal,
#nevezokOldal {

    flex: 1;

    min-height: 400px;

    border: 1px solid #999;

    padding: 10px;

    background: white;

}
#csapatokOldal {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

}

#nevezokOldal {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;

}
.huzhatoNevezo {

    padding: 8px;

    margin: 5px 0;

    border: 1px solid #999;

    background: white;

    cursor: grab;

    user-select: none;

}
.csapatDoboz {

    min-height: 100px;

    margin: 0;

    padding: 10px;

    border: 2px dashed #666;

    background: #f8f8f8;

}
.jelenVan {

    background: #90ee90 !important;

}
.jelenVan {

    background-color: #90ee90;

}
.versenyFejlec{
    text-align:center;
    background:linear-gradient(
        135deg,
        #ffffff,
        #f5f8f1
    );
    padding:30px;
    margin-bottom:25px;
    border-radius:20px;
    border:2px solid #7aa35a;
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.versenyInfo{
    font-size:20px;
    font-weight:bold;
    margin-bottom:15px;
}
.pontozoGombSor{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.pontozoGombSor button{
    flex:1;
}
#fomenu{
    max-width:500px;
    margin:auto;
    text-align:center;
}

#foCim{
    margin-bottom:30px;
    font-size:42px;
    color:#2f5e2f;
}

#fomenu button:not(.menuBtn){

    display:block;

    width:100%;

    margin:12px 0;

    padding:18px;

    font-size:22px;
    font-weight:bold;

    border:none;
    border-radius:20px;

    background:linear-gradient(
        135deg,
        #ffffff,
        #f5f8f1
    );

    border:2px solid #7aa35a;

    box-shadow:
        0 6px 20px
        rgba(0,0,0,0.15);

    transition:0.2s;
}

#fomenu button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 8px 24px
        rgba(0,0,0,0.20);

}

@media (max-width:700px){

    #foCim{

        font-size:32px;

    }

    #fomenu button{

        font-size:20px;

        padding:22px;

    }

}
/* ===== FŐMENÜ ===== */

#fomenu{

    max-width:500px;

    margin:auto;

    text-align:center;

    position:relative;

    z-index:1;

}

#foCim{

    font-size:42px;

    color:#2f5e2f;

    margin-bottom:30px;

    cursor:pointer;

}

#fomenu button:not(.menuBtn){

    display:block;

    width:100%;

    margin:12px 0;

    padding:20px;

    font-size:22px;

    font-weight:bold;

    color:#2f2f2f;

    border:2px solid #7aa35a;

    border-radius:20px;

    background:linear-gradient(
        135deg,
        #ffffff,
        #f5f8f1
    );

    box-shadow:
        0 6px 20px
        rgba(0,0,0,.15);

    transition:all .2s ease;

}

#fomenu button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.20);

}

#fomenu button:active{

    transform:scale(.98);

}

@media (max-width:700px){

    #foCim{

        font-size:32px;

    }

    #fomenu button{

        font-size:20px;

        padding:22px;

    }

}
#hatterLogo{

    position:fixed;

    top:50%;
    left:50%;

    transform:translate(-50%, -50%);

    width:500px;

    opacity:0.10;

    pointer-events:none;

    z-index:0;

}
#versenyAdatlapLeiras {

    max-width: 900px;

    margin: 15px auto;

    padding: 20px;

    background: rgba(255,255,255,0.85);

    border: 2px solid #b8860b;

    border-radius: 12px;

    text-align: left;

    line-height: 1.6;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    white-space: pre-wrap;

    overflow-wrap: anywhere;

    word-break: break-word;

}
#mentettEdzesVisszaSor {

    text-align: center;

    margin-bottom: 15px;

}
button {

    background: #2e7d32;
    color: white;

    border: none;

    padding: 10px 18px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 15px;
    font-weight: bold;

    transition: all 0.2s ease;

}

button:hover {

    background: #388e3c;

    transform: translateY(-2px);

}

button:active {

    transform: scale(0.98);

}
#pontValaszto,
#szerkPontValaszto {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.versenyElem {

    max-width: 500px;

    margin: 12px auto;

    padding: 15px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f5f8f1
    );

    border: 2px solid #7aa35a;

    border-radius: 15px;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,0.15);

    cursor: pointer;

    transition: 0.2s;

}

.versenyElem:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px
        rgba(0,0,0,0.20);

}

.versenyNev {

    font-size: 22px;

    font-weight: bold;

    margin-bottom: 10px;

}

.versenyInfo {

    font-size: 18px;

    margin: 5px 0;

}
.visszaBtn {

    background: #607d8b !important;

    color: white !important;

    border-radius: 10px !important;

}

.visszaBtn:hover {

    background: #78909c !important;

}
.torlesBtn {

    background: linear-gradient(
        180deg,
        #e57373 0%,
        #d32f2f 100%
    ) !important;

    color: white !important;

}

.torlesBtn:hover {

    background: linear-gradient(
        180deg,
        #ef9a9a 0%,
        #e53935 100%
    ) !important;

}
.mentesBtn {

    width: auto;

    padding: 12px 25px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #64b5f6 0%,
        #1e88e5 100%
    ) !important;

    color: white !important;

    font-size: 20px !important;

}

.mentesBtn:hover {

    background: linear-gradient(
        180deg,
        #7cc3fb 0%,
        #42a5f5 100%
    ) !important;

}

.mentesBtn:hover {

    background: linear-gradient(
        180deg,
        #7cc3fb 0%,
        #42a5f5 100%
    );

}
/*.szerkesztoPanel {

    width: 700px;

    margin: 30px auto;

    padding: 30px;

    background: rgba(255,255,255,0.85);

    border-radius: 15px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.15);

}*/
#versenySzerkesztesOldal input:not([type="checkbox"]),
#versenySzerkesztesOldal textarea {

    width: 700px;

    font-size: 18px;

    padding: 10px;

}
#szerkPontok,
#ujVersenyPontok {
    width: 180px !important;
    height: 15px;
    text-align: center;
}
.checkboxSor {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

}

#versenySzerkesztesOldal textarea {

    height: 500px;

}

#versenySzerkesztesOldal {

    text-align: center;

}
#versenyekMod th {

    background: #cfcfcf;


    font-size: 18px;

    font-weight: bold;

    padding: 12px;

    border: 1px solid #444;

}
#versenyekMod tr:hover {

    background: rgba(184,134,11,0.15);

    transform: scale(1.01);
}
#versenyekMod tr {

    transition: all 0.15s ease;
}
#nevezoSzerkeszto input,
#nevezoSzerkeszto select {

    width: 100%;
    box-sizing: border-box;

    height: 36px;

    padding: 6px 10px;

    font-size: 16px;

}
#nevezoSzerkeszto textarea {

    width: 100%;
    min-height: 80px;

    padding: 8px 12px;

    box-sizing: border-box;

    font-size: 16px;

    resize: vertical;

}
.pontBtn{

    width:50px;
    height:40px;

    margin:3px;

    border:none;
    border-radius:8px;

    background:#3f8f3f;
    color:white;

    font-weight:bold;

    cursor:pointer;

}

.pontBtn.kivalasztva {

    background:#ff9800;

    color:white;

    border:2px solid #e65100;

    font-weight:bold;

    transform:scale(1.08);

}
.adminGombSor {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 15px;

}

.adminGombSor button {

    flex: 0 0 auto;

}
#ebedBenneBlokk {

    text-align: center;

    font-size: 18px;

    font-weight: bold;

    margin-top: 15px;

}
.szerkDijSor{

    display:flex;

    gap:10px;

    align-items:center;

    margin-bottom:6px;

}

.szerkDijKorosztaly{

    width:140px !important;

}

.szerkDijEletkor{

    width:100px !important;

}

.szerkDijOsszeg{

    width:100px !important;

}

.szerkDijTorles{

    width:auto !important;

}
.elszamolasKartya {

    background: #ffffff;

    border-radius: 12px;

    padding: 20px;

    margin: 20px auto;

    max-width: 700px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.15);

}

.sor {

    display: flex;

    justify-content: space-between;

    padding: 8px 0;

}

.vegosszeg {

    margin-top: 20px;

    text-align: center;

    font-size: 26px;

    font-weight: bold;

    color: #2e7d32;

}
.kiadasKartya {

    background: white;

    max-width: 700px;

    margin: 25px auto;

    padding: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.15);

    border-left: 6px solid #ff9800;

}

.kiadasKartya h3 {

    text-align: center;

    margin-top: 0;

}.egyenlegKartya {

    background: #e8f5e9;

    border: 2px solid #4caf50;

    border-radius: 14px;

    max-width: 700px;

    margin: 25px auto;

    padding: 20px;

    text-align: center;

    box-shadow: 0 2px 10px rgba(0,0,0,0.15);

}

.egyenlegCim {

    font-size: 22px;

    font-weight: bold;

    color: #2e7d32;

    margin-bottom: 10px;

}

.egyenlegOsszeg {

    font-size: 42px;

    font-weight: bold;

    color: #1b5e20;

}
#versenySzerkesztesOldal {
    text-align: center;
    background: #eef3ee;
}
.szerkDijSor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.nevezoCsoportFejlec {

    background: #ffffff;

    border-left: 5px solid #2e7d32;

    border-radius: 8px;

    padding: 12px;

    margin: 10px 0;

    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 2px 4px rgba(0,0,0,0.15);

}

.nevezoCsoportTartalom {

    padding: 5px 10px 10px 20px;

}

.nevezoKartya {

    background: rgba(255,255,255,0.9);

    border-radius: 6px;

    margin-bottom: 6px;

    padding: 8px;

}

.nevezoNev {

    font-weight: bold;

    font-size: 17px;

}

.nevezoEgyesulet {

    color: #666;

    font-size: 14px;

}
.nevezoCsoportFejlec {

    background: linear-gradient(
        135deg,
        #2e7d32,
        #43a047
    );

    color: white;

    border-radius: 10px;

    padding: 14px;

    margin: 12px 0;

    font-weight: bold;

    font-size: 17px;

    cursor: pointer;

    box-shadow:
        0 3px 8px rgba(0,0,0,0.2);

    transition: all 0.2s ease;

}

.nevezoCsoportFejlec:hover {

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(0,0,0,0.25);

}


.nevezoCsoportTartalom {

    padding: 5px 10px 10px 20px;

}

.nevezoKartya {

    display: flex;

    align-items: center;

    gap: 15px;

    background: rgba(255,255,255,0.95);

    border-left: 4px solid #2e7d32;

    border-radius: 8px;

    padding: 10px;

    margin: 6px 0;

}

.nevezoNev {

    width: 180px;

    font-weight: bold;

    text-align: left;

    flex-shrink: 0;

}

.nevezoEgyesulet {

    text-align: left;

    color: #666;

}
#penztarPanel {

    display: none;

    position: fixed;

    right: 20px;

    top: 50%;

    transform: translateY(-50%);

    background: white;

    border: 2px solid green;

    border-radius: 12px;

    padding: 15px;

    width: 270px;

    max-height: 80vh;

    overflow-y: auto;

    text-align: center;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.2);

    z-index: 1000;

    box-sizing: border-box;

}
#qrHozzaadBtn,
#versenyzoTorlesBtn,
#kilepesBtn,
#lezarasBtn {

    height: 70px;

    font-size: 22px;

    font-weight: bold;

}
#qrHozzaadBtn {

    background: #1976d2;

}

#qrHozzaadBtn:hover {

    background: #1e88e5;

}
#versenyzoTorlesBtn {

    background: #ef6c00;

}

#versenyzoTorlesBtn:hover {

    background: #fb8c00;

}
#kilepesBtn {

    background: #607d8b;

}

#kilepesBtn:hover {

    background: #78909c;

}
.menuBtn {

    display:none;

    position: absolute !important;

    top: 10px;

    right: 10px;

    width: 50px !important;

    height: 50px;

    min-width: 50px;

    padding: 0;

    font-size: 28px;

    z-index: 9999;

}


#oldalMenu {

    position:absolute;

    top:65px;

    right:10px;

    background:white;

    border:1px solid #ccc;

    border-radius:8px;

    padding:10px;

    z-index:1000;

}
#fomenu .menuBtn {

    position: absolute !important;

    top: 10px;

    right: 10px;

    width: 50px !important;

    height: 50px !important;

    margin: 0 !important;

    padding: 0 !important;
   
    font-size: 28px;

    z-index: 9999;

}
#oldalMenu {

    position: absolute;

    top: 65px;

    right: 10px;

    width: 220px;

    background: white;

    border: 1px solid #ccc;

    border-radius: 10px;

    padding: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    z-index: 9998;

}

#oldalMenu button {

    width: 100% !important;

    margin: 5px 0 !important;

}
#fomenu .menuBtn {

    display: none;

    position: absolute !important;

    top: 10px;

    right: 10px;

    width: 50px !important;

    height: 50px !important;

    margin: 0 !important;

    padding: 0 !important;

    font-size: 28px;

    z-index: 9999;

}
#menuFelhasznaloNev {

    font-weight: bold;

    font-size: 18px;

    text-align: center;

    padding: 10px;

    color: #2f5e2f;

}
#adatvedelemTartalom {

    max-width: 900px;

    margin: 0 auto;

    padding: 20px;

    background: rgba(255,255,255,0.9);

    border-radius: 12px;

    text-align: left;

    line-height: 1.7;

    box-shadow:
        0 2px 10px
        rgba(0,0,0,0.1);

}

#adatvedelemTartalom h3,
#adatvedelemTartalom h4 {

    color: #2f5e2f;

}

#adatvedelemTartalom ul {

    padding-left: 25px;

}
.menuSor{
    display:flex;
    gap:8px;
    margin:10px 0;
}

.menuSor button{
    flex:1;
}
.menuSor{
    display:flex;
    gap:8px;
    margin-bottom:15px;
}

.menuSor button{
    flex:1;
}

.aktivTab{
    background:#1976d2;
    color:white;
    font-weight:bold;
}

.inaktivTab{
    background:#dcdcdc;
    color:#333;
}
.eloStatusz {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 16px;

    margin: 10px 0;

    background: #e8fff0;

    border: 2px solid #22c55e;

    border-radius: 25px;

    font-weight: bold;

    color: #15803d;

}

.eloPont {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: #22c55e;

    animation: pulzal 1.5s infinite;

}

@keyframes pulzal {

    0% { opacity: 1; }

    50% { opacity: 0.3; }

    100% { opacity: 1; }

}
.eloKategoriaFejlec {

    background: #f4f4f4;

    border-left: 6px solid #22c55e;

    border-top: 1px solid #c8c8c8;

    border-right: 1px solid #c8c8c8;

    border-bottom: 1px solid #dcdcdc;

    padding: 12px;

    font-weight: bold;

    border-radius: 10px 10px 0 0;

}

.eloKategoriaTartalom {

    background: white;

    border-left: 1px solid #c8c8c8;

    border-right: 1px solid #c8c8c8;

    border-bottom: 1px solid #c8c8c8;

    border-radius: 0 0 10px 10px;

    padding: 10px;

    box-shadow:
        0 3px 8px rgba(0,0,0,0.08);

    margin-bottom: 15px;

}
.elsoHely {

    background: #f5d97a;

    border-left: 6px solid #c49000;

    padding: 8px;

    border-radius: 6px;

    margin-bottom: 4px;

    font-weight: bold;

}


.masodikHely {

    background: #d7dde5;

    border-left: 8px solid #5f6b78;

    padding: 8px;

    border-radius: 6px;

    margin-bottom: 4px;

    font-weight: bold;

}
.harmadikHely {

    background: #ecd5c8;

    border-left: 8px solid #964b22;

    padding: 8px;

    border-radius: 6px;

    margin-bottom: 4px;

    font-weight: bold;

}
.eredmenySor {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

}

.pontErtek {

    font-size: 1.15em;

    font-weight: bold;

}
#rangsorKontener {

    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;

}
@media (min-width: 1000px) {

    #rangsorKontener {

        grid-template-columns: 1fr 1fr;

        align-items: start;

    }

}
.nyil {

    display: inline-block;

    width: 20px;

    font-weight: bold;

}
@media (max-width: 999px) {

    #eloTartalom h2 {

        font-size: 20px;

        line-height: 1.3;

    }

    #eloTartalom h3 {

        font-size: 18px;

    }

    .eloStatusz {

        font-size: 14px;

    }

    .eloKategoriaFejlec {

        font-size: 16px;

        font-weight: 600;

    }

    .nevBlokk {

        font-size: 18px;

        font-weight: 600;

    }

    .pontErtek {

        font-size: 19px;

        font-weight: 700;

    }

}
@media (max-width: 999px) {

    button {

        margin-top: 8px;

        margin-bottom: 8px;

    }

}
@media (max-width: 999px) {

    .pontGombok {

        display: grid;

        grid-template-columns:
            repeat(6, 1fr);

        gap: 8px;

    }

}
.statMero {

    text-align:center;

    margin:20px;

}

.statCim {

    font-size:22px;
    font-weight:bold;

}

.statSzamlalo {

    font-size:72px;
    font-family:monospace;
    font-weight:bold;

    color:#2e7d32;

    letter-spacing:6px;

}

.statKartya {

    margin:15px auto;

    max-width:350px;

    padding:15px;

    background:white;

    border-radius:12px;

    box-shadow:0 2px 8px rgba(0,0,0,0.15);

    text-align:center;

    font-size:20px;

}


#hirekDoboz{

    display:flex;

    overflow-x:auto;

    gap:15px;

    scrollbar-width:auto;

    padding-bottom:10px;

    scroll-behavior:smooth;
}


.hirKartya{

    min-width:320px;
    max-width:320px;

    flex-shrink:0;

    background:white;

    border:2px solid #79a85a;
    border-radius:20px;

    padding:20px;

    box-sizing:border-box;
}

.hirCim{

    font-size:28px;
    font-weight:700;

    color:#2f6d2f;

    margin-bottom:12px;
}

.hirSzoveg{

    font-size:18px;

    line-height:1.6;

    color:#444;
}

.hirDatum{

    font-size:14px;

    color:#777;

    margin-bottom:8px;
}
.hirekSzekcio{

    width:100%;
    max-width:760px;

    margin:30px auto;

    padding:20px;

    border:2px solid #79a85a;
    border-radius:25px;

    background:rgba(
        255,
        255,
        255,
        0.15
    );

    box-sizing:border-box;
}

.hirekFejlec{

    text-align:center;

    color:#2f6d2f;

    font-size:32px;

    font-weight:700;

    margin-bottom:20px;
}
#adminHirekTartalom{

    display:flex;
    flex-direction:column;

    align-items:center;

    margin-top:20px;
}

#adminHirekTartalom .hirKartya{

    width:100%;
    max-width:500px;
}
#hirSzerkesztoOldal {

    max-width: 900px;

    margin: 20px auto;

    padding: 20px;

    text-align: center;

}

#szerkHirCim {

    width: 90%;

    max-width: 800px;

    padding: 10px;

    font-size: 16px;

    margin-bottom: 15px;

}

#szerkHirSzoveg {

    width: 90%;

    max-width: 800px;

    min-height: 300px;

    padding: 10px;

    font-size: 16px;

    resize: vertical;

}
.kupaCsoport {

    background: rgba(255,255,255,0.9);

    border-left: 6px solid #4caf50;

    border-radius: 12px;

    margin: 12px 0;

    overflow: hidden;

}



.kupaCsoportFejlec {

    background: linear-gradient(
        90deg,
        #2e7d32,
        #43a047
    );

    color: white;

    font-weight: bold;

    padding: 12px;

    border-radius: 8px;

    cursor: pointer;

}

.nevezesMezo {

    width: 320px;

    height: 40px;

    border: 1px solid #ccc;

    border-radius: 8px;

    padding: 5px 10px;

    font-size: 16px;

    box-sizing: border-box;

}
#kulonNevezesiTartalom label {

    font-weight: bold;

    color: #2f5e2f;

}
.etkezesCim {

    margin-top: 0;

    color: #2f5e2f;

    text-align: center;

}
.etkezesBlokk {

    width: 100%;

    max-width: 380px;

    margin: 20px auto;

    padding: 15px;

    box-sizing: border-box;

    background: rgba(255,255,255,0.75);

    border: 1px solid #cfd8dc;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

}

.vendegDbMezo {

    width: 80px;

    height: 32px;

    text-align: center;

}
.vendegEbedDb {

    width: 50px;

    height: 40px;

    border: 1px solid #ccc;

    border-radius: 8px;

    text-align: center;

    font-size: 16px;

    box-sizing: border-box;

}
.vendegEbedSor {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

}

#vendegEbedTipusok {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}
.vendegEbedSor div {

    font-weight: bold;

    color: #2f5e2f;

}
.versenyKartya {

    background: white;

    border: 2px solid #7aa35a;

    border-radius: 15px;

    padding: 12px;

    margin: 12px 0;

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);

    cursor: pointer;

    text-align: left;

    transition: all 0.2s ease;

}
.versenyKartya:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0,0,0,0.18);

}

.versenyKartyaNev {

    font-size: 20px;

    font-weight: bold;

    color: #2f5e2f;

    margin-bottom: 10px;

    text-align: left;

}

.versenyKartyaAdat {

    margin: 5px 0;

    font-size: 16px;

    text-align: left;

}
.versenyKartyaStatusz {

    font-size: 22px;

    margin-bottom: 8px;

}
.nevezettJelveny {

    display: inline-block;

    margin-left: 8px;

    padding: 2px 8px;

    border: 1px solid #4caf50;

    color: #2e7d32;

    background: #e8f5e9;

    border-radius: 12px;

    font-size: 12px;

    font-weight: bold;

}
.eredmenyKartya {

    background: white;

    border: 2px solid #7aa35a;

    border-radius: 15px;

    padding: 12px;

    margin: 12px 0;

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);

    cursor: pointer;

    text-align: left;

}

.eredmenyKartyaNev {

    font-size: 20px;

    font-weight: bold;

    color: #2f5e2f;

    margin-bottom: 10px;

}

.eredmenyKartyaAdat {

    font-size: 18px;

    font-weight: bold;

    color: #5b2c83;

    margin-top: 8px;

}
.versenyTipusJelveny {

    float: right;

    background: #4caf50;

    color: white;

    padding: 4px 10px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 6px;

}
.profilKartya {

    max-width: 500px;

    margin: auto;

    padding: 20px;

    background: rgba(255,255,255,0.95);

    border-radius: 15px;

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);

}
.profilKartya input,
.profilKartya select {

    width: 100%;

    box-sizing: border-box;

    height: 45px;

    margin-bottom: 12px;

    font-size: 16px;

    border-radius: 12px;

    border: 1px solid #cfd8dc;

    padding: 0 12px;

}
.profilKartya label {

    display: block;

    font-weight: bold;

    margin-bottom: 4px;

    color: #2f5e2f;

}
.profilGombok {

    display: flex;

    gap: 10px;

    justify-content: center;

    flex-wrap: wrap;

}
.profilGombok button {

    min-width: 140px;

}
.urlapKartya {

    max-width: 900px;

    margin: 20px auto;

    padding: 25px;

    background: rgba(255,255,255,0.98);

    border-radius: 20px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.12);

}

#ujVersenyLeiras {

    min-height: 220px;

    border-radius: 12px;

    resize: vertical;

}
#ujVersenyOldal input:not([type="checkbox"]),
#ujVersenyOldal select,
#ujVersenyOldal textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 10px 12px;

    color: #1f1f1f;

    font-size: 17px;

    font-weight: 600;

    border: 2px solid #9ec49e;

    border-radius: 12px;

    background: #fcfffc;

}
#ujVersenyOldal input::placeholder,
#ujVersenyOldal textarea::placeholder {

    color: #6b6b6b;

    opacity: 1;

}
#ujVersenyOldal select {

    color: #1f1f1f;

    font-weight: 600;

}

#versenyMentesBtn {

    display: block;

    margin: 30px auto;

    min-width: 220px;

    border-radius: 14px;

}
.beallitasKartya {

    background: #eef7ee;

    border: 2px solid #c7ddc7;

    border-radius: 18px;

    padding: 15px;

}
.checkboxKartya {

    min-height: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background: #f1f8f1;

    border: 2px solid #9ec49e;

    border-radius: 18px;

    box-shadow:
        0 2px 8px rgba(76,175,80,0.12);

}

.checkboxKartya span {

    text-align: center;

    font-weight: bold;

    color: #2f5e2f;

}
.checkboxGrid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    max-width: 700px;

    margin: 20px auto;

}

#ujVersenyOldal label {

    color: #245024;

    font-weight: 700;

    font-size: 16px;

}
.checkboxKartya:hover {

    border-color: #6cab6c;

    transform: translateY(-2px);

}
.dijSor {

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        auto;

    gap: 10px;

    align-items: center;

    margin-bottom: 20px;

}
#dijHozzaadBtn {

    height: 45px;

    white-space: nowrap;

}
@media (max-width: 768px) {

    .dijSor {

        grid-template-columns: 1fr;

    }

}
#ujVersenyPontok {

    display: block;

    width: 400px;

    max-width: 100%;

    height: 45px;

    margin: 0 auto 15px auto;

}
.pontBtn {

    min-width: 45px;

    height: 36px;

    border-radius: 10px;

    font-weight: bold;

}
@media (max-width:768px) {

    .checkboxGrid {

        grid-template-columns: 1fr;

    }

}
#adminHonapSzuro,
#honapSzuro {

    display: block;

    margin: 10px auto 5px auto;

    min-width: 220px;

    height: 42px;

    padding: 0 12px;

    font-size: 16px;

    font-weight: 600;

    color: #245024;

    background: #fcfffc;

    border: 2px solid #9ec49e;

    border-radius: 12px;

}
#adminVersenyLista {

    margin-top: -50px;

}
#reader {
    width: 300px;
    height: 300px;
}

#reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.adminGombSor {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 12px;

    margin-top: 20px;

}
.adminGombSor button {

    width: 100%;

    min-height: 50px;

}
.adminBlokkok {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 20px;

}

.adminLenyilo {

    width: 220px;

    border-radius: 12px;

    overflow: hidden;

    border: none;

    background: transparent;

}
.adminLenyilo summary {

    cursor: pointer;

    padding: 16px;

    text-align: center;

    background: #2e7d32;

    color: white;

    font-size: 18px;

    font-weight: bold;

    list-style: none;

}
.adminLenyilo summary::-webkit-details-marker {

    display: none;

}
.adminGombok {
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:15px;
}
.adminGombok button {

    width: 100%;

    min-height: 48px;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}
@media (max-width:700px){

    .versenyzoNev{
        font-size: 18px;
        margin: 10px 0 25px 0;
    }

    .lovesKartya{
        width:60px;
        height:60px;
        font-size:30px;
    }

    .lovesekSor{
        gap:8px;
        margin-bottom:15px;
    }

   @media (max-width:700px){

    .pontGombok{

        display:flex;

        justify-content:center;

        align-items:center;

        gap:8px;

        margin:20px auto;

        width:100%;

    }

}

    .pontGombok{
        gap:6px;
        margin-bottom:20px;
    }

    #statisztika{
        padding:10px;
    }

    .statFejlec{
        font-size:16px;
        margin-bottom:6px;
    }

    .statPont{
        padding:6px;
        font-size:12px;
    }

    .statDb{
        font-size:16px;
    }

    @media (max-width:700px){

    #qrHozzaadBtn,
    #versenyzoTorlesBtn,
    #kilepesBtn,
    #lezarasBtn {

        height: 50px;

        font-size: 14px;

    }

}

    #eredmenyTabla{
        overflow-x:auto;
    }

    #eredmenyTabla table{
        font-size:12px;
    }
}
#verzioDoboz {

    text-align: center;

    color: #777;

    font-size: 12px;

    font-weight: bold;

    margin-top: -10px;

    margin-bottom: 15px;

}
 #ebedOsszesitesPanel {

    position: fixed;
    right: 200px;
    top: 110px;
    width: 280px;

}

#eremOsszesitesPanel {

    position: fixed;
    right: 200px;
    top: 320px;
    width: 280px;

}
 #ebedOsszesitesPanel,
 #eremOsszesitesPanel {

    width: 280px;

    background: white;

    border: 2px solid #7aa35a;

    border-radius: 15px;

    padding: 15px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.15);

    box-sizing: border-box;

}
#ertekelesOsszesitesPanel {
    position: fixed;

    right: 200px;
    top: 575px;

    width: 280px;

    background: white;

    border: 2px solid #7aa35a;
    border-radius: 15px;

    padding: 15px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15);

    box-sizing: border-box;

    cursor: pointer;
}
#szlogen {

    margin-top: -25px;

    margin-bottom: 20px;

    text-align: center;

    font-size: 20px;

    color: #608b82;

    font-style: italic;

    letter-spacing: 0.5px;

}
#frissitesPanel {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: rgba(0,0,0,0.45);

    z-index: 999999;

    display: none;

    justify-content: center;
    align-items: center;

}
.frissitesKartya {

    width: 90%;
    max-width: 450px;

    background: white;

    border: 2px solid #7aa35a;

    border-radius: 20px;

    padding: 30px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25);

}
.egyesuletKartya {

    transition: 0.2s;

}

.egyesuletKartya:hover {

    transform: translateY(-3px);

}

.egyesuletKartya:active {

    transform: scale(0.98);

}
#firestoreStats {

    position: fixed;
    right: 15px;
    bottom: 15px;

    background: rgba(0,0,0,0.85);

    color: white;

    padding: 10px;

    border-radius: 10px;

    font-size: 12px;

    line-height: 1.5;

    z-index: 99999;

}

/* =========================================
   CÉLOK ÉS TÁVOLSÁGOK OLDAL
   Több állat és két karó célonként
========================================= */

#celAdatokOldal {
    min-height: 100vh;

    padding: 20px;
    box-sizing: border-box;

    background: #f5f5f5;
}


/* Egy teljes célszám doboza */

.celAdatSor {
    display: block;

    width: 100%;

    margin-bottom: 14px;
    padding: 14px;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.94);

    border: 1px solid #aaa;
    border-radius: 11px;

    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.09);
}


/* Például: 1. cél */

.celAdatSorszam {
    margin-bottom: 10px;

    color: #2e7d32;

    font-size: 17px;
    font-weight: bold;

    text-align: left;
}


/* Az adott célszámhoz tartozó állatok */

.celAllatokLista {
    width: 100%;
}


/* Egy állat teljes sora */

.celAllatSor {
    display: grid;

    grid-template-columns:
        minmax(210px, 1fr)
        155px
        155px
        44px;

    gap: 10px;

    align-items: end;

    width: 100%;

    margin-bottom: 10px;
    padding: 10px;

    box-sizing: border-box;

    background: #f7f9f5;

    border: 1px solid #d2d2d2;
    border-radius: 8px;
}


/* Minden beviteli mező */

.celAllatSor input {
    width: 100%;

    padding: 9px;

    box-sizing: border-box;

    border: 1px solid #aaa;
    border-radius: 6px;

    background: white;

    font-family:
        Arial,
        sans-serif;

    font-size: 15px;

    outline: none;
}


/* Aktív mező kiemelése */

.celAllatSor input:focus {
    border-color: #2e7d32;

    box-shadow:
        0 0 0 3px
        rgba(46, 125, 50, 0.14);
}


/* Kék és piros karó mezőcím */

.celKaroMezo label {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
    font-weight: bold;
}


/* Távolságmező és mértékegység */

.celTavolsagInput {
    display: flex;

    align-items: center;

    gap: 5px;
}


/* Ne lógjon túl a grid oszlopán */

.celTavolsagInput input {
    min-width: 0;
}


/* Méter felirat */

.celTavolsagInput span {
    flex-shrink: 0;

    font-weight: bold;
}


/* Új állat hozzáadása */

.celAllatHozzaadBtn {
    padding: 9px 15px;

    border: none;
    border-radius: 7px;

    background: #607d8b;
    color: white;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
}


/* Állat törlése */

.celAllatTorlesBtn {
    width: 42px;
    height: 40px;

    padding: 0;

    border: none;
    border-radius: 7px;

    background: #d32f2f;
    color: white;

    font-size: 17px;

    cursor: pointer;
}


/* Gombok kiemelése */

.celAllatHozzaadBtn:hover {
    background: #455a64;
}

.celAllatTorlesBtn:hover {
    background: #b71c1c;
}


/* =========================================
   KISEBB LAPTOP ÉS TABLET
========================================= */

@media (max-width: 900px) {

    .celAllatSor {
        grid-template-columns:
            minmax(180px, 1fr)
            135px
            135px
            42px;
    }

}


/* =========================================
   MOBIL
========================================= */

@media (max-width: 700px) {

    #celAdatokOldal {
        padding: 10px;
    }

    .celAdatSor {
        padding: 10px;
    }

    .celAllatSor {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .celAllatTorlesBtn {
        width: 100%;
        height: 42px;
    }

    .celAllatHozzaadBtn {
        width: 100%;
    }

}

.celAdatokMegosztas {

    width: 700px;

    max-width: 95%;

    margin: 25px auto;

    padding: 18px;

    box-sizing: border-box;

    background: white;

    border: 2px solid #7aa35a;

    border-radius: 12px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1);

}

.celAdatokMegosztas label {

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: bold;

    cursor: pointer;

}

.celAdatokMegosztas input {

    width: 22px;

    height: 22px;

}

.celAdatokMegosztas p {

    margin-bottom: 0;

    color: #666;

    font-size: 14px;

}

.celAdatokMentesBtn {

    padding: 12px 25px;

    font-size: 18px;

    font-weight: bold;

    background: #2e7d32;

    color: white;

    border: none;

    border-radius: 8px;

    cursor: pointer;

}

.celAdatokMentesBtn:hover {

    background: #1b5e20;

}

@media (max-width: 600px) {

    #celAdatokOldal {

        padding: 10px;

    }

    .celAdatSor {

        grid-template-columns: 1fr;

    }

    .celAdatSorszam {

        text-align: left;

    }

    .celTavolsagDoboz {

        width: 100%;

    }

}
@media (max-width: 900px) {

    body {
        margin: 10px;
    }

    table {
        width: 100%;
        table-layout: auto;
    }

    #penztarPanel {
        position: static;
        width: 100%;
        max-width: 500px;
        max-height: none;
        margin: 20px auto;
        transform: none;
    }

}
/* =========================================
   BELÉPÉS ÉS REGISZTRÁCIÓ
========================================= */

.authOldal {
    width: 440px;
    max-width: calc(100% - 30px);

    margin: 30px auto;
    padding: 28px 30px;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.88);

    border: 1px solid
        rgba(46, 125, 50, 0.25);

    border-radius: 16px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.14);

    text-align: center;
}

.authOldal h1 {
    margin-top: 0;
    margin-bottom: 24px;

    font-size: 32px;
}

.authOldal label {
    display: block;

    margin:
        14px 0 6px;

    font-size: 17px;
    font-weight: bold;

    color: #2e5d2e;
}

.authMezo {
    display: block;

    width: 100%;
    height: 46px;

    padding: 9px 12px;
    margin: 0 auto 12px;

    box-sizing: border-box;

    border: 1px solid #9e9e9e;
    border-radius: 8px;

    background: white;
    color: #222;

    font-family:
        Arial,
        sans-serif;

    font-size: 17px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.authMezo:focus {
    border-color: #2e7d32;

    box-shadow:
        0 0 0 3px
        rgba(46, 125, 50, 0.16);
}

.authOldal button {
    min-height: 44px;

    padding: 10px 22px;
    margin-top: 12px;

    border: none;
    border-radius: 9px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.authOldal .visszaBtn {
    margin-top: 0;
    margin-bottom: 8px;
}

/* Mobil */

@media (max-width: 600px) {

    .authOldal {
        width: calc(100% - 20px);

        margin: 10px auto;
        padding: 22px 18px;

        border-radius: 12px;
    }

    .authOldal h1 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .authMezo {
        height: 48px;
        font-size: 16px;
    }

    .authOldal button {
        width: 100%;
        font-size: 16px;
    }

}
/* =========================================
   BELÉPÉSI OLDAL FINOMHANGOLÁSA
========================================= */

#belepesOldal {
    width: 420px;
    max-width: calc(100% - 24px);

    margin: 24px auto;
    padding: 28px 30px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid
        rgba(46, 125, 50, 0.25);

    border-radius: 16px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.14);

    text-align: center;
}

#belepesOldal h1 {
    margin: 0 0 18px;

    font-size: 30px;
    line-height: 1.2;
}

#belepesOldal label {
    display: block;

    margin: 20px 0 7px;

    color: #2e5d2e;

    font-size: 16px;
    font-weight: bold;
}

/*
A !important itt azért kell,
mert egy régebbi szabály rögzített
szélességet adhat a mezőknek.
*/

#belepesOldal input[type="email"],
#belepesOldal input[type="password"],
#belepesOldal input[type="text"] {
    display: block;

    width: 100% !important;
    max-width: none !important;
    height: 48px !important;

    margin: 0 auto 8px !important;
    padding: 10px 13px !important;

    box-sizing: border-box;

    border: 1px solid #9e9e9e;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.96);

    font-family: Arial, sans-serif;
    font-size: 17px;

    outline: none;
}

#belepesOldal input:focus {
    border-color: #2e7d32;

    box-shadow:
        0 0 0 3px
        rgba(46, 125, 50, 0.16);
}

/* Vissza gomb */

#belepesOldal .visszaBtn,
#belepesOldal #visszaBelepesBtn {
    display: block;

    width: 100%;
    min-height: 44px;

    margin: 0 auto 20px;
    padding: 10px 18px;

    box-sizing: border-box;

    border: none;
    border-radius: 9px;

    font-size: 16px;
    font-weight: bold;
}

/* Belépés gomb */

#belepesOldal button:not(.visszaBtn) {
    width: 100%;
    min-height: 46px;

    margin-top: 22px;
    padding: 10px 20px;

    box-sizing: border-box;

    border: none;
    border-radius: 9px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

/* Mobil */

@media (max-width: 600px) {

    #belepesOldal {
        width: calc(100% - 20px);

        margin: 10px auto;
        padding: 24px 20px;

        border-radius: 13px;
    }

    #belepesOldal h1 {
        font-size: 27px;
    }

    #belepesOldal input[type="email"],
    #belepesOldal input[type="password"],
    #belepesOldal input[type="text"] {
        height: 50px !important;
        font-size: 16px;
    }

}
/* =========================================
   EREDMÉNYTÁBLÁZAT MOBILOS OPTIMALIZÁLÁSA
========================================= */

.eredmenyTablaPublikus th,
.eredmenyTablaPublikus td {
    padding: 8px 5px;

    border: 1px solid #444;

    box-sizing: border-box;

    text-align: center;
    vertical-align: middle;
}

.eredmenyTablaPublikus th {
    background: #e0e0e0;
}

.eredmenyHelyOszlop {
    width: 70px;
}

.eredmenyNevOszlop {
    width: auto;
}

.eredmenyPontOszlop {
    width: 75px;
}

.eredmenyLapOszlop {
    width: 65px;
}

.eredmenyNevCella {
    overflow-wrap: anywhere;
}

.eredmenyLapBtn {
    width: 42px;
    height: 36px;

    padding: 0;

    border: none;
    border-radius: 7px;

    background: #1976d2;
    color: white;

    font-size: 17px;

    cursor: pointer;
}

.eredmenyLapBtn:hover {
    background: #0d47a1;
}


/* Mobil */

@media (max-width: 600px) {

    .eredmenyTablaPublikus {
        width: 100% !important;
        max-width: 100% !important;

        table-layout: fixed !important;

        font-size: 14px;
    }

    .eredmenyTablaPublikus th,
    .eredmenyTablaPublikus td {
        padding: 7px 3px;

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .eredmenyHelyOszlop {
        width: 48px;
    }

    .eredmenyPontOszlop {
        width: 58px;
    }

    .eredmenyLapOszlop {
        width: 48px;
    }

    .eredmenyLapBtn {
        width: 36px;
        height: 34px;

        font-size: 15px;
    }

    .eredmenyNevCella {
        white-space: normal;
        line-height: 1.2;
    }

}
/* =========================================
   BEÍRÓLAP MOBILOS SZÉLESSÉG JAVÍTÁSA
========================================= */

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* A teljes pontozói oldal */

#pontozoMod {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 10px;

    overflow-x: hidden;
}


/* A pontozó belső részei */

#celNavigacio,
#versenyzoTabok,
#versenyzoPanel,
#statisztika,
#eredmenyTabla,
#versenyzoMuveletSor,
.pontozoGombSor {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
}


/* A táblázat ne legyen szélesebb a képernyőnél */

#pontozoMod table {
    width: 100%;
    max-width: 100%;

    margin-left: 0;
    margin-right: 0;

    table-layout: fixed;
    border-collapse: collapse;
}


/* A cellák tartalma ne tolja szét a táblázatot */

#pontozoMod th,
#pontozoMod td {
    min-width: 0;
    max-width: 100%;

    padding: 6px 3px;

    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;

    text-align: center;
}


/* Képek, mezők és egyéb elemek korlátozása */

#pontozoMod img,
#pontozoMod input,
#pontozoMod select,
#pontozoMod textarea {
    max-width: 100%;
}


/* Mobilos beállítások */

@media (max-width: 700px) {

    #pontozoMod {
        padding: 6px;
    }

    #versenyzoPanel {
        margin: 0;
        padding: 0;
    }

    #pontozoMod table {
        font-size: 14px;
    }

    #pontozoMod th,
    #pontozoMod td {
        padding: 5px 2px;
    }

    #pontozoMod button {
        max-width: 100%;
    }

    .pontozoGombSor {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        gap: 8px;

        margin-left: 0;
        margin-right: 0;
    }

}
#celNavigacio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 6px;

    width: 100%;
    max-width: 100%;

    overflow: hidden;
}
body {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/* =========================================
   ADMIN VERSENYKEZELÉS VÉGLEGES ELRENDEZÉS
========================================= */

/* Felső versenykezelő kártya */

#adminVersenyAdatok .versenyFejlec {
    width: 800px !important;
    max-width: calc(100% - 20px) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 20px !important;

    box-sizing: border-box !important;
}


/*
Kilenc oszlop:

1. Név
2. Nem
3. Korosztály
4. Kategória
5. Egyesület
6. Versenyengedély
7. Ebéd
8. Vendég
9. Műveletek
*/

#adminVersenyAdatok .adminNevezoSor {
    display: grid !important;

    width: 800px !important;
    max-width: 800px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    grid-template-columns:
        112px
        44px
        65px
        58px
        78px
        105px
        44px
        48px
        190px !important;

    column-gap: 4px !important;
    row-gap: 0 !important;

    padding: 6px !important;

    box-sizing: border-box !important;

    align-items: center !important;
}


/* Cellák */

#adminVersenyAdatok .adminNevezoSor > * {
    min-width: 0;

    text-align: center;
}


/* Szöveges cellák */

#adminVersenyAdatok
.adminNevezoSor
> :not(:last-child) {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Versenyengedély fejléc két sorban */

#adminVersenyAdatok
.adminNevezoSor.fejlec
> :nth-child(6) {
    white-space: normal;

    line-height: 1.1;
}


/* Műveletek fejléc */

#adminVersenyAdatok
.adminNevezoSor.fejlec
> :last-child {
    width: 190px;

    overflow: visible;
    white-space: nowrap;

    text-align: center;
}


/* A négy gomb közös tárolója */

#adminVersenyAdatok .adminMuveletGombok {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 4px !important;

    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;

    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;
}


/* A négy műveleti gomb */

#adminVersenyAdatok
.adminMuveletGombok
button {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 42px !important;

    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;

    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1 !important;

    box-sizing: border-box !important;
}


/* Piros törlésgomb */

#adminVersenyAdatok .adminNevezoTorlesBtn {
    background: #d32f2f !important;
    color: white !important;
}

#adminVersenyAdatok .adminNevezoTorlesBtn:hover {
    background: #b71c1c !important;
}


/* Felső három adminmenü */

#adminVersenyAdatok .adminBlokkok {
    width: 740px !important;
    max-width: calc(100% - 20px) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Kisebb kijelző */

@media (max-width: 820px) {

    #adminVersenyAdatok {
        width: 100%;

        overflow-x: auto;
        overflow-y: visible;
    }

    #adminVersenyAdatok .versenyFejlec {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
    }

    #adminVersenyAdatok .adminNevezoSor {
        width: 800px !important;
        max-width: 800px !important;
    }

}