* {
    box-sizing: border-box;
}

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



.header-bg {
    width: 100%;
    background-color: #2c3e50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header {
    max-width: 1000px;       /* exakt wie .container */
    margin: 0 auto;          /* zentriert */
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}



.user-info {
    font-size: 16px;
}

.username {
    font-weight: bold;
}

.link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.link:hover {
    color: #27ae60;
}

.logout {
    background-color: #e74c3c;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.logout:hover {
    background-color: #c0392b;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}



h1, h2 {
    text-align: center;
    color: #2c3e50;
}


form {
    margin-bottom: 30px;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
}

input[type="text"], input[type="number"], input[type="password"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 20px;
}


textarea {
    height: 100px;
    resize: vertical;
}

button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #219150;
}



.result-box {
    margin-top: 40px;
    padding: 20px;
    border-radius: 12px;
    background-color: #f9f9f9;
}


.result-box2 {
    margin-top: 20px;
    text-align: center;
    color: #e74c3c;
}

.result-box h3 {
    margin-top: 20px;
    color: #34495e;
}

ul {
    padding-left: 20px;
    list-style-type: disc;
}

.spielname-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #2980b9;
}




table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #2980b9;
    color: white;
}

td {
    background-color: #f9f9f9;
}


.form-container {
    margin-top: 40px;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}


.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #2980b9;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.container2 {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.meldung {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.meldung p {
    margin: 10px 0;
}

.meldung .success {
    color: #27ae60;
}

.meldung .error {
    color: #e74c3c;
}



.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #2980b9;
    text-decoration: none;
    font-size: 16px;
}

.back-link a:hover {
    text-decoration: underline;
}



/* === FOOTER === */
.footer-bg {
    width: 100%;
    background-color: #2c3e50;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
    flex-wrap: wrap;
}

.footer-links {
    text-align: center;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #27ae60;
}





