/* ========== Grundlayout ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f7f9;
    color: #333;
}

/* Mobile: Links untereinander */
@media (max-width: 768px) {
    nav .nav-table, nav .nav-table tr, nav .nav-table td {
        display: block;
        width: 100%;
    }
    nav .nav-table td {
        margin-bottom: 4px;
    }
}

/* ========== Formulare ========== */
.form-container, form {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.08);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
form select,
form textarea,
form button {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Buttons */
form button {
    background-color: #0077cc;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    padding: 12px;
}

form button:hover {
    background-color: #005fa3;
}

/* Inputs: Datei / kleine Elemente */
form input[type="file"] {
    padding: 8px;
}

/* Radios/Checkboxen */
form input[type="radio"],
form input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

/* Inline-Gruppierung: Label + Radio nebeneinander */
.form-inline {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.form-inline label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

/* ========== Tabellen ========== */
table {
    width: 95%;
    margin: 28px auto;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.08);
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #e6eef7;
    text-align: center;
}

table th {
    background-color: #0077cc;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #e6f2ff;
}

/* Bilder in Tabellen / Vorschaubilder */
img {
    max-height: 60px;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

/* Erfolgs-Badges */
img.badge {
    height: 40px;       /* Höhe für Erfolgs-Badges */
    width: auto;
    vertical-align: middle;
    margin: 2px 4px 2px 0; /* Oben 2px, rechts 4px, unten 2px, links 0 */
    transition: transform 0.2s, box-shadow 0.2s;
}

img.badge:hover {
    transform: scale(1.2); /* leicht größer beim Hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Links */
a {
    color: #0077cc;
    text-decoration: none;
}

/* Buttons in Tabellen */
.table-button {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

/* Spezifische Tabellenklassen (Profil / Codes) */
table.profil-waters, .codes-table {
    width: 95%;
    margin: 20px auto;
}

/* ========== Codes / Forms spezielle Buttons ========== */
.codes-form {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}
.codes-form .codes-button,
.codes-button {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
.codes-form .codes-button:hover,
.codes-button:hover { background-color: #005fa3; }

/* ========== Updates ========== */
.updates-list {
    max-width: 800px;
    margin: 30px auto;
}

.update-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.update-item h3 {
    margin-top: 0;
    color: #0077cc;
    font-size: 20px;
}

.update-item small {
    color: #666;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.update-item p {
    margin: 0;
    line-height: 1.5;
}

/* ========== Wasserzeichen ========== */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background-image: url('/images/watermark.png'), url('../images/watermark.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.08;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

a.premium-link {
    color: limegreen !important;
    font-weight: bold;
}

a.premium-hint {
    color: yellow !important;
    font-weight: bold;
}

.site-footer {
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    font-size: 14px;
}

.site-footer {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-left img {
    width: 200% !important;
    height: auto;
    object-fit: contain;
}

.footer-col a {
    margin: 5px 0;
    color: #333;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.badge {
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.fish-badge {
    width: 40px;  /* Größere Badges für Fischarten */
    height: 40px;
    border-radius: 50%;
}

.message.success {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}
