/* 1. Alapbeállítások (Minden eszközre) */
* {
    box-sizing: border-box; /* Hogy a padding ne növelje a szélességet */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;      /* A jó olvashatóság kulcsa a sorköz */
    color: #333;
    background-color: #f4f4f4;
    font-size: 1.2rem;       /* Mobilon is jól látható betűméret 18px */
}

.container {
    width: 90%;            /* Mobilon ne érjen ki a szélére teljesen */
    max-width: 1100px;     /* Desktopon ne nyúljon túl hosszúra a sor */
    margin: 0 auto;        /* Középre zárás */
    padding: 20px;
}

/* 2. Mobil nézet (Alapértelmezett) */
header {
    background: #3182ce;
    color: white;
    padding: 1rem;
    text-align: center;
}

/* 3. Tablet nézet (600px felett) */
@media (min-width: 600px) {
    body {
        font-size: 1.3rem;   /* Kicsit nagyobb betűk 19px */
    }
    .container {
        width: 85%;
    }
}

/* 4. Desktop nézet (1000px felett) */
@media (min-width: 1000px) {
    body {
        font-size: 1.4rem; /* 20px; */
    }
    .container {
        width: 70%;        /* Hogy ne legyenek túl hosszúak a sorok (fárasztó olvasni) */
    }
}

#form-box { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 100%; max-width: 800px; }
.field-wrapper { margin-bottom: 25px; }
label { display: block; font-weight: bold; margin-bottom: 8px; color: #1a202c; }
input[type="text"], input[type="password"], input[type="number"], textarea, select { width: 100%; padding: .5rem; border: 2px solid #e2e8f0; border-radius: 0.5rem; font-size: 1.2rem; margin-top: 1rem;}
.info-text { font-size: 1.2rem; color: #64748b; background: #f8fafc; padding: 10px; border-left: 4px solid #3182ce; margin-top: 1rem; border-radius: 0 4px 4px 0; }
.nav { display: flex; justify-content: flex-end; margin-top: 30px; border-top: 1px solid #edf2f7; padding-top: 20px; }
button { background: #3182ce; color: white; border: none; padding: 12px 30px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1.2rem; transition: 0.2s; }
button:hover { background: #2b6cb0; }
.error { color: #e53e3e; font-size: 1.2rem; margin-top: 5px; font-weight: bold;}
.output {font-size: 1.2rem; margin-top: 5px; font-weight: normal; color: #3182ce;}
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: bold; }
.checkbox-item input { width: 20px; height: 20px; }
h2 {font-size: 1.5rem;}
.hidden {display: none !important;}


.author-manager { border: 1px solid #ccc; padding: 10px; border-radius: 8px; max-width: 800px; }
.table-container { max-height: 400px; overflow-y: auto; margin-top: 10px; border-top: 1px solid #eee; }
table { width: 100%; border-collapse: collapse; font-family: sans-serif; font-size: 14px; }
th { position: sticky; top: 0; background: #f9f9f9; padding: 8px; text-align: left; border-bottom: 2px solid #ddd; }
td { padding: 8px; border-bottom: 1px solid #eee; }
.swap-btn { cursor: pointer; margin-right: 8px; font-size: 16px; border: none; background: none; }
input[type="text"] { width: 100%; padding: 8px; box-sizing: border-box; }
