/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

h2, h3, th {
    color: #fff;
    text-align: center;
}

a {
    text-decoration: none;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #9b9ba4;
}

.container {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.container header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.container .form {
    margin-top: 30px;
}

.container-login {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.container-login header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.container-login .form {
    margin-top: 30px;
}

.container-listing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #82828c;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.container-listing header {
     font-size: 1.5rem;
     color: #333;
     font-weight: 500;
     text-align: center;
 }

.container .form {
    margin-top: 30px;
}

.form .input-box {
    width: 100%;
    margin-top: 20px;
}

.form .input-checkbox {
    width: 100%;
    margin-top: 20px;
}

.input-box label {
    color: #333;
    margin-right: 10px;
    vertical-align: top;
}

.input-checkbox label {
    color: #333;
}

.form :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

.form :where(.input-checkbox input) {
    position: relative;
    height: 20px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
    accent-color: #247C28;
}

.form :where(.multiselect-box) {
    position: relative;
    height: 200px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

.input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.input-checkbox input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
    display: flex;
    column-gap: 15px;
}

.form .gender-box {
    margin-top: 20px;
}

.gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

.form .gender {
    column-gap: 5px;
}

.gender input {
    accent-color: green;
}

.form :where(.gender input, .gender label) {
    cursor: pointer;
}

.gender label {
    color: #707070;
}

.address :where(input, .select-box) {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.address :where(input, .multiselect-box) {
    margin-top: 15px;
}

.multiselect-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.multiselect-box select option {
    color: #333;
}

.form button {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #247C28;
}

.form button:hover {
    background: #2d9b32;
}

.container-login {
    margin-top: 3rem;
}

.one-row-text {
    white-space: nowrap;
}

button {
    height: 55px;
    padding: 0 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #247C28;
}

button:hover {
    background: #2d9b32;
}

.categories-table td:first-child,
.categories-table th:first-child {
    width: 400px;
}

.categories-table td a {
    padding: 14px;
}

.category-table td a {
    padding: 4px;
}

td a {
    background: #247C28;
    color: #fff;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 5px;
}

td a:hover {
    background: #2d9b32;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

table tr:first-child th {
    background-color: #333;
    padding: 10px;
}

table tr:first-child th:first-child {
    min-height: 102px;
}

table tr:not(:first-child) td {
    color: gray;
}

th {
    text-align: left;
    padding: 14px 8px;
    min-width: 30px;
}

td {
    text-align: left;
    padding: 8px;
    min-width: 30px;
}

tr:nth-child(even) th,
tr:nth-child(even) td {
    background-color: #fff;
}

tr:nth-child(odd) th,
tr:nth-child(odd) td {
    background-color: #f0f0f0;
}

h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.list-table tr td:first-child {
    white-space: nowrap;
}

.legend {
    background-color: #F5F5F5;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.table-more {
    min-width: 120px;
}

.membership-table tbody tr:first-child {
    background-color: #333;
}

.membership-table tr:nth-child(even) {
    background-color: #dcdcdc;
}

.membership-table tr:nth-child(odd) {
    background-color: #f0f0f0;
}

.logout-link {
    color: #d92626 !important;
}

.input-checkbox input:focus {
    box-shadow: none !important;
}
.menu span {
    display: none;
}
.summary-table th {
    white-space: normal;
}

.button-anchor {
    height: 40px;
    padding: 0 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #272b27;
}

.summary-create-table tr:first-child th {
    background-color: #f0f0f0;
}

#html-content-holder {
    background-color: white;
}

.canvas-trening {
    max-width: 1200px;
    max-height: 1000px;
}

/*Responsive*/
@media screen and (max-width: 500px) {
    .form .column {
        flex-wrap: wrap;
    }

    .form :where(.gender-option, .gender) {
        row-gap: 15px;
    }

    .canvas-trening {
        max-width: 350px;
        max-height: 800px;
    }
}

@media screen and (max-width: 1024px) {
    body {
        padding: 0;
    }
    .homeLogo {
        margin-top: 30%;
        margin-bottom: 2rem;
    }
    table {
        display: block;
        max-width: fit-content;
        margin: 0 auto;
        overflow-x: scroll;
        white-space: nowrap;
        width: 100%;
        font-size: 12px;
        table-layout: fixed;
        border-radius: 0;
    }
    .summary-create-table {
        white-space: normal;
        max-width: 100%;
        margin: 1rem 0 0 0;
    }
    .summary-create-table.full-width-table {
        display: table;
    }
    table tr th:first-child,
    table tr td:first-child {
        position: sticky;
        left: 0;
    }
    .outer-wrapper {
        position: relative;
    }
    .inner-wrapper {
        overflow-x: scroll;
        overflow-y: visible;
    }
    .legend {
        font-size: 8px;
        display: flex;
        justify-content: space-around;
    }
    .navigation-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9;
        visibility: hidden;
        opacity: 0;
        margin-top: -50px;
        transition: all 0.3s ease-in-out;
    }
    .navigation-menu.overlay {
        visibility: visible;
        opacity: 1;
        margin-top: 0;
        background:rgba(0,0,0,0.5);
    }
    .navigation-menu nav {
        margin: 0;
        border-radius: 0;
        height: 100%;
    }
    .navigation-menu .menuItems {
        display: flex;
        flex-direction: column;
    }
    .menu {
        z-index: 15;
        cursor: pointer;
        height: 27px;
        width: 27px;
        margin: 30px;
        overflow: visible;
        position: fixed;
        top: 16px;
        padding: 30px;
        background: black;
        border-radius: 50%;
        align-self: flex-end;
    }
    .menu span,
    .menu span:before,
    .menu span:after {
        background: #fff;
        display: block;
        height: 4px;
        opacity: 1;
        position: absolute;
        transition: 0.3s ease-in-out;
    }
    .menu span:before,
    .menu span:after {
        content: "";
    }
    .menu span {
        right: 13px;
        top: 26px;
        width: 27px;
    }
    .menu span:before {
        left: 0px;
        top: -10px;
        width: 16px;
    }
    .menu span:after {
        left: 0px;
        top: 10px;
        width: 20px;
    }
    .menu.close span {
        transform: rotate(-45deg);
        top: 26px;
        width: 27px;
    }
    .menu.close span:before {
        top: 0;
        transform: rotate(90deg);
        width: 27px;
    }
    .menu.close span:after {
        top: 0px;
        left:0;
        transform: rotate(90deg);
        opacity:0;
        width:0;
    }
    .container-listing {
        display: block;
    }
    .button-anchor {
        padding: 0 10px;
    }
    table.players-table tr td:nth-child(2),
    table.players-table tr td:nth-child(3) {
        white-space: normal;
    }
    table.players-table tr th:first-child,
    table.players-table tr td:first-child {
        max-width: 30px;
        width: 30px;
    }
    table.players-table tr th:nth-child(2),
    table.players-table tr td:nth-child(2) {
        position: sticky;
        left: 30px;
        max-width: 85px;
        min-width: 85px;
    }
    table.players-table tr th:nth-child(3),
    table.players-table tr td:nth-child(3) {
        position: sticky;
        left: 115px;
    }
    table.category-table tr th:first-child,
    table.category-table tr td:first-child {
        max-width: 30px;
        width: 30px;
    }
    table.category-table tr th:nth-child(2),
    table.category-table tr td:nth-child(2) {
        position: sticky;
        left: 30px;
    }
}
