:root {
    --english-flag-width: 50px;
    --slovakian-flag-width: 45px;
    --polish-flag-width: 51px;
    --hungarian-flag-width: 51px;
    --edit-button-color: #67e3e6;
    --success: #3bff3b;
    --error: #f84141;
    --important: #db6600;
    --background: #006085;
    --header: #67e3e6;
    --header3: #67e3e6;
    --paragraph: #67e3e6;
    --left-menu-button: #97caff;
    --left-menu-shadow: rgb(0 0 0 / 75%);
    --left-menu-organizator-button-bg: gold;
    --paragraph-howto: #97caff;
    --right-nav-icon: #3D94F6;
    --table-shadow-first: #d1caca;
    --table-shadow-second: white;
    --competition-link: #3366FF;
    --nav-wrapper-shadow: #000000;
    --nav-button-shadow: #000000;
    --nav-button-color: #4d2020;
    --nav-button-bg-top: #67e3e6;
    --nav-button-bg-bottom: #1E62D0;
    --nav-button-bg-top-hover: #1E62D0;
    --nav-button-bg-bottom-hover: #3D94F6;
    --first-line-bg: grey;
    --first-line-text: white;
    --flex-item-button-bg: #31325a;
    --flex-item-button-shadow: rgba(255, 255, 255, 0.75);
    --flex-item-female: #000000;
    --flex-item-male: #000000;
    --all-line-bg-hover: #67e3e6;
    --all-line-shadow: rgba(0, 0, 0, 0.75);
    --first-line-shadow: rgba(0, 0, 0, 0.75);
    --divider-howto: brown;
    --profile-button-shadow: rgba(255, 255, 255, 0.75);
    --profile-button-bg: #31325a;
    --profile-button-color: #67e3e6;
    --registered-highlighter: gold;
}

* {
    /* outline: 1px solid tomato; */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.email-overflow {
    white-space: nowrap;
    overflow: hidden;
}

h1 {
    font-size: 1.6em;
}

ul {
    padding: 0;
}

li {
    list-style: none;
}

body {
    padding-top: 130px;
    padding-bottom: 30px;
    overflow-y: scroll;
    scrollbar-gutter: stable; /* keeps space for scrollbar even when not needed */
}

a {
    text-decoration: none;
    color: inherit;
}

.content {
    margin: auto;
    padding: 0 10px 0 10px;
    max-width: 1500px;
}

.paragraphcolor {
    color: var(--paragraph);
}

.headercolor {
    color: var(--header);
}

.header3color {
    color: var(--header3);
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding: 15px;
    width: 100%;
}

#judo-logo {
    width: 50px;
}

#nav-wrapper {
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    display: block;
    transition: top 0.5s;
    background: var(--background);
    z-index: 1000;
}

#right-nav-icon {
    font-size: 50px;
    color: var(--right-nav-icon);
    display: none;
    width: 15px;
    margin-left: calc(100% - 60px);
}

#navbar-hider {
    display: none;
}

#icon {
    margin: 0 !important;
}

#bg {
    /* -webkit-background-color: #3B3C70;
background-color: #3B3C70; */
    -webkit-background-color: var(--background);
    background-color: var(--background);
    /* background-color: #1f1f1f; */
}

#left-nav {
    padding: 0 0 0 15px;
}

#left-nav li {
    display: inline;
}

#right-nav {
    text-align: right;
    padding: 25px;
}

#right-nav li {
    display: inline;
}

#right-nav li:not(:first-child) {
    margin-left: 10px;
}

#nav-wrapper {
    justify-content: space-between;
    -webkit-box-shadow: 0 -94px 100px 100px var(--nav-wrapper-shadow);
    -moz-box-shadow: 0 -94px 100px 100px var(--nav-wrapper-shadow);
    box-shadow: 0 -94px 100px 100px var(--nav-wrapper-shadow);
    text-shadow: 0 0 100px #000000;
    align-items: center;
}

.button a {
    text-shadow: 0 0 100px #000000;
}

.button {
    padding: min(0.75vw, 12px) min(1.05vw, 18px);
    background: #3D94F6;
    background-image: -webkit-linear-gradient(top, var(--nav-button-bg-top), var(--nav-button-bg-bottom));
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    color: var(--nav-button-color);
    font-family: Verdana;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.7px;
    -webkit-box-shadow: 0 0 5px 0 var(--nav-button-shadow);
    -moz-box-shadow: 0 0 5px 0 var(--nav-button-shadow);
    box-shadow: 0 0 5px 0 var(--nav-button-shadow);
}

.button:hover {
    border: inset #337FED 1px;
    margin: -1px;
    background: #3D94F6;
    background-image: -webkit-linear-gradient(top, var(--nav-button-bg-top-hover), var(--nav-button-bg-bottom-hover));
}

#judo-belt {
    width: 160px;
    margin: 4px 0 4px 0;
}

/* ########################### INTRO START HERE ######################### */
/* 
.image-wrapper {
    max-width: 1920px;
    position: relative;
    background-color: black;
    display: flex;
    justify-content: center;
    top: -10px;
}

#sdm-logo2 {
    display: block;
    max-width: 100%;
    height: auto;
} */





.image-wrapper {
    max-width: 1920px;
    position: relative;
    background-color: black;
    display: flex;
    justify-content: center;
    top: -10px;
}

/* Main banner image */
#sdm-logo2 {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Common partner styles */
.partner {
    position: absolute;
    top: 20px;
    z-index: 5;
}

.partner img {
    height: 80px;          /* adjust size */
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 8px;
}

#jff-logo {
    height: 120px;
}

.partner:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Positioning */
.partner-left {
    left: 20px;
}

.partner-right {
    right: 20px;
}


@media (max-width: 800px) {

    .partner img {
        height: 50px;
        border-radius: 4px;
    }

    #jff-logo {
        height: 70px;
    }
    .partner-left {
        left: 10px;
        top: 10px;
    }

    .partner-right {
        right: 10px;
        top: 10px;  
    }
}




.intro-content-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}

.intro-sidebar {
    display: flex;
    flex-direction: column;
    width: 150px;
    margin-left: 10px;
}

.intro-sidebar .button {
    margin-bottom: 6px;
    cursor: pointer;
}

.intro-sidebar .button:hover {
    margin: 1px 1px 7px 1px;
}

.intro-main-content {
    flex-grow: 1;
    padding: 0 15px 15px 15px;
    border-radius: 8px;
    width: calc(100% - 35px);
}

/* Smooth transitions between sections */
.intro-content-section {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    min-height: 600px;
}

.intro-content-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Gallery slider */
.gallery-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    overflow: hidden;
    height: auto;
}

.gallery-slider img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    object-fit: contain;
}

#gallery-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 32px;
    padding: 0;              /* remove default padding */
    width: 48px;             /* fixed width and height for perfect circle */
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-button:hover {
    background-color: #666;
}

.slider-button.left {
    left: 20px;
}

.slider-button.right {
    right: 20px;
}

/* Contact Grid */

.contact-grid {
    display: grid;
    gap: 16px 30px;
    background-color: rgba(20, 20, 20, 0.8); /* nearly black */
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 700px;
    color: #88d1c0; /* muted teal */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    grid-template-columns: 65% 35%;
    grid-template-rows: repeat(3, auto); /* 3 rows */
    grid-auto-flow: column;
}

.contact-grid div {
    color: #a6e1d9; /* lighter teal */
}

.contact-grid div strong {
    color: #39b3a6; /* bright teal accent */
    font-weight: 600;
}

.contact-grid div:hover {
    background-color: rgba(57, 179, 166, 0.15);
    border-radius: 6px;
    transition: background-color 0.1s ease;
}

/* About us */

.about-us-wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap; /* in case screen is small */
}

.about-us-text {
    flex: 2;
    font-size: 17;
    color: white; /* or suitable for your background */
    line-height: 1.5;
}

.about-us-text  h2 {
    font-size: 35;
    margin-bottom: 0.5rem;
    text-align: center;
}

.about-us-text h3 {
    font-size: 25;
    margin: 0px 0px 15px 3px;
}

.about-us-text ul li {
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 8px;
    padding-left: 0px;
}

.about-us-text ul li i {
    width: 25px; /* fixed width for icon */
    text-align: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.about-us-judogi-icon {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-left: 0;
}

.about-us-judogi-icon::before {
    content: "🥋";
    display: inline-block;
    width: 25px;
    margin-right: 10px;
    text-align: center;
    flex-shrink: 0;
}

.about-us-bordered-box {
    border: 1px solid rgba(255, 255, 255, 0.3); /* subtle white border */
    border-radius: 8px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.03); /* optional light overlay */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* soft shadow for depth */
}

.about-us-image {
    flex: 1;
    min-width: 600px;
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ########################### INTRO END HERE ######################### */

.flex-item {
    width: 400px;
    height: 40px;
    border-radius: 8px;
}

.flex-item:first-child {
    text-align: center;
}

.flex-item:last-child {
    font-size: 1.3em;
    font-weight: 700;
}

.edit-form,
.registration-form,
.create-new-password-form,
.reset-password-form,
.signup-form,
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: auto;
}

input {
    font-size: 1.3em;
    padding-left: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.login.flex-item {
    font-size: 1.3em;
    font-weight: 700;
}

.results-wrapper {
    text-align: center;
}

.index-wrapper p {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
    margin-top: -45px;
}

.index-wrapper a {
    color: var(--important);
}

.text-font {
    font-family: Verdana;
}

.inserted-data-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: auto;
    text-align: center;
    padding: 0 8px;
    margin: 0 22px;
}

.inserted-data-wrapper:hover {
    background: var(--all-line-bg-hover);
    border-radius: 8px;
}

.flex-item-insertion {
    display: flex;
    box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    background: var(--table-shadow-second);
    font-size: 1.3em;
    width: 400px;
    height: 33px;
}

.flex-item-insertion.first-line.profile-picture {
    box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    font-size: 1.3em;
    height: 33px;
    background: var(--first-line-bg);
}

.flex-item-insertion.profile-picture {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    background: transparent;
    min-width: 36px;
    max-width: 36px;
}

.flex-item-insertion.first-line.edit-button-signed-competitor {
    box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--all-line-shadow);
    background: var(--first-line-bg);
    color: var(--first-line-text);
}

.flex-item-insertion.edit-button-signed-competitor {
    box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    min-width: 42px;
    max-width: 42px;
    background: var(--flex-item-button-bg);
    color: #a6e22e;
}

.profile-picture-photo {
    height: 36px;
    width: 40px;
    border-radius: 6px;
}

.edit-data-wrapper,
.registration-data-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 4px;
    margin: auto;
}

.flex-item-edit,
.flex-item-registration {
    width: 400px;
    height: 40px;
    border-radius: 8px;
}

.flex-item-edit:first-child,
.flex-item-registration:first-child {
    width: 100%;
    height: auto;
    margin: auto;
}

/* .flex-item-edit:last-child,
.flex-item-registration:last-child {
    font-size: 1.3em;
    font-weight: 700;
} */

.flex-item-registration.registration-header {
    font-size: 1.6em;
    font-weight: 700;
}

.warning-message {
    margin: 10px 0px 5px 0px;
}

.warning-message h8 {
    font-size: 24px !important;
}

.flex-item-edit.choose {
    font-size: 1.3em;
    font-weight: 700;
}

#edit-header,
#registration-header {
    text-align: center;
    padding: 20px;
    width: 90%;
    margin: auto;
}


.registration-header-container {
    width: 590px;
    text-align: center;
}

.registration-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

    gap: 20px;

}
.registration-data-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.image-upload-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.registration-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 800px;
    gap: 40px;
}

.button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.flex-item-camp-registration-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    width: 400px;
}

.flex-item-camp-registration-inline label {
    white-space: nowrap;
    font-size: 1.6em;
    font-weight: 800;
    color: #ffd639;
}

#competitors-camp-registration-form {
    font-weight: 700;
    font-size: 1.5em;
    width: 180px;
    text-align: center;
    margin: 0 auto -15px;
    display: block;
}

select#competitors-camp-registration-form {
    padding: 0;
}

#competitors-camp-registration-form option {
    font-size: 0.9em;
}

#competitors-add-popup-container {
    display: flex;
    justify-content: space-around;
}

#competitors-camp-selection-container,
#competitors-kyu-selection-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#competitors-camp-selection-header {
    font-size: 1.5em;
    font-weight: 600;
    margin: 7px;
}

.shadow {
    background: var(--table-shadow-first);
}

.first-line {
    box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    background: var(--first-line-bg);
    color: var(--first-line-text);
    font-weight: 600;
    justify-content: center !important;
}

table .first-line {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.surname {
    font-size: 1.4em;
    font-weight: 900;
}

.f {
    /* color: #c300ac; */
    color: var(--flex-item-female);
}

.m {
    /* color: #0040ff; */
    color: var(--flex-item-male);
}

.profile-menu-item.organizator-button {
    background: var(--left-menu-organizator-button-bg);
}

.first-line.edit-button,
.first-line.delete-button,
.first-line.add-button,
.first-line.remove-button,
.first-line.double-button,
.first-line.camp-button,
.first-line.weight-button {
    box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--first-line-shadow);
    background: var(--first-line-bg);
    font-weight: normal;
    color: var(--first-line-text);
}

.edit-button,
.delete-button,
.remove-button,
.add-button {
    box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--flex-item-button-shadow);
    background: var(--flex-item-button-bg);
    font-weight: 600;
}

input.weight2 {
    width: 250px;
    margin-top: 6px;
    margin-bottom: 4px;
    margin-left: calc(50% - 125px);
}

.delete-button {
    color: var(--error);
}

.remove-button {
    color: var(--error);
}

.edit-button {
    color: var(--edit-button-color);
    margin: 0 5px;
}

.add-button {
    color: var(--success);
}

li.edit-button,
li.delete-button,
li.add-button {
    min-width: 100px;
    max-width: 100px;
    display: flex;
}
li.edit-button-signed-competitor {
    font-size: 1.4em !important;
}
li.remove-button {
    min-width: 41px;
    max-width: 41px;
    font-size: 1.4em !important;
    display: flex;
}

li.double-button {
    min-width: 105px;
    max-width: 105px;
    display: flex;
}

li.camp-button {
    min-width: 93px;
    max-width: 93px;
    display: flex;
}

li.weight-button {
    min-width: 70px;
    max-width: 70px;
    display: flex;
}

li.first-line.edit-button,
li.first-line.delete-button,
li.first-line.add-button,
li.first-line.remove-button,
li.first-line.double-button,
li.first-line.weight-button {
    width: 95px;
    padding: 4px 20px;
}

li.first-line.double-button {
    width: 100px;
}

option {
    font-size: 1.2em;
    padding-left: 7px;
}

.camp-form-option {
    font-size: 1.1em;
    padding-left: 0px;
}

.camp-form-option-popup {
    font-size: 0.75em;
}

select {
    font-size: 1.3em;
    padding-left: 7px;
}

input#phone.flex-item {
    font-weight: 500;
}

#button-padding {
    padding: 4px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.flex-item-insertion #button-padding {
    padding: 4px 1px;
}

#button {
    cursor: pointer;
}

#button.flex-item-registration {
    font-size: 1.3em;
    font-weight: 700;
}

.error-message,
.success-message {
    font-size: 26px;
    font-weight: 600;
    padding: 15px 0 5px 0;
    text-align: center;
    letter-spacing: 0.6px;
    margin: 0 auto 10px;
    width: 60%;
}

.error-message {
    color: var(--error);
}

.success-message {
    color: var(--success);
}

.flex-item-insertion.surname {
    min-width: 180px;
}

.flex-item-insertion.name {
    min-width: 140px;
}

.flex-item-insertion.year {
    min-width: 50px;
}

.flex-item-insertion.club {
    min-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    justify-content: flex-start;
    padding-left: 5px;
}

.flex-item-insertion.country {
    min-width: 70px;
}

.flex-item-insertion.gender {
    min-width: 80px;
}

.flex-item-insertion.kyu {
    min-width: 63px;
    max-width: 63px;
}

#profile-menu-wrapper li {
    margin: 20px 0 0 15px;
}

#profile-menu-wrapper2 li {
    margin: 20px 0 0 15px;
}

#profile-menu-wrapper4 li {
    margin: 20px 0 0 15px;
}

#left-profile-menu {
    width: 0;
    float: left;
}

.profile-menu-item {
    box-shadow: 0px 0px 4px 1px var(--left-menu-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--left-menu-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--left-menu-shadow);
    background: var(--left-menu-button);
    margin-right: 10px;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 25px;
    letter-spacing: 0.6px;
}

.profile-menu-item.offset {
    padding: 5px 8px 5px 7px;
    font-size: max(16px, min(1.8vw, 21px));
}

.example-table {
    margin: auto;
    font-size: 22px;
}

#profile-intro-wrapper {
    margin-left: 280px;
}

#competition-intro-wrapper {
    margin-left: 280px;
}

table {
    border-radius: 8px;
}

td,
th,
table {
    border: 5px solid var(--background);
    border-radius: 12px;
    border-collapse: collapse;
}

.example-table td {
    padding: 3px 25px 3px 6px;
}

.shadow-table tr:nth-child(2n) {
    background: var(--table-shadow-first);
}

.shadow-table tr:nth-child(2n-1) {
    background: var(--table-shadow-second);
}

.first-column {
    background: var(--first-line-bg);
    color: var(--first-line-text);
    font-weight: 600;
    justify-content: center !important;
}

.first-column.club-name {
    font-weight: 500;
}

button.flex-item-edit.profile {
    display: block;
    margin: 10px auto;
}

.example-table input {
    width: 820px;
}

#profile-button-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
}

#profile-button-wrapper li {
    margin: 20px 0 3px 15px;
    font-size: 23px;
}

.profile-button-item {
    box-shadow: 0px 0px 4px 1px var(--profile-button-shadow);
    -webkit-box-shadow: 0px 0px 4px 1px var(--profile-button-shadow);
    -moz-box-shadow: 0px 0px 4px 1px var(--profile-button-shadow);
    background: var(--profile-button-bg);
    color: var(--profile-button-color);
    font-weight: 600;
    margin: 0 5px;
    padding: 7px 20px;
    border-radius: 8px;
    letter-spacing: 0.6px;
}

.official {
    width: 650px;
}

.logsType {
    width: 150px;
}

.logsUserIpAddress {
    width: 220px;
}

.logsTimestamp {
    width: 250px;
}

.activity-table {
    margin: -5px auto;
    font-size: 22px;
}

.activity-table td {
    padding: 3px 6px 3px 6px;
}

.activity-table tr {
    background: var(--table-shadow-first);
}

.competition-wrapper {
    margin: -5px auto;
    font-size: 22px;
    max-width: 1470px;
}

.competition-wrapper td,
.competition-wrapper th {
    text-align: center;
    padding: 3px 10px 3px 10px;
}

.competition-wrapper tr {
    background: var(--table-shadow-first);
}

.competition-name {
    /* width: 230px; */
}

.competition-place {
    /* width: 230px; */
}

.competition-date {
    /* width: 158px; */
}

.competition-category {
    /* width: 450px; */
}

.competition-edit {
    /* width: 110px; */
}

.year-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.year-toggle {
    font-size: 16;
    padding: 8px 16px;
    background-color: #eee;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.year-toggle.active {
    background-color: #484444;
    color: #ebe6e6;
}

.year-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.year-content-wrapper.active {
    max-height: 1000px; /* Adjust as needed */
}

.year-toggle:hover {
    background-color: #484444;
    color: #ebe6e6;
}

.competitions-height {
    min-height: 1400px;
}

#competitions-header {
    text-align: center;
    padding: 20px;
}

#competitions-organizator-club-selector,
.organizator-club-button {
    display: block;
    margin: 15px auto;
}

#competitions-organizator-club-selector {
    margin-top: 0;
}

.export-button {
    /* padding: 4px; */
    width: 400px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 700;
}

.competitors-info-wrapper p {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
}

.competitors-info-wrapper {
    margin-left: 270px;
}

a.competition-link {
    color: var(--competition-link);
}

#iframe-wrapper {
    margin-left: 280px;
    margin-right: 40px;
}

iframe#results {
    display: block;
    height: 1000px;
    width: 100%;
    margin: 0 auto;
}

.flag {
    margin-top: -10px;
    margin-bottom: -8px;
    margin-left: -6px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 5px 0 var(--nav-button-shadow);
    -moz-box-shadow: 0 0 5px 0 var(--nav-button-shadow);
    box-shadow: 0 0 5px 0 var(--nav-button-shadow);
}

#english-flag {
    margin-left: 8px;
    width: var(--english-flag-width);
}

#slovakian-flag {
    width: var(--slovakian-flag-width);
}

#polish-flag {
    width: var(--polish-flag-width);
}

#hungarian-flag {
    width: var(--hungarian-flag-width);
}

.importante {
    color: var(--important) !important;
}

hr {
    border: 0;
    border-top: 3px solid var(--divider-howto);
    margin: 40px 0 50px 0;
}

#howto-intro hr:first-child {
    margin: 0 0 50px 0;
}

button.howto-item {
    margin: 0;
    border: 0;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;
}

button.offset {
    margin-left: 15px;
}

#howto-content-wrapper {
    margin: 0 100px 0 285px;
}

#howto-menu-wrapper,
#registered-menu-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 1;
    top: 140px;
    left: calc((100% - 1500) / 2);
    overflow-x: hidden;
    overflow-y: auto;
}
#registered-menu-wrapper {
    position: initial;
}

#howto-menu-wrapper li,
#registered-menu-wrapper li {
    margin: 9px 0 0 15px;
}

#registered-menu-wrapper {
    margin: 0 0 0 285px;
    width: 1200px;
}

#registered-menu-wrapper li {
    text-align: center;
}

#sex-wrapper,
#female-wrapper,
#male-wrapper,
#weights-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#sex-wrapper li,
#female-wrapper li,
#male-wrapper li,
#weights-wrapper li {
    text-align: center;
    display: inline-block;
}

#weights-wrapper li {
    margin: 25px 0 0 -3px;
}

#registered-menu-wrapper li .M-hider,
#registered-menu-wrapper li .F-hider {
    text-align: center;
    display: inline-block;
}

#profile-menu-wrapper {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 1;
    top: 140px;
    left: calc((100% - 1500) / 2);
    overflow-x: hidden;
}

#profile-menu-wrapper li {
    margin: 20px 0 0 15px;
}

#profile-menu-wrapper2 {
    height: auto;
    width: 345px;
    position: initial;
    overflow-x: initial;
}

#profile-menu-wrapper2 li {
    margin: 20px 0 0 15px;
}

#profile-menu-wrapper3 {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 1;
    top: 140px;
    left: calc((100% - 1500) / 2);
    overflow-x: hidden;
}

#profile-menu-wrapper3 li {
    margin: 20px 0 0 15px;
}

#profile-menu-wrapper4 {
    height: 100%;
    width: 242px;
    position: fixed;
    z-index: 1;
    top: 140px;
    left: calc((100% - 1500) / 2);
    overflow-x: hidden;
}

#profile-menu-wrapper4 li {
    margin: 20px 0 0 15px;
}

#howto-content-wrapper p {
    margin: auto;
    margin-top: 15px;
    text-align: center;
    font-size: 22px;
    color: var(--paragraph-howto);
    font-family: Arial;
    width: max(460px, 60%);
}

#howto-content-wrapper h2 {
    color: var(--important);
    margin: 0 0 50px 20px;
}

#howto-content-wrapper h3 {
    color: var(--important);
    text-align: center;
}

.howto-item {
    font-size: max(18px, min(2vw, 23px));
}

.howto-img {
    display: block;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 35px;
    border-radius: 15px;
}

#howto-menu-hider,
#profile-menu-hider {
    display: none;
}

.width900 {
    width: min(110%, 900px);
}

.width500 {
    width: min(70%, 500px);
}

html {
    scroll-padding-top: 160px;
}

.menu-hide {
    display: none !important;
    visibility: hidden;
}

.ul-wrapper ul:nth-child(2n) li:not(:last-child) {
    background: var(--table-shadow-first);
}

.ul-wrapper ul:nth-child(2n-1) li:not(:last-child) {
    background: var(--table-shadow-second);
}

#profile-menu-hider2 {
    margin: 0;
    display: initial;
    position: fixed;
    top: 16px;
    left: calc((100% / 2) - 400px);
    padding-left: 5px;
    padding-right: 5px;
}

.form-popup2 {
    position: fixed;
    top: 150px;
    left: calc(50% - 250px);
    border: 3px solid #f1f1f1;
    border-radius: 5px;
    z-index: 9;
}

.form-container2 {
    min-width: 500px;
    max-width: 500px;
    padding: 10px;
    background-color: green;
}

#doublestart-wrapper2 h1,
#doublestart-wrapper2 h2 {
    text-align: center;
}

#doublestart-name {
    margin-top: 15px;
}

#doublestart-name2 {
    font-size: 1.7em;
    margin: 10px 0;
}

#doublestart-wrapper2 #button {
    width: 49%;
    font-size: 1.3em;
    font-weight: 700;
    margin-top: 15px;
}

#form-inputs {
    padding: 10px 30px;
}

#form-inputs input {
    margin: 5px;
}

#form-inputs label {
    font-size: 22px;
}

input.rounder {
    clip-path: circle(46% at 50% 50%);
    width: 17px;
    height: 17px;
}

.registered-highlighter {
    background: var(--registered-highlighter);
}

#livestream-menu {
    background-color: red;
    color: white;
}

#competition-livestream-wrapper {
    margin: 0 20px 0 200px;
    /* display: flex; */
    flex-direction: row;
    flex-wrap: wrap;
}

.competition-livestream-day-wrapper {
    margin: 0 20px 50px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.livestream-window {
    display: block;
    /* width: calc(100% - 50px); */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 4px solid white;
    width: 90%;
    /* padding: 100px 20px 15px 20px; */
    /* border-width: 8px;
    border-style: solid;
    border-image: linear-gradient(to right, darkblue, darkorchid) 1; */
}

.livestream-iframe-wrapper {
    flex: 1 0 32%;
    /* border: 1px solid black; */
    margin: 0 5px 30px 5px;
    /* width: calc(100% / 3); */
}

.livestream-tatami-header {
    text-align: center;
    margin: 5px 0 0 0;
    color: var(--header);
    font-size: 30;
}

.livestream-tatami-day-header {
    text-align: center;
    color: var(--header);
    margin: 0 20px 0 0;
    font-size: 35;
}

.livestream-tatami-header:nth-child(1) {
    margin-top: 0;
}




/* LIVESTREAM NEW */

.swiper {
    width: 100%;
    max-width: 1180px;
    aspect-ratio: 16 / 9;
    margin: 9px auto;
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Swiper slide */
.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Placeholder for lazy iframe loading */
.iframe-placeholder {
    width: 100%;
    height: 100%;
}

/* Iframe style */
.swiper-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Livestream label */
.livestream-label {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 10px;
    margin: 0 auto -7px auto;
}

/* Day toggle buttons */
.livestream-day-toggle {
    padding: 7px 19px;
    margin: 10px 5px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    background-color: #ddd;
    color: #333;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.livestream-day-toggle:hover {
    background-color: #bbb;
}

.livestream-day-toggle.active {
    background-color: #333;
    color: #fff;
}

/* Swiper navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    transition: transform 0.2s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.2);
}

.livestream-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.livestream-tatami-buttons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.livestream-tatami-buttons .tatami-btn {
  padding: 7px 11px;
  margin: 3px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  background-color: #eee;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.livestream-tatami-buttons .tatami-btn:hover {
  background-color: #ccc;
}

.livestream-tatami-buttons .tatami-btn.active {
  background-color: #333;
  color: #fff;
}

.livestream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    position: relative;
}

.livestream-back-btn {
    padding: 6px 13px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    background-color: #fa5050;
    color: #000000;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.livestream-back-btn:hover {
    background-color: #e60000; /* darker red on hover */
}

.livestream-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px;
}

.livestream-day-bar {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1180px;
	margin: -30px auto 3px auto;
}

.livestream-day-buttons {
	display: flex;
	flex-wrap: wrap; 
    margin: 0px 0 -50px -588px;
}

.livestream-tatami-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1180px;
	margin: 0 auto 0 auto;
}


.tatami-dropdown {
    display: none;
    width: 100%;
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    background: #f9f9f9;
}

#export-download-button {
    display: block;
    width: 400px;
    margin: 0px auto;
    text-align: center;
    font-size: 24px;
}

#index-news-box {
    max-width: 900px;
    margin: 10px auto 50px;
    border: 5px black;
    padding: 10px;
    border-style: outset;
}

#index-news-box p {
    color: #dba400;
}

#doublestart-wrapper2 #button.addweight {
    margin-left: calc(50% - 117px);
}


/* IMAGE MAIN FROM HERE*/

.image-upload-container {
    width: 150px;
    height: 170px;
    border: 2px dashed #007bff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: auto;
    max-width: 150px;
    padding: 2px;
    overflow: hidden;
}

.image-upload-container label {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
}

.image-upload-container img {
    width: 98%;
    height: 98%;
    object-fit: cover;
    border-radius: 8px;
}

.image-upload-container input {
    position: absolute;
    width: 98%;
    height: 98%;
    opacity: 0;
    /* Hide the input but keep it functional */
    cursor: pointer;
}

#fileSizeError.error-message {
    padding: 5px 2px 1px 2px;
    width: 95%;
    font-size: 14px;
    margin: 0 auto;
}

input#competitorsPhoto {
    padding: 0;
}

input#coachesPhoto {
    padding: 0;
}


/* IMAGE MAIN TO HERE */


/* IMAGE POPUP FROM HERE*/

.image-upload-container-popup {
    width: 150px;
    height: 170px;
    border: 2px dashed #007bff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px auto;
    overflow: hidden;
    /* Ensures input does not go outside */
}

.image-upload-container-popup label {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
}

.image-upload-container-popup img {
    width: 98%;
    height: 98%;
    object-fit: cover;
    border-radius: 8px;
}

.image-upload-container-popup input {
    position: absolute;
    width: 98%;
    height: 98%;
    opacity: 0;
    /* Hide the input but keep it functional */
    cursor: pointer;
}

#fileSizeErrorPopup.error-message-popup {
    padding: 5px 2px 1px 2px;
    width: 95%;
    font-size: 14px;
    margin: 0 auto;
}

input#competitorsPhotoPopup {
    padding: 0;
}

input#coachesPhotoPopup {
    padding: 0;
}


/* IMAGE POPUP TO HERE */



/* EDIT CATEGORIES START HERE */

.dropdown-checkbox-wrapper {
	/* width: 288px; */
	position: relative;
	font-size: 1.3em;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	text-align: left;
	background-color: white;
	cursor: pointer;
}

.dropdown-checkbox-button {
	padding: 6px 6px 6px 11px;
	border-radius: 8px;
	background-color: white;
    font-size: 1.0em;
    font-family: Arial, Helvetica, sans-serif;
	/* user-select: none; */
}

.dropdown-checkbox-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #fff;
	color: #000;
	border: 1px solid #ccc;
	border-radius: 8px;
	z-index: 10;
	max-height: 250px;
	overflow-y: auto;
	padding: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dropdown-checkbox-menu label {
	display: block;
	margin: 4px 0;
	cursor: pointer;
	font-size: 0.95em;
}

.dropdown-checkbox-menu input[type="checkbox"] {
	transform: scale(1.2);
	margin-right: 8px;
}

.age-category-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	/* width: 100%; */
	max-width: 500px;
}

.age-category-label {
	font-size: 1.2em;
	color: var(--paragraph, #67e3e6);
	text-align: right;
}

 /* EDIT CATEGORIES END HERE */



.index-welcome {
    margin: auto;
    width: 98%;
}



/* start hidden completely so flex gap disappears */
#competitorsKyu.is-hidden {
  display: none;
}

/* base animated state (when it is displayed) */
#competitorsKyu {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

/* visible animated state */
#competitorsKyu.kyu-visible {
  max-height: 60px; /* adjust if your select is taller */
  opacity: 1;
  transform: translateY(0);
}



 /* POPUP ADD COMPETITOR START HERE */

#competitors-add-popup-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
}

.popup-form-row {
	display: grid;
	grid-template-columns: 130px 260px;
	align-items: center;
	column-gap: 12px;
	width: fit-content;
    margin-right: 25px;
}

.popup-camp-margin-adjustment .popup-form-row {
    margin-right: 17px;
    grid-template-columns: 75px 260px;
}

.popup-form-label {
	text-align: right;
	font-size: 1.05rem;
	font-weight: 600;
	color: white;
}

.popup-form-field {
	width: 100%;
}

.popup-form-field select,
.popup-form-field .dropdown-checkbox-wrapper {
	width: 100%;
	box-sizing: border-box;
}

#dropdown-checkbox-wrapper-popup {
	position: relative;
}

#dropdown-checkbox-wrapper-popup .dropdown-checkbox-button {
	width: 100%;
	box-sizing: border-box;
}

#dropdown-checkbox-wrapper-popup .dropdown-checkbox-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	width: 100%;
	z-index: 1000;
	box-sizing: border-box;
}

.dropdown-category-list-wrapper {
    margin-left: 12px;
}

 /* POPUP ADD COMPETITOR END HERE */


@media only screen and (max-width: 1500px) {
    #registered-menu-wrapper {
        margin: 0 0 0 285px;
        width: calc(100% - 350px);
    }
}

@media only screen and (max-width: 1400px) {
    .about-us-text {
        min-width: 500px;
    }
    .about-us-image {
        min-width: 500px;
    }
    .intro-content-container {
        gap: 0px;
    }
}

@media only screen and (max-width: 1300px) {
    .flex-item-edit,
    .flex-item-registration {
        width: 300px;
    }
    .registration-content{
        gap: 20px;
        margin: auto;
    }
    .flex-item-camp-registration-inline {
        gap: 6px;
        font-size: 0.8em;
        width: 300px;
    }
    .dropdown-checkbox-wrapper {
        width: 210px;
    }

    .about-us-text {
        min-width: 400px;
    }
    .about-us-text h2 {
        font-size: 32;
    }
    .about-us-text h3 {
        font-size: 22;
    }
    .about-us-text ul li {
        font-size: 17px;
        line-height: 1.3;
    }
    .club {
        display: none;
    }
}

@media only screen and (max-width: 1200px) {
    
    .registration-flex-container{
        margin-left: 100px;
    }
    .official {
        width: 500px;
    }
    .camp-button {
        display: none !important;
    }
    #profile-menu-hider2 {
        margin: 0;
        display: initial;
        position: fixed;
        top: 16px;
        left: calc((100% / 2) - 423px);
    }
    .profile-intro-special input {
        width: 300px;
    }
    td.profile-intro {
        padding-right: 20px;
    }
    td.profile-intro-special {
        padding-right: 6px;
    }
    .profile-intro-special2 input {
        width: 300px;
        font-size: 20px;
    }
    td.profile-intro-special2 {
        padding-right: 6px;
    }
    #howto-content-wrapper {
        margin-left: 24vw;
    }
    .hide-m {
        display: none;
    }
    .flex-item-insertion.gender {
        min-width: 45px;
    }
    .flex-item-insertion.kyu {
        min-width: 60px;
    }
    .flex-item-insertion {
        font-size: 1.2em;
    }

    .about-us-image {
        min-width: calc(100% - 500px);
    }
}

@media only screen and (max-width: 1100px) {
    .registration-flex-container{
        margin-left: 200px;
    }

    .about-us-wrapper{
        margin-top: -15px;
    }
    .about-us-text{
        max-width: 99%;
        min-width: 99%;
    }
    .about-us-image {
        min-width: 98%;
    }
    .intro-sidebar .button {
        padding: calc(min(0.75vw, 12px) + 2px) calc(min(1.05vw, 18px) + 2px);
    }
    

}

@media only screen and (max-width: 999px) {
    .country {
        display: none;
    }

    .livestream-day-buttons {
        margin: -10px 0 0 0;
    }
}

@media only screen and (max-width: 899px) {
    .registration-flex-container{
        margin-left: 0px;
    }
    #competition-organizator-wrapper {
        margin-top: 0px;
    }
    .official {
        width: 90%;
    }
    .competitors-info-wrapper {
        margin: 180px auto 0;
    }
    #iframe-wrapper {
        width: 94%;
        margin: 30px auto 0;
    }
    #profile-menu-wrapper3 {
        top: 80px;
        width: 100%;
        height: 200px;
    }
    #competition-intro-wrapper {
        margin: 0 auto 0;
    }
    .competition-wrapper {
        font-size: 19px;
    }
    .year {
        display: none;
    }
    .registration-form,
    .edit-form {
        margin-top: 0px;
    }
    #registered-menu-wrapper {
        margin: 0;
        width: 100%;
        margin-top: 0px;
    }
    #profile-menu-hider {
        margin: 0;
        display: initial;
        position: fixed;
        top: 20px;
        left: calc((100% / 2) - 54px);
    }
    #profile-menu-hider.hide {
        display: none;
    }
    #profile-menu-hider2 {
        margin: 0;
        display: initial;
        position: fixed;
        top: 20px;
        left: calc((100% / 2) - 41px);
    }
    #profile-menu-hider2.hide {
        display: none;
    }
    #profile-menu-wrapper {
        top: 80px;
        width: 100%;
        height: 200px;
    }
    #profile-menu-wrapper.hide {
        display: none;
    }
    #profile-menu-wrapper li {
        text-align: center;
        margin: 15px auto;
    }
    #profile-menu-wrapper2 {
        position: static;
        top: 80px;
        width: 100%;
        height: 305px;
        margin: -40px 0 0 0;
    }
    #profile-menu-wrapper2.hide {
        display: none;
    }
    #profile-menu-wrapper2 li {
        text-align: center;
        margin: 15px auto;
    }
    #profile-menu-wrapper2 li .profile-menu-item {
        margin: 0;
    }
    #profile-intro-wrapper {
        margin: 200px auto 0;
    }
    #howto-content-wrapper p {
        font-size: 20px;
    }
    #howto-content-wrapper {
        margin-left: 28vw;
    }
    .width900 {
        width: 120%;
    }
    #navbar-hider {
        display: block;
        position: fixed;
        top: 320px;
        left: calc((100% / 2) - 190px);
        border-radius: 8px;
        padding: 11px 190px !important;
    }
    .navbar-bottom-margin {
        margin-bottom: 120px !important;
    }
    #left-nav {
        display: block;
        width: 60px;
        position: fixed;
    }
    #right-nav li:not(:last-child) {
        display: none;
    }
    #right-nav-icon {
        display: block;
        padding: 10px;
    }
    #left-nav.hide-left {
        display: none;
    }
    #right-nav.hide li:not(:last-child) {
        text-align: center;
        padding: 0;
        margin: 15px 0 0 0;
    }
    #right-nav.hide li:last-child {
        display: none !important;
    }
    #right-nav.hide li:nth-child(-n+5) {
        display: flex;
    }
    .button:hover {
        border: 0;
    }
    .intro-sidebar .button:hover {
        border: inset #337FED 1px;
    }
    #right-nav.hide li:first-child {
        margin-top: 20px;
    }
    #right-nav li:nth-child(n+6):nth-child(-n+8) {
        position: fixed;
        top: -9999px;
    }
    .navbar-flag {
        position: fixed;
        top: -9999px;
    }
    #right-nav.hide a:nth-child(-n+5) {
        padding: 10px 25px;
        margin: -3px auto;
    }
    #right-nav {
        padding: 0 25px;
    }
    #nav-wrapper {
        background: var(--background);
    }
    #right-nav.hide li:nth-child(n+6) {
        display: inline;
    }
    #english-flag {
        position: fixed;
        top: 270px;
        left: calc((100% / 2) - 142px);
        width: calc( var(--english-flag-width) + 12px);
    }
    #slovakian-flag {
        position: fixed;
        top: 270px;
        left: calc((100% / 2) - 56px);
        width: calc( var(--english-flag-width) + 6px);
    }
    #polish-flag {
        position: fixed;
        top: 270px;
        left: calc((100% / 2) + 10px);
        width: calc( var(--english-flag-width) + 13px);
    }
    #hungarian-flag {
        position: fixed;
        top: 270px;
        left: calc((100% / 2) + 83px);
        width: calc( var(--english-flag-width) + 13px);
    }
    li.first-line.weight-button,
    li.weight-button {
        min-width: 55px;
        max-width: 55px;
    }
    li.first-line.double-button,
    li.double-button {
        min-width: 100px;
        max-width: 100px;
    }
    li.edit-button,
    li.delete-button,
    li.add-button {
        min-width: 65px;
        max-width: 65px;
    }
    .flex-item-insertion.gender {
        display: none;
    }
    .flex-item-insertion.kyu {
        display: none;
    }
    
    .contact-grid {
        display: grid;
        font-size: 17px;
        line-height: 1.6;
        grid-template-columns: 100%;
        grid-template-rows: repeat(6, auto); /* 3 rows */
        grid-auto-flow: column;
    }

    .detail-outlines-sidebar-btn {
        display: none;
    }
    .detail-results-sidebar-btn {
        display: none;
    }
    
    #left-profile-menu.competitions-left-profile-menu {
        width: 100%;
        float: none;
    }

    #profile-menu-wrapper2 {
        height: auto;
        width: 100%;
        overflow-x: initial;
    }

    #sex-wrapper #FemaleID,
    #sex-wrapper #MaleID {
        margin: 2px;
    }
}

@media only screen and (max-width: 768px) {
    .registration-header-container {
        width: 590px;
        max-width: 90%;
        margin: auto;
    }
    .registration-data-wrapper {
        max-width: 300px;
    }
    .form-popup2 {
        position: fixed;
        top: 150px;
        left: calc(50% - 200px);
        border: 3px solid #f1f1f1;
        border-radius: 5px;
        z-index: 9;
    }
    .form-container2 {
        min-width: 400px;
        max-width: 400px;
    }
    #doublestart-wrapper2 #button.addweight {
        margin-left: calc(50% - 93px);
    }
    input.weight2 {
        width: 160px;
    }
    .add-button #button-padding {
        padding: 4px 17px;
    }
    .competition-category {
        display: none;
    }
    .flex-item-insertion.name {
        min-width: 110px;
    }
    .flex-item-insertion.surname {
        min-width: 140px;
    }
    .inserted-data-wrapper .flex-item-insertion {
        font-size: 18px;
    }
    .gender {
        display: none;
    }
    .width900 {
        width: 100%;
    }
    #howto-content-wrapper {
        margin: 240px 5px 0 5px;
    }
    #howto-menu-wrapper {
        top: 80px;
        width: 100%;
        height: 300px;
    }
    #registered-menu-wrapper {
        width: 100%;
        height: auto;
    }
    #howto-menu-wrapper li,
    #registered-menu-wrapper li {
        text-align: center;
        /* margin: 9px auto; */
    }
    #howto-menu-hider {
        margin: 0;
        display: initial;
        position: fixed;
        top: 20px;
        left: calc((100% / 2) - 50px);
    }
    #howto-menu-hider.hide {
        display: none;
    }
    #howto-menu-wrapper.hide,
    #registered-menu-wrapper.hide {
        display: none;
    }
    .hide-s {
        display: none;
    }
    .column {
        flex: 90%;
        max-width: 90%;
        margin: auto;
    }
    li.weight-button {
        display: none;
    }
    /* li.double-button {
        min-width: 115px;
        max-width: 115px;
    } */
    li.edit-button,
    li.delete-button,
    li.add-button {
        min-width: 60px;
        max-width: 60px;
    }
    #profile-menu-wrapper4 {
        width: 220px;
    }

    .about-us-text h2 {
        font-size: 30;
    }
    .about-us-text h3 {
        font-size: 21;
    }
    .about-us-text ul li {
        font-size: 16px;
        line-height: 1.25;
    }

    .livestream-tatami-buttons .tatami-btn {
        padding: 6px 10px;
        margin: 2.5px;
        font-size: 0.9rem;
        border-radius: 5px;
    }
    .livestream-back-btn {
        padding: 7px 12px;
        margin-bottom: 5px;
    }
    .livestream-tatami-bar {
        gap: 5px;
    }
}

@media (max-width: 700px) {
    .livestream-tatami-buttons {
        display: none !important; /* override inline display: flex */
    }
    .tatami-dropdown {
        display: none;
        width: 108px;
        padding: 6px 8px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 5px;
        border: 1px solid #ccc;
        margin-bottom: 6px;
        background: #f9f9f9;
    }
    .tatami-dropdown[data-day="1"]:not([hidden]),
    .tatami-dropdown[data-day="2"]:not([hidden]) {
        display: block;
    }
    .livestream-day-buttons {
        margin: 0px 0 -49px -68px;
    }
}

@media only screen and (max-width: 600px) {
    .registration-header-container {
        width: 90%;
        margin: auto;
    }
    .warning-message h8 {
        font-size: 18px !important;
    }
    .official {
        font-size: 22px;
    }
    .competitors-info-wrapper p {
        font-size: 17px;
    }
    .add-button #button-padding {
        padding: 4px 10px;
    }
    #competitions-header {
        font-size: 22px;
    }
    .competition-date {
        display: none;
    }
    .flex-item-registration.registration-header,
    .registration-form h1,
    #registration-header {
        font-size: 20px;
    }
    .inserted-data-wrapper {
        margin: 0;
        padding: 0;
    }
    .edit-button,
    .delete-button {
        width: 65px !important;
    }
    .flex-item-insertion.name {
        min-width: 80px;
    }
    .flex-item-insertion.surname {
        min-width: 100px;
    }
    .inserted-data-wrapper .flex-item-insertion {
        font-size: 16px;
    }
    #profile-button-wrapper li {
        font-size: 18px;
    }
    #profile-intro-wrapper td {
        font-size: 16px;
    }
    #competition-intro-wrapper td {
        font-size: 16px;
    }
    #howto-menu-hider {
        left: calc((100% / 2) - 46px);
    }
    #left-nav {
        padding: 0;
    }
    #howto-age td,
    #howto-age th,
    #howto-age tr {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 17px;
    }
    #howto-content-wrapper p {
        font-size: 18px;
        width: 100%;
    }
    .width900 {
        width: 100%;
    }
    a#navbar-hider {
        left: calc((100% / 2) - 150px);
        padding: 11px 150px !important;
    }
    .hide-xs {
        display: none;
    }
    .index-wrapper p {
        font-size: 17px;
    }
    li.weight-button {
        min-width: 55px;
        max-width: 55px;
    }
    li.first-line.double-button,
    li.double-button {
        min-width: 80px;
        max-width: 80px;
    }
    li.edit-button,
    li.delete-button,
    li.add-button,
    li.remove-button {
        min-width: 45px;
        max-width: 45px;
    }
    #profile-menu-wrapper4 {
        width: 205px;
    }
    .flex-item-edit:first-child,
    .flex-item-registration:first-child {
        margin: 0 0 13px 0;
    }
    .flex-item-edit:first-child,
    .flex-item-registration:first-child {
        width: 90%;
        height: auto;
        margin: auto;
    }

    .intro-content-container {
        flex-direction: column;
        align-items: center;
    }

    .intro-sidebar {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 15px;
        margin-left: 0px;
        margin-top: -10px;
        width: 95%;
    }

    .intro-sidebar .button {
        padding: 10px;
        margin: 0 3px;
    }
    .intro-sidebar .button:hover {
        /* padding: 5px; */
        margin: 1px 4px 1px 4px;
    }

    .intro-main-content {
        width: 100%;
    }

    .livestream-label {
        display: none;
    }
    .registration-flex-container {
        align-items: initial;
    }

    .popup-form-field #competitors-weight-input,
    .popup-form-field #competitors-camp-registration2,
    .popup-form-field #competitorsKyuPopup {
        width: 100%;
    }
    .age-category-wrapper .flex-item-edit,
    .age-category-wrapper .flex-item-registration {
        width: 100%;
    }
}


@media only screen and (max-width: 478px) {
    li.camp-button {
        display: none;
    }
    .about-us-bordered-box {
        padding: 10px 14px;
    }
    
    .contact-grid {
        gap: 9px 30px;
        padding: 15px 20px;
        font-size: 16px;
    }

}

@media only screen and (max-width: 450px) {
    .form-popup2 {
        position: fixed;
        top: 150px;
        left: calc(50% - 170px);
        border: 3px solid #f1f1f1;
        border-radius: 5px;
        z-index: 9;
    }
    .form-container2 {
        min-width: 340px;
        max-width: 340px;
    }
    input.weight2 {
        width: 140px;
        margin: 0;
    }
    #doublestart-wrapper2 #button.addweight {
        margin-left: calc(50% - 79px);
    }
    .error-message,
    .success-message {
        font-size: 20px;
    }
    .competition-name {
        font-size: 22px;
        letter-spacing: 1px;
    }
    #competitions-header {
        font-size: 19px;
        text-align: center;
    }
    .competition-place {
        display: none;
    }
    .flex-item-insertion.name {
        min-width: 70px;
    }
    li.flex-item-insertion.edit-button {
        margin: 0;
    }
    li.flex-item-insertion.delete-button,
    li.flex-item-insertion.edit-button {
        padding: 4px 7px;
    }
    li.flex-item-insertion #button-padding {
        padding: 4px 1px;
    }
    .inserted-data-wrapper {
        gap: 1px;
    }
    .flex-item-edit,
    .flex-item-registration {
        width: 300px;
        height: 40px;
        border-radius: 8px;
    }
    .registration-form h1,
    #registration-header {
        font-size: 18px;
    }
    .flex-item-edit.profile {
        width: 220px;
    }
    td.profile-intro-special {
        padding-right: 6px;
        width: 200px !important;
    }
    .profile-intro-special input {
        width: 180px;
        font-size: 16px;
    }
    td.profile-intro-special2 {
        padding-right: 6px;
    }
    .profile-intro-special2 input {
        width: 220px;
        font-size: 16px;
    }
    #profile-intro-wrapper td.first-column {
        padding-right: 4px;
    }
    #profile-intro-wrapper td {
        padding-right: 8px;
    }
    #competition-intro-wrapper td.first-column {
        padding-right: 4px;
    }
    #competition-intro-wrapper td {
        padding-right: 8px;
    }
    #howto-menu-hider {
        left: calc((100% / 2) - 37px);
        padding-left: 4px;
        padding-right: 4px;
    }
    #howto-age td,
    #howto-age th,
    #howto-age tr {
        font-size: 15px;
    }
    #index-mail {
        font-size: 16px;
    }
    .reset-password-form {
        font-size: 14px;
    }
    .reset-password-form .flex-item,
    .login-form .flex-item,
    .signup-form .flex-item {
        width: 280px;
    }
    .flex-item-camp-registration-inline {
        gap: 15px;
        font-size: 0.8em;
    }

    .livestream-day-toggle {
        padding: 6px 16px;
        margin: 10px 3px;
        font-size: 1.0rem;
    }
    .tatami-dropdown {
        padding: 4px 8px;
        font-size: 1.05rem;
        margin-bottom: -2px;
    }
    .livestream-back-btn {
        padding: 5px 12px;
        margin-bottom: 0px;
    }
    .livestream-day-buttons {
        margin: 0px 0 -43px -68px;
    }
    .popup-form-row {
        grid-template-columns: 120px 220px;
        column-gap: 3px;
        margin-right: 19px;
    }
    .popup-camp-margin-adjustment .popup-form-row {
        margin-right: 17px;
        grid-template-columns: 75px 210px;
    }
    .export-button {
        width: 90%;
        font-size: 18px;
        font-weight: 600;
    }
    #export-download-button {
        width: 90%;
        font-size: 18px;
        font-weight: 600;
    }
}


/* Small devices, 600px and up */

@media only screen and (min-width: 601px) {
    .col-s-1 {
        width: 8.33%;
    }
    .col-s-2 {
        width: 16.66%;
    }
    .col-s-3 {
        width: 25%;
    }
    .col-s-4 {
        width: 33.33%;
    }
    .col-s-5 {
        width: 41.66%;
    }
    .col-s-6 {
        width: 50%;
    }
    .col-s-7 {
        width: 58.33%;
    }
    .col-s-8 {
        width: 66.66%;
    }
    .col-s-9 {
        width: 75%;
    }
    .col-s-10 {
        width: 83.33%;
    }
    .col-s-11 {
        width: 91.66%;
    }
    .col-s-12 {
        width: 100%;
    }
}


/* Medium devices, 768px and up */

@media only screen and (min-width: 769px) {
    .col-m-1 {
        width: 8.33%;
    }
    .col-m-2 {
        width: 16.66%;
    }
    .col-m-3 {
        width: 25%;
    }
    .col-m-4 {
        width: 33.33%;
    }
    .col-m-5 {
        width: 41.66%;
    }
    .col-m-6 {
        width: 50%;
    }
    .col-m-7 {
        width: 58.33%;
    }
    .col-m-8 {
        width: 66.66%;
    }
    .col-m-9 {
        width: 75%;
    }
    .col-m-10 {
        width: 83.33%;
    }
    .col-m-11 {
        width: 91.66%;
    }
    .col-m-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 900px) {
    /*  */
}


/* Large devices, 1200px and up */

@media only screen and (min-width: 1201px) {
    .col-l-1 {
        width: 8.33%;
    }
    .col-l-2 {
        width: 16.66%;
    }
    .col-l-3 {
        width: 25%;
    }
    .col-l-4 {
        width: 33.33%;
    }
    .col-l-5 {
        width: 41.66%;
    }
    .col-l-6 {
        width: 50%;
    }
    .col-l-7 {
        width: 58.33%;
    }
    .col-l-8 {
        width: 66.66%;
    }
    .col-l-9 {
        width: 75%;
    }
    .col-l-10 {
        width: 83.33%;
    }
    .col-l-11 {
        width: 91.66%;
    }
    .col-l-12 {
        width: 100%;
    }
}

@media only screen and (max-height: 750px) {
    #howto-menu-wrapper,
    #registered-menu-wrapper {
        top: 80px;
    }
    #howto-menu-wrapper .profile-menu-item,
    #registered-menu-wrapper .profile-menu-item {
        padding: 3px 12px;
    }
    #howto-menu-wrapper .howto-item,
    #registered-menu-wrapper .howto-item {
        font-size: 21px;
    }
    #howto-menu-wrapper .profile-menu-item.offset,
    #registered-menu-wrapper .profile-menu-item.offset {
        padding: 2px 10px;
        font-size: 20px;
    }
}

@media only screen and (max-height: 600px) {
    #howto-menu-wrapper .howto-item,
    #registered-menu-wrapper .howto-item {
        font-size: 20px;
    }
}















#clubs-display-root {
    width: 100%;
    padding: 24px 14px 40px 14px;
    color: #eef3f8;
}

.clubs-display-shell {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.clubs-display-page-head {
    text-align: center;
    margin-bottom: 22px;
}

.clubs-display-page-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
}

.clubs-display-page-subtitle {
    margin: 10px auto 0 auto;
    max-width: 780px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(232, 238, 245, 0.72);
}

.clubs-display-clubs-list {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #252c35 0%, #1d232b 100%);  
}

.clubs-display-clubs-header {
    display: grid;
    gap: 10px;
    margin-bottom: 2px;
    padding: 0 7px;
    align-items: center;
}

.clubs-display-clubs-header--with-coaches {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 100px;
}

.clubs-display-clubs-header--without-coaches {
    grid-template-columns: 72px minmax(220px, 2.7fr) 135px 100px 92px 92px 124px;
}

.clubs-display-clubs-header-cell {
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 238, 245, 0.74);
}

.clubs-display-clubs-header-cell--name {
    text-align: left;
    padding-left: 12px;
}

.clubs-display-clubs-header-cell--coach {
    margin-left: 0px;
}

.clubs-display-clubs-header-cell--boys,
.clubs-display-clubs-header-cell--girls {
    font-size: 24px;
    margin-bottom: 6px;
}

.clubs-display-clubs-header-cell--all {
    font-size: 20px;
    margin-bottom: 4px;
}

.clubs-display-club-card {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 14px 34px rgba(0,0,0,0.26);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.clubs-display-club-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 7px;
    display: grid;
    gap: 10px;
    text-align: left;
    align-items: stretch;
    cursor: pointer;
    transition: background 0.22s ease;
}

.clubs-display-club-toggle--with-coaches {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 100px;
}

.clubs-display-club-toggle--without-coaches {
    grid-template-columns: 72px minmax(220px, 2.7fr) 135px 100px 92px 92px 124px;
}

.clubs-display-club-row {
    display: contents;
}

.clubs-display-club-toggle:hover {
    background: rgba(255,255,255,0.02);
}

.clubs-display-club-toggle:focus-visible {
    outline: 3px solid #78b7ff;
    outline-offset: -3px;
}

.clubs-display-club-cell {
    min-height: 40px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f3843;
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbdee3;
    font-weight: 700;
}

.clubs-display-club-cell--number {
    gap: 10px;
}

.clubs-display-club-cell--name {
    justify-content: flex-start;
    padding: 0 0 0 12px;
}

.clubs-display-club-cell.clubs-display-club-cell--export {
    justify-content: center;
    border: none;
    background: none;
}

.clubs-display-club-mobile-label {
    display: none;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9eacbd;
    font-weight: 800;
}

.clubs-display-club-cell--boys .clubs-display-club-mobile-label,
.clubs-display-club-cell--girls .clubs-display-club-mobile-label {
    font-size: 21px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9eacbd;
    font-weight: 800;
}

.clubs-display-club-cell--total .clubs-display-club-mobile-label {
    font-size: 17px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9eacbd;
    font-weight: 800;
}


.clubs-display-club-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #b7c5d5;
    border-bottom: 2px solid #b7c5d5;
    transform: rotate(-45deg);
    transition: transform 0.28s ease;
    flex-shrink: 0;
    margin-top: -2px;
}

.clubs-display-club-toggle--active .clubs-display-club-chevron {
    transform: rotate(45deg);
}

.clubs-display-club-main-value {
    font-size: 15px;
    font-weight: 800;
}

.clubs-display-club-name {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    word-break: break-word;
}

.clubs-display-country-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    font-size: 13px;
    font-weight: 800;
}

.clubs-display-count-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    font-size: 14px;
    font-weight: 800;
}

.clubs-display-export-link-wrap {
    display: inline-flex;
}

.clubs-display-export-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 7px;
    background: #008186;
    color: #dbdee3;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 20px rgba(77,125,255,0.22);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.clubs-display-export-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.clubs-display-club-panel {
    height: 0;
    overflow: hidden;
    transition: height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.clubs-display-club-panel-inner {
    padding: 0 12px 14px 12px;
}

.clubs-display-panel-loading-placeholder {
    padding: 18px;
    border-radius: 7px;
    background: #323b46;
    border: 1px dashed rgba(255,255,255,0.12);
    text-align: center;
    color: #c3ccd7;
    font-weight: 700;
}

/* PANEL CONTENT */
.clubs-display-section {
    margin-top: 12px;
    border-radius: 7px;
    overflow: hidden;
    background: #2a313a;
    border: 1px solid rgba(255,255,255,0.07);
}

.clubs-display-section-head {
    padding: 8px 13px;
    background: #222931;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.clubs-display-section-title {
    margin: 0;
    text-align: left;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.15;
    font-weight: 800;
    color: #dbdee3;
}

.clubs-display-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 5px;
}

.clubs-display-column {
    min-width: 0;
}

.clubs-display-column-title {
    margin: 0 0 10px 0;
    text-align: center;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.2;
    font-weight: 800;
    color: #dbdee3;
}

.clubs-display-persons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clubs-display-person-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 7px;
    background: #222931;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.clubs-display-person-photo {
    width: 48px;
    height: 58px;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubs-display-person-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clubs-display-person-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.clubs-display-person-country-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.clubs-display-person-country-code {
    font-size: 14px;
    font-weight: 800;
    color: #f2f6fb;
    line-height: 1;
}

.clubs-display-person-name {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    color: #dbdee3;
    word-break: break-word;
}

.clubs-display-person-right {
    gap: 14px;
    align-items: start;
}

.clubs-display-person-right--with-camp {
    display: grid;
    grid-template-columns: auto 145px;
}

.clubs-display-person-right--without-camp {
    display: flex;
    justify-content: flex-end;
}

.clubs-display-person-right--without-camp .clubs-display-person-categories-col {
    align-items: flex-end;
}

.clubs-display-person-camp-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.clubs-display-person-categories-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.clubs-display-category-pill,
.clubs-display-camp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 7px;
    background: #2f3843;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #dbdee3;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.clubs-display-empty-mini {
    padding: 16px;
    border-radius: 7px;
    background: #323b46;
    border: 1px dashed rgba(255,255,255,0.12);
    text-align: center;
    color: #c3ccd7;
    font-weight: 700;
}

.clubs-display-empty-state {
    padding: 22px;
    border-radius: 7px;
    background: #2a313a;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: #f1f4f8;
    font-weight: 800;
}

.clubs-display-exports {
    padding: 20px;
    border-radius: 7px;
    background: linear-gradient(180deg, #252c35 0%, #1d232b 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 34px rgba(0,0,0,0.24);
    width: 900px;
    margin: 30px auto;
}

.clubs-display-exports-head {
    margin-bottom: 16px;
    text-align: center;
}

.clubs-display-exports-title {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 34px);
    color: #ffffff;
    font-weight: 800;
}

.clubs-display-exports-subtitle {
    margin: 8px auto 0 auto;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(232,238,245,0.72);
}

.clubs-display-exports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.clubs-display-export-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 120px;
    padding: 18px;
    border-radius: 7px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.clubs-display-export-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.clubs-display-export-card-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: #111822;
}

.clubs-display-export-card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #344556;
}

.clubs-display-export-card--zip {
    background: #ffe49a;
}

.clubs-display-export-card--excel {
    background: #baf0c2;
}

.clubs-display-export-card--summary {
    background: #d7cbff;
}

.clubs-display-flag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.clubs-display-flag-img {
    width: 23px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}




.clubs-display-clubs-header--with-coaches.clubs-display-clubs-header--with-camp-count {
    grid-template-columns: 65px minmax(220px, 2.15fr) 101px 70px 70px 70px 70px 70px 81px;
}

.clubs-display-club-toggle--with-coaches.clubs-display-club-toggle--with-camp-count {
    grid-template-columns: 65px minmax(220px, 2.15fr) 101px 70px 70px 70px 70px 70px 80px;
}

.clubs-display-clubs-header--with-coaches {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 81px;
}

.clubs-display-club-toggle--with-coaches {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 80px;
}

.clubs-display-clubs-header--without-coaches.clubs-display-clubs-header--with-camp-count {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 81px;
}

.clubs-display-club-toggle--without-coaches.clubs-display-club-toggle--with-camp-count {
    grid-template-columns: 65px minmax(220px, 2.35fr) 101px 70px 70px 70px 70px 80px;
}

.clubs-display-clubs-header-cell--camp-count,
.clubs-display-club-cell--camp-count {
    text-align: center;
}







@media (max-width: 1250px) {
    .clubs-display-clubs-header--with-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 50px 81px
    }

    .clubs-display-club-toggle--with-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 50px 80px
    }

    .clubs-display-clubs-header--with-coaches {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 81px
    }

    .clubs-display-club-toggle--with-coaches {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 80px
    }

    .clubs-display-clubs-header--without-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 81px
    }

    .clubs-display-club-toggle--without-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 80px
    }

    .clubs-display-person-right {
        grid-template-columns: auto auto;
    }
}

@media (max-width: 1050px) {
    .clubs-display-clubs-header--with-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 50px 71px
    }

    .clubs-display-club-toggle--with-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 50px 70px
    }

    .clubs-display-clubs-header--with-coaches {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 71px
    }

    .clubs-display-club-toggle--with-coaches {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 70px
    }

    .clubs-display-clubs-header--without-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 71px
    }

    .clubs-display-club-toggle--without-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 55px minmax(220px, 2.15fr) 90px 50px 50px 55px 50px 70px
    }

    .clubs-display-club-toggle {
        gap: 6px;
        padding: 7px;
    }

    .clubs-display-clubs-header {
        gap: 6px;
        margin-bottom: 2px;
    }

    .clubs-display-club-cell {
        min-height: 38px;
    }

    .clubs-display-club-cell--name {
        min-width: 0;
    }

    .clubs-display-club-name {
        white-space: normal;
        word-break: break-word;
    }

    .clubs-display-country-chip {
        min-width: 0;
    }

    .clubs-display-export-link {
        width: 100%;
        justify-content: center;
        padding: 7px 10px;
    }

    .clubs-display-exports {
        width: 90%;
    }

    .clubs-display-columns {
        grid-template-columns: 1fr;
    }

    .clubs-display-person-photo {
        width: 40px;
        height: 50px;
    }

    .clubs-display-person-main {
        gap: 6px;
    }

    .clubs-display-person-categories-col {
        gap: 3px;
    }

    .clubs-display-category-pill, .clubs-display-camp-pill {
        padding: 5px 10px;
    }

    .clubs-display-person-card {
        padding: 5px 8px;
        gap: 5px;
    }

    .clubs-display-person-right {
        grid-template-columns: auto 145px;
    }

    .clubs-display-clubs-header-cell--boys,
    .clubs-display-clubs-header-cell--girls {
        font-size: 24px;
        margin: 0 0 6px 0px;
    }

    .clubs-display-clubs-header-cell--all {
        font-size: 20px;
        margin: 0 0 4px 0;
    }
}


@media (max-width: 950px) {
    .clubs-display-clubs-header--with-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 45px 65px
    }

    .clubs-display-club-toggle--with-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 45px 64px
    }

    .clubs-display-clubs-header--with-coaches {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 65px
    }

    .clubs-display-club-toggle--with-coaches {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 64px
    }

    .clubs-display-clubs-header--without-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 65px
    }

    .clubs-display-club-toggle--without-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 64px
    }

    .clubs-display-club-cell--number {
        gap: 7px;
    }
    
    .clubs-display-club-main-value {
        font-weight: 700;
    }

    .clubs-display-flag-wrap {
        align-items: flex-end;
    }

    .clubs-display-country-chip {
        font-weight: 700;
    }

    .clubs-display-clubs-header-cell {
        font-size: 11px;
        font-weight: 800;
    }

    .clubs-display-clubs-header-cell--boys, 
    .clubs-display-clubs-header-cell--girls {
        font-size: 24px;
        margin: 0 0 8px 0px;
    }

    .clubs-display-clubs-header-cell--all {
        font-size: 20px;
        margin: 0 0 6px 0;
    }

    .clubs-display-export-link {
        padding: 6px 7px;
    }

    .clubs-display-clubs-header {
        margin-bottom: 0px;
    }

    .clubs-display-club-cell {
        min-height: 35px;
    }
}


@media (max-width: 850px) {
    .clubs-display-clubs-header-cell--camp-count,
    .clubs-display-club-cell--camp-count {
        display: none;
    }
    
    .clubs-display-clubs-header--with-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 65px
    }

    .clubs-display-club-toggle--with-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 64px
    }

    .clubs-display-clubs-header--with-coaches {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 65px
    }

    .clubs-display-club-toggle--with-coaches {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 45px 64px
    }

    .clubs-display-clubs-header--without-coaches.clubs-display-clubs-header--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 65px
    }

    .clubs-display-club-toggle--without-coaches.clubs-display-club-toggle--with-camp-count {
        grid-template-columns: 53px minmax(220px, 2.15fr) 70px 40px 40px 45px 64px
    }
}


@media (max-width: 750px) {
    .clubs-display-clubs-header-cell--camp-count,
    .clubs-display-club-cell--camp-count {
        display: flex;
    }
    
    .clubs-display-club-row--top {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .clubs-display-club-row--bottom-with-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 0.75fr 70px;
    }

    .clubs-display-club-row--bottom-with-coaches {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 70px;
    }

    .clubs-display-club-row--bottom-without-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 70px;
    }

    .clubs-display-club-cell {
        min-height: 35px;
    }

    .clubs-display-clubs-header {
        display: none;
    }

    .clubs-display-club-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 7px;
    }

    .clubs-display-club-row {
        display: grid;
        gap: 6px;
        align-items: stretch;
    }

    .clubs-display-club-name {
        white-space: normal;
        word-break: break-word;
    }

    .clubs-display-export-link {
        width: 100%;
        justify-content: center;
        padding: 7px 10px;
    }

    .clubs-display-club-mobile-label {
        display: block;
    }

    .clubs-display-count-chip {
        min-width: 18px;
        padding: 0 0 0 2px;
    }

    .clubs-display-exports-grid {
        grid-template-columns: 1fr;
        width: 300px;
        margin: auto;
    }

    .clubs-display-export-card {
        gap: 0px;
        min-height: auto;
        padding: 12px;
    }

    .clubs-display-exports-grid {
        gap: 8px;
    }

    .clubs-display-person-card {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 8px;
    }
}

@media (max-width: 650px) {
    .clubs-display-person-right {
        gap: 3px;
    }

    .clubs-display-person-right--with-camp,
    .clubs-display-person-right--without-camp {
        display: grid;
        grid-template-columns: 1fr;
    }

    .clubs-display-person-categories-col {
        order: 1;
        align-items: flex-end;
    }

    .clubs-display-person-camp-col {
        order: 2;
        justify-content: flex-end;
    }

    .clubs-display-club-mobile-label {
        font-size: 10px;
    }

    .clubs-display-club-cell--boys .clubs-display-club-mobile-label, 
    .clubs-display-club-cell--girls .clubs-display-club-mobile-label {
        font-size: 20px;
        font-weight: 800;
    }

    .clubs-display-club-cell--total .clubs-display-club-mobile-label {
        font-size: 16px;
        font-weight: 800;
    }
}

@media (max-width: 550px) {

    .clubs-display-club-row--bottom-with-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 0.75fr 50px;
    }

    .clubs-display-club-row--bottom-with-coaches {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 50px;
    }

    .clubs-display-club-row--bottom-without-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 70px 0.5fr 0.5fr 0.65fr 0.8fr 50px;
    }

    .clubs-display-count-chip {
        font-size: 13px;
        font-weight: 700;
    }

    .clubs-display-country-chip {
        font-size: 13px;
        font-weight: 700;
    }

    .clubs-display-club-row {
        gap: 4px;
    }

    .clubs-display-club-row--top {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .clubs-display-club-cell--number {
        gap: 8px;
    }

    .clubs-display-export-link {
        font-size: 12px;
        font-weight: 600;
        padding: 7px 4px;
    }

    .clubs-display-club-main-value {
        font-size: 14px;
        font-weight: 700;
    }
    .clubs-display-club-row--bottom-with-coaches {
        grid-template-columns: 0.8fr 0.6fr 0.6fr 0.7fr 0.85fr 0.5fr;
    }
    .clubs-display-club-row--bottom-without-coaches {
        grid-template-columns: 0.8fr 0.6fr 0.6fr 0.7fr 0.5fr;
    }
    .clubs-display-club-cell {
        min-height: 30px;
    }
}


@media (max-width: 500px) {
    .clubs-display-clubs-header-cell--camp-count,
    .clubs-display-club-cell--camp-count {
        display: none;
    }
    
    .clubs-display-club-row--top {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .clubs-display-club-row--bottom-with-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 65px 0.5fr 0.5fr 0.65fr 0.8fr 50px;
    }

    .clubs-display-club-row--bottom-with-coaches {
        grid-template-columns: 65px 0.5fr 0.5fr 0.65fr 0.8fr 50px;
    }

    .clubs-display-club-row--bottom-without-coaches.clubs-display-club-row--bottom-with-camp-count {
        grid-template-columns: 65px 0.5fr 0.5fr 0.65fr 50px;
    }
}


@media (max-width: 450px) {
    .clubs-display-club-cell--total .clubs-display-club-mobile-label {
        font-size: 15px;
        font-weight: 800;
    }

    .clubs-display-club-cell--boys .clubs-display-club-mobile-label, .clubs-display-club-cell--girls .clubs-display-club-mobile-label {
        font-size: 18px;
        font-weight: 800;
    }

    .clubs-display-club-mobile-label {
        font-size: 10px;
        font-weight: 700;
    }
    
    .clubs-display-count-chip {
        min-width: fit-content;
        padding: 0 0 0 2px;
    }

    .clubs-display-exports-grid {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clubs-display-club-panel,
    .clubs-display-club-chevron,
    .clubs-display-export-link,
    .clubs-display-export-card {
        transition: none !important;
    }
}

