/* Allgemeine Einstellungen */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #57a8e8, #1c7ed6);
    background-size: cover;
    /* Stellt sicher, dass der Hintergrund die gesamte Seite abdeckt */
    background-attachment: fixed;
    /* Hält den Hintergrund fixiert beim Scrollen */
    background-size: 100% 100%;
    color: #333;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

/* Banner Header */
.banner-header {
    display: flex;
    justify-content: center;
    background-color: #222;
    height: 200px;
    width: 1200px;
}

.banner-header .banner {
    max-width: 100%;
    max-width: 1200px;
}

/* Navigation Header */
.header {
    background-color: #333;
    padding: 10px 0;
    width: 1200px;
}

.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 1200px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.nav a:hover {
    text-decoration: none;
    color: #cccccc;
    font-weight: bold;
}

/* Main Container */
.main-container {
    display: flex;
    justify-content: space-between;
    background-color: #d3d3d3;
    width: 1200px;
}

/* Linker und Rechter Container */
.left-container {
    flex: 1;
    max-width: 200px;
    background: #f9f9f9;
    padding: 20px;
    border-right: 1px solid #cccccc;
    /* 8px border on the right side */
}

.right-container {
    flex: 1;
    max-width: 200px;
    background: gray;
    padding: 20px;
    border-left: 1px solid #cccccc;
    /* 8px border on the left side */
}

/* Mittlerer Container */
.middle-container {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-right: 1px solid #cccccc;
    /* 8px border on the right side */
    border-left: 1px solid #cccccc;
    /* 8px border on the left side */
}

/* Footer */
.footer {
    background: #333;
    color: #fff !important;
    text-align: center;
    height: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 1200px;
}

.footer p {
    color: #fff !important;
    text-align: center;
    line-height: 3.0 !important;
}

/* News */
.news {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    padding: 20px;
    margin-top: 10px;
}

.news-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #d3d3d3;
}

.news-header img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 5px;
}

.news-header .info {
    font-size: 0.9rem;
}

.news-header .info strong {
    display: block;
    font-size: 1.1rem;
}

.news-header .info span {
    display: block;
    color: #333333;
}

.news-content {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

/* Default Leftsite Main */
.list-container {
    width: 100%;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

ul.list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.list li {
    width: 50%;
    margin-bottom: 10px;
}

ul.list li a {
    text-decoration: none;
    color: #000;
}

ul.list li a:hover {
    text-decoration: none;
    color: #cccccc;
    font-weight: bold;
}


/* Updated Leftsite Main */
.info-container {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

ul.info-list {
    list-style-type: none;
    padding: 0;
}

ul.info-list li {
    margin-bottom: 12px;
    line-height: 1.0;
    color: #333;
}

ul.info-list li span {
    font-weight: normal;
    color: #666;
}

ul.info-list li:hover {
    color: #444;
}


/* Default Leftsite Main Login */
.login-container {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding-inline: 10px;
    margin: 50px right;
    padding: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-button {
    background-color: #cccccc;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    height: 20px;
    line-height: 0.2;
    display: inline-block;
}

.login-button:hover {
    text-decoration: none;
    color: #cccccc;
}

.register-link {
    text-decoration: none;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}

.register-link:hover {
    text-decoration: none;
    color: #cccccc;
}


/* New Full Width Container */
.full-width-container {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    /* Zeigt die Boxen untereinander */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gradient-box {
    padding: 20px 40px;
    font-size: 14px;
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    /* Abstand zwischen den Boxen */
    border: 1px solid #333;
}

/* Individuelle Farben für jede Box */
.gradient-box-1 {
    background: linear-gradient(to right, #8e44ad, #9b59b6);
    /* Dunkelpurpur zu Hellpurpur */
}

.gradient-box-2 {
    background: linear-gradient(to right, #2c3e50, #34495e);
    /* Dunkelblau zu Blau */
}

.gradient-box-3 {
    background: linear-gradient(to right, #c0392b, #e74c3c);
    /* Dunkelrot zu Rot */
}

.gradient-box-4 {
    background: linear-gradient(to right, #27ae60, #2ecc71);
    /* Dunkelgrün zu Grün */
}

.gradient-box span {
    color: #28a745;
    /* Grün für "Online" */
}


.news-section {
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-table {
    width: 100%;
    table-layout: fixed;
    text-align: center;
    /* Horizontale Zentrierung */
}

.news-left-cell,
.news-right-cell,
.news-center-cell {
    vertical-align: middle;
    /* Vertikale Zentrierung */
    text-align: center;
    /* Zusätzliche horizontale Zentrierung */
    font-weight: bold;
}

.news-center-cell img {
    max-width: 100%;
    height: auto;
}

.news-link {
    text-decoration: none;
    color: #333;
    display: block;
    margin: 5px 0;
}

.news-link:hover {
    color: #cccccc;
}

.news-center-text {
    margin-top: 10px;
}

.news-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.bbcode-content img {
    max-width: 100%;
    /* Ensures images fit within the container */
    height: auto;
    /* Maintains aspect ratio */
    display: block;
    /* Avoids inline layout issues */
    margin: 0 auto;
    /* Optionally centers the images */
}


.infoSite table {
    width: 100%;
    border-collapse: collapse;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

.infoSite table td {
    padding: 20px;
    line-height: 1.8;
    font-size: 14px;
    color: #333;
}

.infoSite table .highlight {
    color: #000;
    font-weight: bold;
}

.infoSite table tr:nth-child(odd) {
    background-color: #ffffff;
}

.infoSite table tr:nth-child(even) {
    background-color: #f1f1f1;
}

/* User Stats */
.stat-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}

.stat-container p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    text-align: left;
    font-weight: bold;
}

.bar-container {
    width: 100%;
    background-color: #ddd;
    border: 1px solid #333;
    height: 10px;
    overflow: hidden;
}

.bar {
    height: 100%;
    transition: width 0.3s ease-in-out;
}

.bar.lp {
    background-color: red;
}

.bar.kp {
    background-color: blue;
}

/* Default Leftsite Main */
.menu-container {
    width: 100%;
    background-color: gray;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

.menu-container2 {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

.menu-container p {
    font-size: 15px;
    color: #333;
    text-align: left;
    font-weight: bold;
    margin-top: 20px;
}

ul.menu-list {
    margin: 0;
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

ul.menu-list li {
    width: 35%;
    /* Reduce width to allow better spacing */
    margin-bottom: 3px;
    /* Space between rows */
}

ul.menu-list li.vertical-item {
    width: 100%;
    /* These items take full width to stack vertically */
}

ul.menu-list li a {
    text-decoration: none;
    color: #000;
}

ul.menu-list li a:hover {
    text-decoration: none;
    color: #cccccc;
}


.error-container {
    width: auto;
    padding: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.alert-success {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.alert-succes2 {
    background-color: green;
    color: black;
    border: 1px solid green;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

.alert-error2 {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}


.success-container {
    width: auto;
    padding: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.alert-danger {
    background-color: green;
    color: black;
    border: 1px solid green;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

.player-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 10px;
}

.box {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid black;
    margin: 20px auto;
}

.box img {
    max-width: 100%;
    max-height: 100%;
}



.table-container {
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
}

.table-container p {
    background-color: #CCCCCC;
    font-weight: bold;
}

.table-container a {
    text-decoration: none;
    color: #000;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    border: none;
    /* Entfernt den äußeren Tabellenrand */
}

.styled-table th,
.styled-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    border: none;
    /* Entfernt die Zellränder */
}

.styled-table .no-bg {
    background-color: white;
    /* Kein Hintergrund */
}

.styled-table .with-bg {
    background-color: #CCCCCC;
    /* Heller Hintergrund */
}


/* Seitennavigation Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination a.active {
    background-color: #0056b3;
    color: #fff;
    pointer-events: none;
    border-color: #0056b3;
}

/* Spezifisches Styling für den Suchbereich */
.form-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #f4f4f4;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-search input[type="text"] {
    flex-grow: 1;
    padding: 8px;
    font-size: 14px;
}

.form-search select {
    padding: 8px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.form-search button {
    padding: 8px 16px;
    background-color: #cccccc;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.news-edit-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fdfdfd;
    /* Heller Hintergrund */
    font-family: Arial, sans-serif;
}

.news-edit-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
    /* Dunkle Schriftfarbe */
}

.news-edit-form input,
.news-edit-form textarea,
.news-edit-form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.news-edit-form input:focus,
.news-edit-form textarea:focus {
    border-color: #007bff;
    /* Blau beim Fokussieren */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.news-edit-form textarea {
    resize: vertical;
    /* Benutzer kann die Größe ändern, aber nur vertikal */
    min-height: 400px;
}

.news-edit-form button {
    background-color: #28a745;
    /* Grün für den Button */
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
}

.news-edit-form button:hover {
    background-color: #218838;
    /* Etwas dunkleres Grün beim Hover */
}

.news-edit-form button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

/* CSS für automatische Wortumbrüche */
.bbcode-content {
    word-wrap: break-word;
    /* Alte Browser */
    word-break: break-word;
    /* Moderne Browser */
    overflow-wrap: break-word;
    /* Standard */
}

.profil-container {
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
}

.profil-container p {
    background-color: #CCCCCC;
    font-weight: bold;
    text-align: center;
}

.profil-container a {
    text-decoration: none;
    color: #000;
}

.profil-box {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid black;
    margin: 20px auto;
}

.profil-box img {
    width: 100%;
    height: 100%;
}


.profile-container2 {
    display: flex;
    height: auto;
    width: 100%;
}

.profile-container2 p {
    all: unset;
}

.profile-left p {
    font-weight: bold;
}

.profile-left,
.profile-right {
    flex: 1;
    display: flex;
    gap: 0;
}

.profile-left {
    flex-direction: column;
}

.profile-left p {
    margin: 2px 0;
}

.profil-box2 {
    width: 100%;
    height: 100%;
}

p {
    margin: 0;
    /* Entfernt Standard-Margin */
    padding: 0;
    /* Entfernt Padding */
    line-height: 1.5;
    /* Zeilenabstand für bessere Lesbarkeit */
    font-size: 16px;
    /* Schriftgröße */
    color: #333;
    /* Textfarbe */
    font-family: Arial, sans-serif;
    /* Konsistente Schriftart */
}


.patch-notes .note {
    background: #ffffff;
    margin: 15px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.note p {
    color: #333333;
    font-size: 1em;
    line-height: 1.6;
}

.note small {
    display: block;
    margin-top: 10px;
    color: #666666;
    font-size: 0.9em;
    font-style: italic;
}




/* Footer */
.chatboxfull {
    background: #f9f9f9;
    color: #fff;
    height: 300px;
    min-height: 300px;
    width: 1200px;
}


.chat-container {
    width: 100%;
    padding: 10px;
    background: #f9f9f9;
    height: 300px;
    min-height: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

.chat-header {
    margin-bottom: 10px;
    background: #d3d3d3;
    color: black;
}

.chat-header select {
    padding: 8px;
    margin-right: 10px;
    background-color: #cccccc;
    color: black;
    width: 10%;
}

.chat-header input[type="text"] {
    padding: 8px;
    margin-right: 10px;
    background-color: #cccccc;
    color: black;
    width: 50%;
}

.chat-header button {
    padding: 8px 15px;
    background-color: #cccccc;
    color: black;
    border: 1px solid black;
    cursor: pointer;
}

.chat-messages {
    max-height: 400px;
    min-height: 400px;
    overflow-y: auto;
    background-color: black;
    padding: 10px;
    border-radius: 4px;
}

.chat-message {
    margin-bottom: 10px;
}

.chat-message span {
    font-weight: bold;
}

/* General styling for the fieldset container */
fieldset {
    padding: 16px;
    /* Inner spacing */
    margin: 16px 0;
    /* Outer spacing */
    background-color: #f9f9f9;
    border: 1px solid gray;
    /* Light grey background */
}

/* Styling for the legend */
legend {
    font-size: 1.2rem;
    /* Slightly larger font */
    font-weight: bold;
    padding: 0 8px;
    /* Add space around text */
}

/* Paragraph styling */
fieldset p {
    font-size: 1rem;
    /* Standard readable font size */
    margin: 8px 0;
    /* Space between paragraphs */
    color: #333;
    /* Dark grey text color */
    text-align: left !important;
    background-color: #f9f9f9 !important;
}

.reisen {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
}

.reisen thead {
    background-color: #e0e0e0;
    font-weight: bold;
}

.reisen th,
.reisen td {
    padding: 10px;
    border: 1px solid #ccc;
}

.reisen img {
    width: 150px;
    height: 150px;
}

.reisen button {
    background-color: #cccccc;
    ;
    color: black;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}


.reisen select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
}

.reisep {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
}





/* Wrapper um die Tabelle, begrenzt die Breite */
.fight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Allgemeine Tabelle */
.fight-table {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0;
    font-family: Arial, sans-serif;
    align-items: flex-start;
    /* Verhindert, dass die Spalten sich vertikal ausdehnen */
}

/* Linke und rechte Spalten, jeweils 20% */
.fight-table .left,
.fight-table .right {
    width: 20%;
    /* 20% Breite */
    padding: 5px;
}

/* Mittlere Spalte, 60% Breite, Höhe passt sich dem Inhalt an */
.fight-table .middle {
    width: 60%;
    /* 60% Breite */
    padding: 5px;
    border: 2px solid black;
    background-color: lightgray;
    min-height: 100px;
    /* Minimale Höhe */
    height: auto;
    /* Höhe passt sich dem Inhalt an */
}





.action-box {
    font-size: 1.2em;
    color: #f57c00;
    padding: 10px;
    background-color: #ffecb3;
    border: 1px solid #f57c00;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Teams untereinander */
.team-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Weniger Abstand zwischen den Boxen */
}

/* Spieler- und NPC-Boxen */
.player-box {
    border: 2px solid black;
    padding: 5px;
    background-color: lightgray;
    text-align: center;
    /* Zentriert den Text und das Bild */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* Elemente vertikal anordnen */
    align-items: center;
    /* Zentriert die Inhalte horizontal */
    gap: 5px;
    margin-bottom: 5px;
}

/* Spieler-Bild */
.player-box img {
    max-width: 90%;
    /* Weniger Platz für Bilder */
    height: auto;
    border: 1px solid black;
}

/* Name */
.player-box h2 {
    font-size: 1em;
    margin: 0;
    /* Kein zusätzlicher Abstand */
}

/* KI-Text */
.player-box .ki {
    text-align: left;
    font-size: 0.9em;
    width: 100%;
    /* Füllt die Breite der Box aus */
    margin-bottom: -10px;
    /* Abstand nach oben und unten */
}

/* Lebensbalken */
.player-box .life-bar {
    width: 100%;
    height: 15px;
    background-color: #ddd;
    /* Hintergrundfarbe des Balkens */
    /* Abstand */
    position: relative;
    /* Wichtig für inneres Layout */
    border: 1px solid #999;
    /* Rahmen für Klarheit */
    overflow: hidden;
    /* Verhindert Überschreitung */
    display: block;
    /* Sicherstellen, dass es ein Blockelement ist */
}

.player-box .life-bar .progress {
    height: 100%;
    background: linear-gradient(to right, #ff0000, #cc0000);
    /* Farbverlauf für LP */
    width: 0%;
    /* Dynamisch per Inline-Styling gesetzt */
    transition: width 0.3s ease;
    position: absolute;
    /* Innerhalb der Leiste korrekt positioniert */
    left: 0;
    /* Startet bei der linken Seite */
    top: 0;
    /* Passt sich an den oberen Rand an */
}

/* KP-Balken */
.player-box .kp-bar {
    width: 100%;
    height: 15px;
    background-color: #ddd;
    /* Hintergrundfarbe des Balkens */
    margin-top: -3px;
    /* Abstand */
    position: relative;
    /* Wichtig für inneres Layout */
    border: 1px solid #999;
    /* Rahmen für Klarheit */
    overflow: hidden;
    /* Verhindert Überschreitung */
    display: block;
    /* Sicherstellen, dass es ein Blockelement ist */
}

.player-box .kp-bar .progress {
    height: 100%;
    background: linear-gradient(to right, #0000ff, #000099);
    /* Farbverlauf für KP */
    width: 0%;
    /* Dynamisch per Inline-Styling gesetzt */
    transition: width 0.3s ease;
    position: absolute;
    /* Innerhalb der Leiste korrekt positioniert */
    left: 0;
    /* Startet bei der linken Seite */
    top: 0;
    /* Passt sich an den oberen Rand an */
}


.player-box .techniken {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 0.9em;
    text-align: left;
}

.player-box .techniken li {
    margin: 2px 0;
    padding: 2px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
}


.middle form {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.middle form h2 {
    font-size: 1.2em;
    color: #f57c00;
    margin: 0;
}

.middle form select {
    padding: 5px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.middle form button {
    background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
    /* Subtiler Farbverlauf */
    color: #333;
    /* Dunkle Schriftfarbe */
    font-weight: bold;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-align: center;
    margin: 2px;
    /* Abstand zu anderen Buttons */
}

.middle form button:hover {
    background: linear-gradient(to bottom, #eaeaea, #d6d6d6);
    box-shadow: inset 0 1px 0 #ddd, 0 1px 4px rgba(0, 0, 0, 0.4);
}


.fightmessage {
    background-color: white;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    /* Passt die Breite an den Inhalt an */
    margin-bottom: 5px;
}


/* Kampflog */
.fight-log {
    padding: 15px;
    border: 2px solid #ccc;
    font-family: monospace;
    font-size: 0.9em;
    min-height: 0px;
    max-height: auto;
    overflow-y: auto;
    border: 2px solid black;
    box-sizing: border-box;
    min-width: 100%;
    max-width: 100%;
    background-color: lightgray;
    text-align: center;
}

.center-image {
    max-width: 100%;
    /* Bild nimmt maximal die volle Breite des Containers ein */
    height: auto;
    /* Bildhöhe wird automatisch angepasst */
    margin: 10px 0;
    /* Abstand zu den anderen Elementen */
    border-radius: 8px;
    /* Optional: abgerundete Ecken */
    display: block;
    /* Verhindert unerwünschte Abstände unterhalb des Bildes */
    margin-left: auto;
    /* Zentriert das Bild */
    margin-right: auto;
    /* Zentriert das Bild */
    object-fit: cover;
}

.center-image2 {
    max-width: 40%;
    /* Bild nimmt maximal die volle Breite des Containers ein */
    height: auto;
    /* Bildhöhe wird automatisch angepasst */
    margin: 10px 0;
    /* Abstand zu den anderen Elementen */
    border-radius: 8px;
    /* Optional: abgerundete Ecken */
    display: block;
    /* Verhindert unerwünschte Abstände unterhalb des Bildes */
    margin-left: auto;
    /* Zentriert das Bild */
    margin-right: auto;
    /* Zentriert das Bild */
    object-fit: cover;
}

.blue-text {
    color: blue;
    font-weight: bold;
    font-size: 14px;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.yello-text {
    color: gold;
    font-weight: bold;
    font-size: 14px;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.red-text {
    color: red;
    font-weight: bold;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.fightlogtext {
    font-size: 14px;
}

.bold-text {
    font-weight: bold;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.round {
    font-size: 30px;
    font-weight: bold;
}

.thick-divider {
    display: block;
    width: 100%;
    /* Füllt die gesamte Breite */
    height: 2px;
    /* Dicke des Streifens */
    background-color: black;
    /* Farbe des Streifens */
    border: none;
    /* Entfernt Standardrahmen */
    margin: 20px 0;
    /* Abstand nach oben und unten */
}

.technik1 {
    color: green;
    display: inline;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.technik2 {
    color: orange;
    display: inline;
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.technik3 {
    color: purple;
    display: inline;
}

.target {
    display: inline;
    /* oder inline-block, je nach Bedarf */
}

.customAction {
    width: 55%;
    height: 24px;
}

.techniquelll {
    width: 100%;
}

.endurance-bar {
    width: 100%;
    background-color: #ddd;
    border: 1px solid #333;
    height: 15px;
    overflow: hidden;
    margin-top: -3px;
}

.endurance-bar .progress {
    height: 100%;
    background-color: darkgreen;
}


/* Ladebalken-Container */
/* Ladebalken-Container */
.custom-loader {
    width: 150px;
    /* Breite des Ladebalkens */
    height: 15px;
    /* Höhe des Ladebalkens */
    background-color: #e0e0e0;
    /* Hellgrauer Hintergrund */
    overflow: hidden;
    /* Verhindert, dass etwas aus dem Container herausragt */
    position: relative;
    border: 1px solid black;
    /* Rahmen */
    margin: 10px 0;
    /* Abstand zwischen dem Ladebalken und den anderen Elementen */
}

/* Bewegender Ladebalken mit fließendem Übergang */
.loading-strip {
    width: 100%;
    /* Breite des animierten Balkens */
    height: 100%;
    /* Höhe entspricht dem Container */
    background: linear-gradient(to right,
            #002f8b,
            /* Dunkelblau */
            #3a7bd5,
            /* Mittelblau */
            #89c5ff,
            /* Helles Blau */
            #d4edff,
            /* Sehr helles Blau */
            #89c5ff,
            /* Helles Blau */
            #3a7bd5,
            /* Mittelblau */
            #002f8b
            /* Dunkelblau */
        );
    /* Symmetrischer Farbverlauf */
    background-size: 200% 100%;
    /* Hintergrundbreite für flüssige Bewegung */
    animation: gradient-move 4s ease-in-out infinite;
    /* Endlosbewegung */
}

/* Animation des Farbverlaufs */
@keyframes gradient-move {
    0% {
        background-position: 0% 0%;
        /* Startposition */
    }

    50% {
        background-position: 100% 0%;
        /* Mitte: ganz nach rechts */
    }

    100% {
        background-position: 0% 0%;
        /* Ende: zurück zum Start */
    }
}

.hhhgggjjii {
    display: flex;
    /* Flexbox aktivieren */
    flex-direction: column;
    /* Elemente untereinander anordnen */
    justify-content: center;
    /* Vertikal zentrieren */
    align-items: center;
    /* Horizontal zentrieren */
    width: 100%;
    /* Die Breite des Containers */
    text-align: center;
    /* Textzentrierung */
    margin-top: 20px;
}

.hhhgggjjii p {
    margin: 0;
    /* Entfernt alle Ränder */
    padding: 0;
    /* Entfernt alle Innenabstände */
    font-size: inherit;
    /* Erbt die Schriftgröße vom übergeordneten Element */
    line-height: inherit;
    /* Erbt den Zeilenabstand vom übergeordneten Element */
    text-align: inherit;
    /* Erbt die Textausrichtung */
    font-weight: inherit;
    /* Erbt die Schriftstärke */
    font-family: inherit;
    /* Erbt die Schriftart */
    color: inherit;
    /* Erbt die Textfarbe */
}

.super-sayajin {
    font-weight: bold;
    color: gold;
    display: inline;
    font-size: 12px;
    text-shadow:
        1px 1px 0 black,
        -1px 1px 0 black,
        1px -1px 0 black,
        -1px -1px 0 black;
}

.oozaru {
    font-weight: bold;
    color: brown;
    display: inline;
    font-size: 12px;
    text-shadow:
        1px 1px 0 black,
        -1px 1px 0 black,
        1px -1px 0 black,
        -1px -1px 0 black;
}

.super-sayajin-4 {
    font-weight: bold;
    color: red;
    display: inline;
    font-size: 12px;
    text-shadow:
        1px 1px 0 black,
        -1px 1px 0 black,
        1px -1px 0 black,
        -1px -1px 0 black;
}


.npcplanet {
    width: 100%;
    margin: auto;
    border-collapse: separate;
    /* Wichtig: Muss auf "separate" gesetzt sein */
    border-spacing: 5px;
    /* Abstand zwischen den Zellen (z. B. 10px) */
    justify-content: center;
    table-layout: fixed;
    /* Fixierte Spaltenbreite */
}

.npcplanet th,
.npcplanet td {
    padding: 10px;
    background-color: lightgray;
}

.npcplanet th {
    color: black;
}

.npcplanet img {
    border-radius: 5px;
    width: 100%;
    /* Feste Bildbreite */
    height: 100%;
    /* Feste Bildhöhe */
    object-fit: cover;
    /* Sorgt für gleichmäßige Skalierung */
}

/* Setzt die Spaltenbreiten */
.npcplanet th:nth-child(1),
.npcplanet td:nth-child(1) {
    width: 20%;
}

.npcplanet th:nth-child(2),
.npcplanet td:nth-child(2) {
    width: 60%;
}

.npcplanet th:nth-child(3),
.npcplanet td:nth-child(3) {
    width: 20%;
}




.npcplanet2 {
    width: 100%;
    margin: auto;
    /* Abstand zwischen den Zellen (z. B. 10px) */
    justify-content: center;
    text-align: center;
    table-layout: fixed;
    font-size: 14px;
    /* Fixierte Spaltenbreite */
}

.npcplanet2 th,
.npcplanet2 td {
    padding: 5px;
    background-color: lightgray;
}

.npcplanet2 th {
    color: black;
}

.npcplanet2 img {
    border-radius: 5px;
    width: 100%;
    /* Feste Bildbreite */
    height: 100%;
    /* Feste Bildhöhe */
    object-fit: cover;
    /* Sorgt für gleichmäßige Skalierung */
}

/* Setzt die Spaltenbreiten */
.npcplanet2 th:nth-child(1),
.npcplanet2 td:nth-child(1) {
    width: 15%;
}

.npcplanet2 th:nth-child(2),
.npcplanet2 td:nth-child(2) {
    width: 20%;
}

.npcplanet2 th:nth-child(3),
.npcplanet2 td:nth-child(3) {
    width: 25%;
}

.npcplanet2 th:nth-child(4),
.npcplanet2 td:nth-child(4) {
    width: 20%;
}

.npcplanet2 th:nth-child(5),
.npcplanet2 td:nth-child(5) {
    width: 20%;
}

.support-npc-box {
    width: 100%;
    height: 70px !important;
    border: 1px solid black;
    border-radius: 5px;
}


.support-npc-box-img {
    border: 1px solid black;
    float: left;
}

.support-npc-table {
    max-width: 400px;
    /* Oder eine andere sinnvolle Breite */
    table-layout: fixed;
    /* Erzwingt feste Breiten */
}

.npc-image-cell {
    width: 40%;
    /* Statt 5% -> min. 20% für bessere Darstellung */
    text-align: center;
}

.npc-info-cell {
    width: 10px;
    word-wrap: break-word;
}


/* Animation für das Blinken */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
        /* Sichtbar */
    }

    50% {
        opacity: 0;
        /* Unsichtbar */
    }
}

/* Stil für das div */
.blinking-div {
    width: 90%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    background-color: dodgerblue;
    margin-top: -10px;
}

/* Text im div blinken lassen */
.blinking-div span {
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-shadow:
        1px 1px 0 black,
        -1px 1px 0 black,
        1px -1px 0 black,
        -1px -1px 0 black;
    /* Umrandung durch Schatten */
    animation: blink 1s infinite;
}


.npctttghj {
    width: 100%;
}

.npctttghj th,
.npctttghj td {
    padding: 10px;
    text-align: left;
}

.npctttghj .left-col {
    width: 30%;
}

.npctttghj .right-col {
    width: 70%;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}



.npctttghj3 {
    width: 100%;
    border: 1px solid gray;
    padding: 10px;
    box-sizing: border-box;
}

.npctttghj2 {
    width: 100%;
    border: 1px solid gray;
    box-sizing: border-box;
}

.npctttghj2 th,
.npctttghj2 td {
    padding: 10px;
    text-align: left;
}

.npctttghj2 .left-col {
    width: 30%;
}

.npctttghj2 .right-col {
    width: 70%;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}


.npcheader {
    width: 100%;
    border: 1px solid gray;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
}






.lobby-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.lobby-table th {
    padding: 8px;
    text-align: left;
    background-color: white;
    /* Weißer Hintergrund für Überschriften */
}

.lobby-table td {
    padding: 8px;
    text-align: left;
    background-color: transparent;
    /* Transparenter Hintergrund für Zellen */
}

.lobby-table tr {
    background-color: lightgray;
    /* Hintergrundfarbe für Zeilen */
}

.lobby-table thead tr {
    background-color: white;
    /* Weißer Hintergrund nur für Kopfzeilen */
}

.lobby-table a {
    text-decoration: none;
    color: inherit;
}

.lobby-table a:hover {
    text-decoration: underline;
}



.lobby-table2 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.lobby-table2 th {
    padding: 8px;
    text-align: left;
    background-color: lightgray;
    /* Hintergrundfarbe für Zeilen */
}

.lobby-table2 td {
    padding: 8px;
    text-align: left;
    background-color: transparent;
    /* Transparenter Hintergrund für Zellen */
}

.lobby-table2 thead tr {
    background-color: white;
    /* Weißer Hintergrund nur für Kopfzeilen */
}

.lobby-table2 a {
    text-decoration: none;
    color: inherit;
}

.lobby-table2 a:hover {
    text-decoration: underline;
}




.lobby-table3 {
    width: 100%;
    border-collapse: collapse;
    background-color: lightgray;
}

.lobby-table3 th {
    text-align: left;
    padding: 8px;
}

.lobby-table3 th:first-child {
    text-align: left;
    font-size: 12px;
}

.lobby-table3 th:last-child {
    text-align: right;
}

.lobby-table3 a {
    text-decoration: none;
    color: black;
}

.lobby-table3 a:hover {
    text-decoration: none;
    color: #cccccc;
}



.fight-container .watch-left.team-column {
    color: blue;
}

.fight-container .watch-right.team-column {
    color: red;
}

.fight-container .watch-opponents {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.fight-container .watch-center-image {
    text-align: center;
    margin-bottom: 10px;
}

.fight-container a {
    text-decoration: none;
    color: black;
}

.createnewfight-table {
    width: 85%;
    /* Die Tabelle nimmt 60% der Breite des Elterncontainers ein */
    margin: 20px auto;
    /* Zentriert die Tabelle horizontal und fügt vertikalen Abstand hinzu */
    font-family: Arial, sans-serif;
    /* Einheitliche Schriftart */
    font-size: 14px;
    /* Textgröße */
    color: #333;
    display: flex;
    /* Flexbox für Layout: Bild links, Box rechts */
    flex-direction: row;
    /* Layout horizontal ausrichten */
    overflow: hidden;
}

.createnewfight-image-cell {
    width: 30%;
    /* Bildzelle nimmt 40% der Breite der Tabelle ein */
    text-align: center;
    /* Zentriert das Bild horizontal */
    /* Hintergrundfarbe hinter dem Bild */
    padding: 10px;
}

.createnewfight-image-cell img {
    width: 100%;
    /* Das Bild füllt die Zelle */
    height: auto;
    /* Beibehaltung des Seitenverhältnisses */
    border-radius: 10px;
    /* Optional: Abgerundete Ecken am Bild */
}

.createnewfight-form-cell {
    width: 60%;
    /* Formularzelle nimmt 60% der Breite der Tabelle ein */
    padding: 20px;
    /* Innenabstand für die Formularzelle */
    display: flex;
    /* Abstand zwischen Formularfeldern */
    float: left;
    text-align: left;
    /* Für Text innerhalb des divs */
    justify-content: flex-start;
    background-color: #e6e6e6;
}

.createnewfight-form-row {
    display: flex;
    flex-direction: row;
    /* Nebeneinander */
    margin-bottom: 10px;
    gap: 5px;
    /* Abstand zwischen den Elementen */
}

.createnewfight-form-row label {
    width: 100px;
    /* Einheitliche Breite für alle Labels */
    /* Text im Label rechtsbündig */
    font-weight: bold;
    font-size: 14px;
    line-height: -50px;
    margin-right: -10px;
}

.createnewfight-form-row input,
.createnewfight-form-row select {
    flex: 1;
    /* Eingabefeld oder Dropdown nimmt verbleibende Breite ein */
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.createnewfight-inline-vs {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Abstand zwischen Dropdowns und "vs"-Text */
}

.createnewfight-inline-vs select {
    width: 70px;
    /* Feste Breite der Kämpfer-Dropdowns */
}

.createnewfight-button {
    background-color: #cccccc;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    height: 20px;
    line-height: 0.2;
    display: inline-block;
}


.fight-log-container {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.content {
    width: 100%;
}

.player-invitation {
    width: 100%;
    border: 1px solid black;
    text-align: center !important;
    margin-bottom: 10px;
    background-color: gray;
    color: white !important;
}

.player-invitation p {
    text-align: center !important;
    color: white !important;
}










.group-members {
    display: flex;
    flex-wrap: wrap;
    /* Allows multiple rows */
    gap: 20px;
    /* Space between player containers */
    justify-content: center;
    /* Centers the player containers */
    width: 100% !important;
}

.player-container {
    display: flex;
    flex-direction: column;
    /* Organizes the name above the card */
    align-items: flex-start;
    /* Aligns items to the left */
}

/* Spielername */
.player-name {
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-align: left;
    display: inline !important;
}

/* Deko-Pfeil vor dem Spielernamen */
.player-name::before {
    content: "» ";
    color: black;
}


.player {
    background-color: cyan;
    /* Background color */
    border: 2px solid white;
    /* White border */
    border-radius: 10px;
    /* Slightly rounded box */
    padding: 5px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    width: 300px;
    /* Adjusted width for better alignment */
    display: flex;
    /* Horizontal layout for profile and bars */
    align-items: center;
    /* Centers content vertically */
    gap: 15px;
    /* Space between elements */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.player img {
    width: 40px;
    /* Adjusted size of the profile picture */
    height: 40px;
    border-radius: 5px;
    /* Changed from circular to slightly rounded rectangle */
    border: 2px solid white;
}

.group-bar-container {
    display: flex;
    flex-direction: column;
    /* Stacks bars vertically */
    gap: 5px;
    /* Space between bars */
    width: 100%;
    /* Ensures bars span the container width */
}

.group-bar {
    height: 10px;
    flex-grow: 1;
    position: relative;
    background-color: lightgray;
    overflow: hidden;
}

.group-bar-inner {
    height: 100%;
    position: absolute;
    left: 0;
    background-color: red;
    transition: width 0.3s ease;
    /* Smooth animation for bar filling */
}

.group-actions {
    text-decoration: none;
}

.group-actions a {
    text-decoration: none;
    color: black;
}

.leader-icon {
    width: 10px;
    height: 10px;
}

/* CSS to style buttons as links */
/* CSS to style buttons as links and place them side by side */
/* Buttons als Links */
.btn {
    display: inline;
    /* Verhält sich wie ein Link */
    background: none;
    border: none;
    color: black;
    text-decoration: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    margin: 0;
    /* Kein zusätzlicher Buttonabstand, wird durch Flexbox geregelt */
}

/* Hover-Effekt für Buttons */
.btn:hover {
    color: black;
    text-decoration: none;
}

/* Optional: Stil für Gruppenleiter-Symbol */
.leader-icon {
    margin-left: 5px;
    vertical-align: middle;
    /* Symbol auf Textlinie ausrichten */
    height: 16px;
    width: 16px;
}

.player-row {
    display: flex;
    justify-content: flex-start !important;
    /* Elemente linksbündig ausrichten */
    align-items: flex-start !important;
    /* Vertikale Ausrichtung auf die Oberkante */
    gap: 10px;
    /* Abstand zwischen den Elementen */
    margin-bottom: -10px;
    /* Abstand nach unten für jeden Spieler */
    font-weight: bold;
}

.player-row-wrapper {
    width: 100%;
    /* Nutzt den verfügbaren Platz aus */
    display: flex;
    justify-content: flex-start;
    /* Links ausgerichtet */

}

.online-status {
    display: inline !important;
}

/* profil rüssi */
.canvas {
    position: relative;
    height: 450px;
    width: 250px;
    justify-content: center;
    text-align: center;
    margin-left: 20%;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain !important;
    /* Das gesamte Bild bleibt sichtbar */
    background-position: center center !important;
    /* Horizontal und vertikal zentriert */
    background-repeat: no-repeat !important;
    /* Bild wiederholt sich nicht */
    text-align: center !important;
}

.partner-container {
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-title {
    font-size: 2rem;
    margin-bottom: 20px;
    /* Adds space below the main title */
}

.partner-container-panel {
    width: 90%;
    border: 1px solid #cccccc;
    min-height: 50px;
    max-height: auto;
    margin-bottom: 20px;
}

.header-content {
    background-color: #f0f0f0;
    /* Example background */
    padding: 10px;
    border-bottom: 2px solid #ccc;
    /* Optional: Adds a border under the header */
}

.partner-container-panel h2 {
    margin: 0;
    /* Removes default margin for the header */
}

.header-content a {
    text-decoration: none;
    color: black;
}




.npcplanet3 {
    width: 100%;
    margin: auto;
    border-collapse: separate;
    /* Wichtig: Muss auf "separate" gesetzt sein */
    border-spacing: 5px;
    /* Abstand zwischen den Zellen (z. B. 10px) */
    justify-content: center;
    table-layout: fixed;
    /* Fixierte Spaltenbreite */
}

.npcplanet3 th,
.npcplanet3 td {
    padding: 10px;
    background-color: lightgray;
}

.npcplanet3 th {
    color: black;
}

.npcplanet3 img {
    border-radius: 5px;
    width: 100%;
    /* Feste Bildbreite */
    height: 100%;
    /* Feste Bildhöhe */
    object-fit: cover;
    /* Sorgt für gleichmäßige Skalierung */
}

/* Setzt die Spaltenbreiten */
.npcplanet3 th:nth-child(1),
.npcplanet3 td:nth-child(1) {
    width: 20%;
}

.npcplanet3 th:nth-child(2),
.npcplanet3 td:nth-child(2) {
    width: 60%;
}

.unicfighthistory-wrapper {
    width: 90%;
    margin: 0 auto;
    /* Zentrieren des Divs */
    text-align: center;
    /* Zentrieren des Inhalts */
}

.fighthistory-wrapper a {
    text-decoration: none;
    color: black;
}

.unicfighthistory {
    width: 94%;
    /* Tabelle nimmt die volle Breite des Divs ein */
    border-collapse: collapse;
    border: 1px solid #ddd;
    /* Rahmen der Tabelle */
    padding: 20px;
}

.unicfighthistory a {
    text-decoration: none;
    color: black;
}

.unicfighthistory th,
.unicfighthistory td {
    width: 50%;
    /* Spaltenbreite */
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
    /* Zellrahmen */
}

.unicfighthistory th {
    background-color: #f4f4f4;
    /* Hintergrundfarbe für die Kopfzeile */
    font-weight: bold;
}


.npcplanet4 {
    width: 100%;
    margin: auto;
    justify-content: center;
    table-layout: fixed;
}

.npcplanet4 th,
.npcplanet4 td {
    background-color: lightgray;
}

.npcplanet4 th {
    color: black;
}

.npcplanet4 img {
    border-radius: 5px;
    width: 100%;
    /* Feste Bildbreite */
    height: 100%;
    /* Feste Bildhöhe */
    object-fit: cover;
    /* Sorgt für gleichmäßige Skalierung */
}

/* Setzt die Spaltenbreiten */
.npcplanet4 th:nth-child(1),
.npcplanet4 td:nth-child(1) {
    width: 40%;
}

.npcplanet4 th:nth-child(2),
.npcplanet4 td:nth-child(2) {
    width: 60%;
}


.update-wrapper {
    width: 95%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border: 1px solid #cccccc;
    text-align: center;
}

.update-header {
    font-size: 24px;
    margin-bottom: 20px;
    color: black;
    font-weight: bold;
}

.update-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.update-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.update-img {
    width: 250px;
    height: auto;
}

.update-button {
    padding: 10px 20px;
    font-size: 16px;
    color: black;
    border: none;
    cursor: pointer;
    border: 1px solid #cccccc;
    border-radius: 5px;
}




.user-gear {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.gear-column {
    width: 48%;
    padding: 10px;
    box-sizing: border-box;

}

.gear-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: black;
    color: white;
    text-align: left;
}



.unicfighthistory2 {
    width: 100%;
    /* Tabelle nimmt die volle Breite des Divs ein */
    border: 1px solid #ddd;
    /* Rahmen der Tabelle */
    text-align: center;
    display: inline-block;
    justify-content: center;
}




.unicfighthistory2 a {
    text-decoration: none;
    color: black;
}

.unicfighthistory2 img {
    width: 80px;
}

.unicfighthistory2 th,
.unicfighthistory2 td {
    /* Spaltenbreite */
    text-align: left;
    /* Zellrahmen */
}

.unicfighthistory2 select {
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2px;
}

.unicfighthistory2 button {
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    border: 2px solid #888888;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
}

/* Hover-Effekt */
.unicfighthistory2 button:hover {
    background-color: #333333;
    border-color: #aaaaaa;
    color: white;
}



.unicfighthistory2 th {
    background-color: #f4f4f4;
    /* Hintergrundfarbe für die Kopfzeile */
    font-weight: bold;
}

.class2 {
    background-color: #f0f0f0;
    /* Beispielhintergrundfarbe */
}

.class1 {
    background-color: #ffffff;
    /* Beispielhintergrundfarbe */
}

.verbrauchitems {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    text-align: center;
    color: black;
    font-weight: bold;
}

.verbrauchitems2 {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    text-align: left;
    color: black;
    font-weight: bold;
}

.unicfighthistory3 {
    width: 100%;
    /* Tabelle nimmt die volle Breite des Divs ein */
    /* Rahmen der Tabelle */
    text-align: center;
    display: inline-block;
    justify-content: center;
}

.unicfighthistory3 a {
    text-decoration: none;
    color: black;
}

.unicfighthistory3 img {
    width: 80px;
}

.unicfighthistory3 th,
.unicfighthistory3 td {
    /* Spaltenbreite */
    text-align: left;
    /* Zellrahmen */
}

.unicfighthistory3 select {
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2px;
}

.unicfighthistory3 button {
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    border: 2px solid #888888;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
}

/* Hover-Effekt */
.unicfighthistory3 button:hover {
    background-color: #333333;
    border-color: #aaaaaa;
    color: white;
}

.unicfighthistory3 th {
    background-color: #f4f4f4;
    /* Hintergrundfarbe für die Kopfzeile */
    font-weight: bold;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.rainbow-text {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    background-image: linear-gradient(45deg,
            red, orange, yellow, green, cyan, blue, violet);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s linear infinite;
}

.tooltip-active {
    background: rgba(255, 0, 0, 0.3);
    /*border: 2px solid red;*/
}

.grid-cell {
    position: relative;
}

.grid-cell[data-title]::after {
    content: '';
    display: block;
    text-align: center;
    font-weight: bold;
    padding-top: 5px;
}

.tooltip-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    width: 250px;
    display: none;
    z-index: 10;
}

.tooltip-image {
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
    float: left;
}

.tooltip-text {
    float: left;
    width: 180px;
}

.tooltip-title {
    font-weight: bold;
    margin: 0 0 5px 0;
    /* Abstand nach dem Titel */
}

.tooltip-description {
    margin: 0;
    /* Kein Abstand vor dem Text */
    font-size: 12px !important;
    color: white;
    /* Schriftgröße des Textes */
}




/* Dungeon-Wrapper */
.dungeon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #222;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* Container für Bild + Grid */
.dungeon-container {
    position: relative;
    display: inline-block;
}

/* Dungeon-Bild */
.dungeon-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Grid-Overlay */
.dungeon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 48px);
    grid-template-rows: repeat(auto-fill, 48px);
    pointer-events: none;
    /* Erlaubt Klicks durch das Grid */
}

/* Grid-Felder */
.grid-cell {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    pointer-events: auto;
    /* Erlaubt Klicks auf Zellen */
}

/* NPC-Container */
.npc-container {
    position: absolute;
    width: 48px;
    /* Breite der NPC-Zelle */
    height: 48px;
    /* Höhe der NPC-Zelle (48px für Bild + 48px für Content) */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Linksbündig ausrichten */
}

/* NPC-Bild */
.npc-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* Passt das Bild in die Zelle */
    cursor: pointer;
    /* Zeigt den Cursor als Klickbar an */
    z-index: 9999;
    /* Über allem anderen liegen */
}

/* NPC-Inhaltsbereich */
.npc-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Linksbündig ausrichten */
    width: 100%;
    height: 48px;
    /* Höhe des Inhaltsbereichs */
}


/* Overlay Stile */
.overlay {
    cursor: pointer;
    display: none;
    /* Standardmäßig verborgen */
    position: fixed;
    /* Über alles anderes */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Halbtransparenter Hintergrund */
    z-index: 9999;
    /* Über allem anderen liegen */
    justify-content: center;
    align-items: center;
}

/* Inhalt des Overlays */
.overlay-content {
    padding: 20px;
    position: relative;
    width: 50%;
    /* Verhindert zu große Anzeige */
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* NPC-Bild im Overlay */
.overlay-image {
    max-width: 48px;
    max-height: 70vh;
    /* Maximal 70% der Bildschirmhöhe */
    border-radius: 5px;
}

.overlay-image2 {
    max-width: 100%;
    max-height: auto;
    /* Maximal 70% der Bildschirmhöhe */
    border-radius: 5px;
}

/* Schließen-Button */
.close-button {
    position: absolute;
    top: 50px;
    right: 10px;
    font-size: 40px;
    font-weight: bold;
    color: red;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.close-button:hover {
    transform: scale(1.2);
}

.npctextbox{
    min-width: 100%;
    min-height: 200px;
    max-height: auto;
    background-color: white;
    border-radius: 5px;

    font-size: 20px;
    font-weight: bold;
    color: black;
    padding: 10px;
    text-align: center;
}
