/* ===== STILURI PAGINA PRINCIPALĂ ===== */

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: #2b2f36;
}

/* Tabelul cu Profesor coordonator / Elev candidat din colțul
   stânga-sus al headerului. */
.tabel-autori {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    text-align: left;
    border-collapse: collapse;
}

.tabel-autori td {
    padding: 2px 4px;
}

/* Antetul paginii - bara de sus.
   Gradient = trecere lină de la o nuanță la alta. */
header {
    position: relative;
    background: linear-gradient(90deg, #0f172a 0%, #1f2937 50%, #0f172a 100%);
    color: rgb(255, 255, 255);
    padding: 35px 20px;
    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(0,0,0,0.45);
    border-bottom: 3px solid #8b1e1e;
}

header h1 {
    margin: 0 0 8px;
    letter-spacing: 2px;
}

header p {
    margin: 6px auto;
    max-width: 800px;
}

header .inapoi {
    display: inline-block;
    margin-top: 0px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

/* Lista cu secțiunile (butoanele întunecate) */
.lista-regiuni {
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 600px;
}

.lista-regiuni li {
    margin: 15px 0;
}

.lista-regiuni a {
    text-decoration: none;
    background-color: #111827;
    color: rgb(255, 255, 255);
    padding: 15px 20px;
    display: block;
    border-radius: 8px;
    font-size: 18px;
    transition: background 0.3s;
    border-left: 4px solid #8b1e1e;
}

.lista-regiuni a:hover {
    background-color: #374151;
    border-left-color: #c9a227;
}

/* Lista cu detalii (folosită pe paginile de secțiuni) */
.detalii {
    max-width: 700px;
    background: #2b2f36;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    list-style: none;
}

.detalii li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===== STILURI FORMULAR ===== */

body {
    font-family: sans-serif;
    background-color: #2b2f36;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    max-width: 200px;
    margin: 0 auto;
    background-color: rgb(245, 243, 235);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    border: 2px solid #1f2937;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background-color: #1f2937;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background-color: #8b1e1e;
}
