/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f0f2f5;
    padding: 20px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
}
h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}
h2 {
    color: #34495e;
    margin-bottom: 15px;
}
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
th {
    background: #3498db;
    color: white;
}
tr:hover {
    background: #f8f9fa;
}
input, select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    max-width: 80px;
}
input[type="text"] {
    max-width: 200px;
}
button, .button {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
button:hover, .button:hover {
    background: #27ae60;
}
.button {
    background: #3498db;
}
.button:hover {
    background: #2980b9;
}
.fehler {
    background: #e74c3c;
    color: white;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.spieler-liste {
    list-style: none;
    margin: 10px 0;
}
.spieler-liste li {
    padding: 8px 12px;
    background: #ecf0f1;
    margin: 4px 0;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}
.spieler-liste a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}
label {
    display: inline-block;
    margin-right: 15px;
    padding: 6px 0;
}
small {
    color: #7f8c8d;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* style.css - Erweiterung */

.status {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: bold;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.fehler {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-row label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
}

.filter-row input[type="date"] {
    max-width: 150px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.button.small {
    padding: 6px 14px;
    font-size: 14px;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

td.green {
    color: #27ae60;
}

td.red {
    color: #e74c3c;
}

/* Deaktivierte Buttons */
.button.small.disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.button.small.disabled:hover {
    background: #ccc !important;
    transform: none !important;
}