/* ============================================
   ZÁKLADNÍ NASTAVENÍ
   ============================================ */
body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 0;
    color: #2c3e50;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ============================================
   NADPISY
   ============================================ */
h1, h2, h3 {
    margin-top: 0;
    color: #1f3b6d;
}

/* ============================================
   FORMULÁŘ
   ============================================ */
.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334466;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccd3e0;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #2f6feb;
    outline: none;
    box-shadow: 0 0 4px rgba(47,111,235,0.4);
}

/* ============================================
   TLAČÍTKA
   ============================================ */
button,
.btn {
    background: #2f6feb;
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    display: inline-block;
    text-decoration: none;
}

button:hover,
.btn:hover {
    background: #245bd0;
    transform: translateY(-2px);
}

/* ============================================
   INFORMAČNÍ TEXTY
   ============================================ */
.note {
    font-size: 13px;
    color: #7a8699;
    margin-bottom: 20px;
}

/* ============================================
   ADMIN TABULKA
   ============================================ */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    border: 1px solid #dde3f0;
    padding: 10px;
    font-size: 14px;
    vertical-align: top;
}

.admin-table th {
    background: #eef2fb;
    text-align: left;
    font-weight: 600;
}

/* ============================================
   HLÁŠKY
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #e6f7e9;
    color: #2e7d32;
}

.alert-error {
    background: #fdecea;
    color: #c62828;
}

/* ============================================
   ODKAZY
   ============================================ */
a {
    color: #2f6feb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* ============================================
   FORMULÁŘ – VYLEPŠENÉ STYLOVÁNÍ
   ============================================ */

form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #2c3e50;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccd3e0;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2f6feb;
    outline: none;
    box-shadow: 0 0 4px rgba(47,111,235,0.4);
}

button[type="submit"] {
    background: #2f6feb;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: #245bd0;
    transform: translateY(-2px);
}

/* Škálové otázky */
#scaleQuestions .form-group {
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2fb;
}

#scaleQuestions label strong {
    color: #1f3b6d;
}

/* Radio skupiny */
#scaleQuestions div[style*="display:flex"] label {
    font-size: 14px;
    color: #334466;
}

/* Poznámky */
.note {
    font-size: 14px;
    color: #7a8699;
    margin-bottom: 20px;
}
