* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif;
    margin: 0;
}
/* Adjust based on your image height
ul {
    margin-top: 10px;
    margin-bottom: 20px;
}

li {
    line-height: 1.6;
    font-size: 16px;
}
 */

.fighter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.fighter-item {
    background-color: #2b2b2b;
    border: 1px solid #555;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.fighter-item span {
    color: #aaa;
    font-size: 0.9em;
}

.fighter-list ul {
    padding-left: 0;
    list-style-position: inside;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    height: 600px;
    
    overflow: hidden;
}

.fight-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.highlighted-fighter {
    color: #ffd700;
    /* Goudkleur */
    font-weight: bold;
    text-shadow: 0 0 5px #d4af37;
}

.fight-card {
    background-color: #2b2b2b;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 15px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8f8f8;
    transition: all 0.3s ease;
}

.fight-card:hover {
    background-color: #444;
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.fighter {
    color: #fff;
    font-weight: bold;
}

.vs {
    color: #d4af37;
    font-size: 1.1em;
    font-weight: bold;
}


.mySlides {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    transition: opacity 1s ease-in-out;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}
/* Extra styling voor compacte back-button */
.back-btn {
    font-size: 0.9em;
    padding: 6px 14px;
    background: linear-gradient(135deg, #444, #777);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg, #555, #999);
    transform: translateY(-1px);
}
.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #1f1f1f;
    color: #f8f8f8;
    line-height: 1.6;
    padding: 20px;
}

/* Header */
header {
    background-color: #333;
    padding: 20px;
    text-align: center;
    color: #f8f8f8;
    margin-bottom: 20px;
}

header p {
    margin-bottom: 15px;
}

header ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
}

header li {
    display: inline;
}

header a.button {
    color: #f8f8f8;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(145deg, #777, #333);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

header a.button:hover {
    background: linear-gradient(145deg, #d4af37, #a9a9a9); /* Gold and Silver gradient */
    transform: translateY(-2px);
}
/* Main Content */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

/* Headings */
h1,
h2 {
    text-align: center;
    margin: 20px 0;
    color: #d4af37; /* Gold */
}
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    gap: 40px;
    /* Add spacing between form and table */
}
/* General Button Styling */
.action-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin: 0 5px;
}

.edit-btn {
    background-color: #4CAF50;
    /* Groene kleur */
}

.edit-btn:hover {
    background-color: #45a049;
    /* Donkerdere groene kleur */
}

.delete-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.delete-btn:hover {
    background-color: #e53935;
    /* Donkerdere rode kleur */
}

.small-button {
    padding: 6px 12px;
    font-size: 14px;
    width: auto;
    min-width: 120px;
    background: linear-gradient(to right, #555, #777);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}
.small-button:hover {
    background: linear-gradient(to right, #666, #888);
}


button,
input[type="button"],
input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 0;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(145deg, #d4af37, #8b8b8b);
    /* Gold-Silver gradient */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    /* Subtle shadow for depth */
    transition: all 0.3s ease;
    width: 100%;
    /* Ensure full-width consistency */
}

/* Button Hover Effect */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(145deg, #d4af37, #444);
    /* Gold and Black gradient */
    transform: translateY(-2px);
    /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    /* Enhance shadow */
}

/* Button Focus Effect */
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    outline: none;
    border: 1px solid #d4af37;
    /* Gold border on focus */
    box-shadow: 0 0 8px #d4af37;
    /* Glow effect */
}

/* Adjust for Clear Form Button */
button.clear-button,
input[type="button"].clear-button {
    background: linear-gradient(145deg, #777, #333);
    /* Darker gradient for contrast */
    color: #fff;
}

/* Hover Effect for Clear Form Button */
button.clear-button:hover,
input[type="button"].clear-button:hover {
    background: linear-gradient(145deg, #555, #222);
    /* Slightly lighter hover state */
}

.performance-id {
    display: none; /* Verberg de ID-kolom standaard */
}

#toggle-button {
    display: block; /* Zorgt ervoor dat de knop volledig op een nieuwe regel staat */
    margin: 10px auto; /* Automatische marge horizontaal om te centreren */
    padding: 5px 10px; /* Compactere padding */
    font-size: 0.8em; /* Kleinere tekst */
    background: linear-gradient(145deg, #555, #222);
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#toggle-button:hover {
    background: linear-gradient(145deg, #d4af37, #444);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}


/* Style the Date Input Field */
input[type="date"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #1f1f1f;
    color: #f8f8f8;
    font-size: 1em;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    appearance: none;
    /* Remove default styling for better customization */
    cursor: pointer;
}

/* Style the Date Input on Hover */
input[type="date"]:hover {
    border-color: #d4af37;
    /* Gold border */
    background-color: #333;
    /* Slightly lighter background */
}

/* Style the Date Input on Focus */
input[type="date"]:focus {
    outline: none;
    border-color: #d4af37;
    /* Gold focus border */
    box-shadow: 0 0 8px #d4af37;
    /* Gold glow */
}

/* Placeholder Text Color (not all browsers support this for date pickers) */
input[type="date"]::placeholder {
    color: #aaa;
}




.form-container {
    margin-bottom: 40px; /* Space between form and table */
}

/* Form Styling */
form {
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    /* Align width with the table */
    margin: 0 auto 40px;
    /* Center the form and add bottom margin */
}

form label {
    font-weight: bold;
    color: #d4af37;
    /* Gold */
    display: block;
    margin-bottom: 10px;
}

form select,
form input[type="text"],
form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #1f1f1f;
    color: #f8f8f8;
    font-size: 1em;
}
form input[type="number"],
form input[type="submit"] {
    background: linear-gradient(145deg, #d4af37, #8b8b8b);
    color: #fff;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

form input[type="submit"] {
    background: linear-gradient(145deg, #d4af37, #8b8b8b);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

form input[type="submit"]:hover {
    background: linear-gradient(145deg, #d4af37, #444);
}

/* Responsive */
@media (max-width: 480px) {
    form {
        width: 90%;
    }
}

table th, table td {
    text-align: center;
    vertical-align: middle;
}

td:nth-child(2), td:nth-child(3), td:nth-child(4),
th:nth-child(2), th:nth-child(3), th:nth-child(4) {
    text-align: center;
}
form+.table-container {
    margin-top: 50px;
    /* Increased spacing */
}

.table-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    background-color: #2b2b2b;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2b2b2b;
    color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

table th {
    background-color: #333;
    color: #d4af37;
    padding: 15px;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #555;
}

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

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

/* Button Styling Inside Table */
table button {
    padding: 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(145deg, #d4af37, #8b8b8b);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

table button:hover {
    background: linear-gradient(145deg, #d4af37, #444);
    transform: translateY(-2px);
}

/* No Data Message */
.no-data {
    text-align: center;
    color: #d4af37; /* Gold */
    font-size: 1.2em;
    font-weight: bold;
    padding: 20px;
}
