body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: calc(100vh - 15px);
    box-sizing: border-box;
    overflow: hidden;
}

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

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

.auth>form {
    max-width: 500px;
    padding: 30px;
    margin: auto auto auto auto;
    display: flex;
    flex-direction: column;
}

.auth>form>input[type=text], .auth>form>input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    transition: 300ms all;
}

.auth>form>img {
    max-width: max(500px, 80%);
    max-height: 30%;
    margin-top: 40px;
    margin-bottom: 50px;
}

.auth>form>input[type=submit] {
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: 300ms all;
}

.auth>form>input[type=submit]:hover {
    background-color: #1b263b;
    color: #ffffff;
}

.container {
    max-height: 100%;
    min-height: 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container-athlete-pov {
    overflow: hidden scroll !important;
    display: block !important;
}

nav {
    overflow: hidden;
    min-width: fit-content;
    max-width: 360px;
    gap: 3px;
    order: 2;
    display: inline-flex;
    flex-direction: row;
    justify-content: left;
    align-self: center;
    width: 100%;
    margin-bottom: 10px;
}

nav a {
    float: left;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    user-select: none;
    border-radius: 10px;
    transition: 300ms all;
}

nav a:hover {
    background-color: #ddd;
    color: #0f1116;
}

nav a.active {
    background-color: #03045e;
    color: #ffffff;
    pointer-events: none;
    cursor: default;
}

.vertical-contents {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.vertical-content {
    max-width: fit-content;
    min-width: 300px;
    padding: 5px;
    border-radius: 10px;
    background-color: #eee;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.scroll {
    overflow: scroll !important;
}

.min-height {
    min-height: 80px !important;
}

.vertical-content>form>input {
    border: none;
    border-bottom: 1px solid black;
    background-color: transparent;
    transition: border-bottom-color 300ms ease;
    outline: none;
    padding: 0 0 5px 0;
    margin-bottom: 10px;
    height: 30px;
    font-size: 16px;
    width: 100%;
}

.vertical-content>form>input:focus {
    border-bottom: 1px solid #03045e;
}

.vertical-list {
    display: flex;
    flex-direction: column;
    max-height: fit-content;
    min-height: 0;
    gap: 5px;
}

.centered-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.narrow-gap {
    gap: 8px !important;
}

.item-header {
    min-height: 70px;
    height: 70px;
}

.session-header {
    height: 35px;
}

.margin-top {
    margin-top: 20px;
}

.grid-for-collapse-transition {
    display: grid;
    grid-template-rows: 1fr min-content;
    transition: all 300ms;
    overflow:hidden;
}

.session-exercises {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
    overflow: hidden;
}
.session {
    background-color: #eee;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
}

.session-contents {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.row>label {
    flex-grow: 1;
}

.link {
    padding: 5px;
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 300ms;
}

.link:hover {
    background-color: #ccc;
}

.exercise {
    background-color: #ddd;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    gap: 10px;
}

.item-details {
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}

.item-details-athlete-pov {
    max-width: 100% !important;
    overflow: hidden;
}

.bold {
    font-weight: bold;
}

.row img {
    margin-right: 10px;
}

@media screen and (max-width: 600px) {
}

@media screen and (min-width: 451px) {
    .icon-btn {
        min-height: 35px;
    }
    .corner-logo {
        height: 64px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 450px) {
    .corner-logo {
        margin-right: 5px;
        height: 48px;
    }
    .centered-row {
        gap: 5px;
    }
    h3 {
        font-size: 14px;
    }
    .item-details label {
        font-size: 16px;
    }
    .item-header label {
        font-size: 14px;
    }
    .session label {
        font-size: 14px;
    }
    .exercise label {
        font-size: 12px;
    }
    .exercise table th {
        font-size: 12px;
    }
}


.main-contents {
    flex-grow: 1;
}

@media screen and (min-width: 601px) {
    .main-contents {
        display: flex;
        flex-direction: row;
        gap: 40px;
        overflow: scroll;
    }
    .item-details {
        min-width: fit-content;
        overflow: scroll;
    }
}
@media screen and (max-width: 600px) {
    .main-contents {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .container {
        overflow: scroll !important;
    }
    .main-contents {
        overflow: visible !important;
    }
    .vertical-list {
        overflow: visible !important;
    }
    .item-details {
        overflow: visible !important;
        min-width: max(350px, 100%);
        width: 100%;
    }
    .item-details-contents {
        min-width: 100%;
    }
    .vertical-content {
        width: calc(100% - 10px);
        overflow: visible !important;
    }
}

.item-details button {
    background-color: #eee;
    border: 2px solid #ccc;
    border-radius: 10px;
    transition: 300ms all;
}

.item-details table {
    text-align: center;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 10px 0;
}

.item-details td {
    min-width: fit-content;
    max-width: fit-content;
}

.item-details tr {
    height: 30px;
}

.item-details table input {
    margin: auto;
    display: block;
    border-radius: 10px;
    min-height: 30px;
    background-color: #eee;
    border: 2px solid #ccc;
    font-size: 12px;
    text-align: center;
    transition: border-color 300ms;
}

.item-details table input:focus {
    outline: none !important;
    border: 2px solid #03045e;
}

.item-details select {
    min-height: 35px;
    background-color: #eee;
    border-radius: 10px;
    border: 2px solid #ccc;
    font-size: 12px;
    text-align: center;
    transition: 300ms all;
}

.item-details-contents {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

select {
    transition: 300ms all;
}

.provisional {
    box-shadow: darkorange 0 0 8px 1px !important;
}

.icon-btn {
    height: 30px;
    width: 30px;
    border-radius: 8px;
    background-color: #eee;
    border: 2px solid #ccc;
}

.collapsed {
    grid-template-rows: 0fr min-content;
}

button {
    transition: filter 300ms;
    min-height: 35px;
}

button:hover, select:hover, input:hover {
    filter: brightness(1.1);
}

.current_item {
    font-weight: bold;
    pointer-events: none;
    cursor: default;
    background-color: #ddd;
    transition: all 300ms;
}

.current_item:hover {
    background-color: transparent;
}

.flex-404 {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.img-404 {
    max-width: max(500px, 80%);
    max-height: 30%;
}

.textarea {
    overflow: auto;
    width: 100%;
    min-width: 0;
    min-height: 45px;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid #ccc;
    background-color: #fafafa;
    transition: border-color 300ms;
}

.disabled {
    color: black;
    background-color: #ddd;
}

.textarea:focus {
    outline: none !important;
    border: 2px solid #03045e;
}