@import url('icons.css');

body {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.ls-ap-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--grey);
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ls-ap-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    background-color: var(--grey);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.ls-ap-footer__software-version {
    font-size: 0.8rem;
    color: var(--grey-medium-darker);
}

.ls-ap-footer__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    width: 100%;
}

.ls-ap-footer__list__el {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ls-ap-footer__list__el:first-child {
    justify-content: flex-start;
}

.ls-ap-footer__list__el:last-child {
    justify-content: flex-end;
}


.ls-ap-footer__list__el__logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.ls-ap-footer__list__el__credit,
.ls-ap-footer__list__el__contact,
.ls-ap-footer__list__el__wiki {
    font-size: 0.8rem;
    transition: color 0.3s ease;
    color: var(--grey-medium-darker);
}

.ls-ap-footer__list__el__credit {
    text-align: left;
    font-weight: 400;
    margin-right: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (max-width: 325px) {
    .ls-ap-footer__list__el__credit span {
        display: none;
    }
}

.ls-ap-footer__list__el__wiki {
    margin-right: 20px;
    font-weight: 700;
    text-align: right;
}

.ls-ap-footer__list__el__contact {
    text-align: right;
    font-weight: 700;
    margin-left: 5px;
}

.ls-ap-footer__list__el__credit:hover,
.ls-ap-footer__list__el__contact:hover,
.ls-ap-footer__list__el__wiki:hover {
    cursor: pointer;
    color: var(--black);
}

.ls-ap-header__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ls-ap-header__nav__logo {
    max-width: 200px;
    width: 45%;
    height: auto;
    object-fit: contain;
}

.ls-ap-header__nav__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 45%;
    max-height: 40px;
}

.ls-ap-header__nav__buttons li {
    display: block;
    position: relative;
}

.ls-ap-header__nav__buttons__button {
    display: block;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    background-color: black;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
}

@media (min-width: 1024px) {
    .ls-ap-header__nav__buttons__button {
        width: 20px;
        height: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ls-ap-header__nav__buttons__button {
        width: 20px;
        height: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 767px) {
    .ls-ap-header__nav__buttons__button {
        width: 30px;
        height: 30px;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.ls-ap-header__nav__buttons__button--home {
    mask-image: url("../img/icons/house-solid.svg");
    -webkit-mask-image: url("../img/icons/house-solid.svg");
}

.ls-ap-header__nav__buttons__button--logout {
    mask-image: url("../img/icons/right-from-bracket-solid.svg");
    -webkit-mask-image: url("../img/icons/right-from-bracket-solid.svg");
}

.ls-ap-header__nav__buttons__button--exit {
    mask-image: url("../img/icons/up-right-from-square-solid-full.svg");
    -webkit-mask-image: url("../img/icons/up-right-from-square-solid-full.svg");
}

.ls-ap-header__nav__buttons__button--bell {
    mask-image: url("../img/icons/bell-solid.svg");
    -webkit-mask-image: url("../img/icons/bell-solid.svg");
}

.ls-ap-header__nav__buttons__button--messages {
    mask-image: url("../img/icons/comments-solid-full.svg");
    -webkit-mask-image: url("../img/icons/comments-solid-full.svg");
}

.ls-ap-header__nav__buttons__button--tablet {
    mask-image: url("../img/icons/tablet-screen-button-solid-full.svg");
    -webkit-mask-image: url("../img/icons/tablet-screen-button-solid-full.svg");
}

.ls-ap-header__nav__buttons__button:hover {
    background-color: var(--main-secondary);
    cursor: pointer;
}

.ls-ap-header__nav__buttons__button:active {
    background-color: var(--main);
}

.ls-ap-header__nav__buttons__active-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--warning);
    top: 0px;
    right: 10px;
    opacity: 1;
    z-index: 1;
}

.ls-ap-header__nav__buttons__active-dot--hidden {
    opacity: 0;
}

.ls-ap-header__nav__buttons__notification-list,
.ls-ap-header__nav__buttons__chat-container {
    position: fixed;
    background-color: var(--grey-medium);
    color: white;
    max-height: 70vh;
    opacity: 1;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0px;
    font-size: 0.8rem;
    transition: opacity 0.3s ease, max-height 0.5s ease;
    -webkit-transition: opacity 0.3s ease, max-height 0.5s ease;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 99;
}

.ls-ap-header__nav__buttons__chat-container {
    gap: 10px;
    background-color: var(--grey);
}

.ls-ap-header__nav__buttons__messages-list {
    width: 100%;
    color: white;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    font-size: 0.8rem;
    overflow-y: auto;
}

@media (min-width: 768px) {

    .ls-ap-header__nav__buttons__notification-list,
    .ls-ap-header__nav__buttons__chat-container {
        top: 65px;
        right: 30px;
        width: 300px;
    }
}

@media (max-width: 767px) {

    .ls-ap-header__nav__buttons__notification-list,
    .ls-ap-header__nav__buttons__chat-container {
        top: 65px;
        width: 100vw;
        left: 0;
        right: 0;
    }
}

.ls-ap-header__nav__buttons__notification-list--hidden,
.ls-ap-header__nav__buttons__chat-container--hidden {
    opacity: 0;
    overflow-y: hidden;
    max-height: 0;
    min-height: auto;
    padding: 0;
}

.ls-ap-header__nav__buttons__notification-list__el,
.ls-ap-header__nav__buttons__messages-list__el {
    padding: 10px;
    padding-inline: 20px;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    background-color: transparent;
    gap: 10px;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-ap-header__nav__buttons__messages-list__el {
    width: 90%;
    border-radius: 12px;
    padding: 15px;
}

.ls-ap-header__nav__buttons__messages-list__el {
    transition: background-color 0.7s ease;
    -webkit-transition: background-color 0.7s ease;
}

.ls-ap-header__nav__buttons__messages-list__el:nth-child(odd) {
    background-color: var(--grey-medium-darker);
}

.ls-ap-header__nav__buttons__messages-list__el:nth-child(even) {
    background-color: var(--grey-medium-darker-hover);
}

.ls-ap-header__nav__buttons__notification-list__el p:nth-child(1) {
    font-size: 0.6rem;
    text-align: right;
    width: 100%;
}

.ls-ap-header__nav__buttons__messages-list__el > div:nth-child(1) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    font-size: 0.6rem;
}

.ls-ap-header__nav__buttons__notification-list__el p:nth-child(2),
.ls-ap-header__nav__buttons__messages-list__el > p:nth-child(2) {
    text-align: left;
    width: 100%;
    font-weight: 700;
}

.ls-ap-header__nav__buttons__notification-list__el:hover {
    background-color: var(--main);
}

.ls-ap-header__nav__buttons__messages-list__el.new {
    background-color: var(--main);
}

.ls-ap-header__title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.ls-ap-header__user {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--grey-medium-darker);
}

.ls-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 4vh;
    padding-bottom: 4vh;
    flex: 1;
}

.ls-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 15px;
    padding-bottom: 15px;
    flex: 1;
}

.ls-main__section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
}

.ls-section-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: end;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 12px;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ls-section-banner__title {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--white);
    width: 100%;
    text-align: center;
}

.ls-section-banner__img {
    height: 30px;
    width: auto;
}

.ls-button {
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 12px;
}

.ls-button--default {
    background-color: var(--grey-medium);
    color: var(--white);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
}

.ls-button--default:hover {
    cursor: pointer;
    background-color: var(--grey-medium-hover);
}

.ls-button--default:active {
    background-color: var(--main);
}

.ls-button--subtle {
    color: var(--grey-medium);
    background-color: transparent;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
}

.ls-button--subtle:hover {
    cursor: pointer;
    color: var(--grey-medium-hover);
}

.ls-button--subtle:active {
    color: var(--main);
}


.ls-button--submit {
    background-color: var(--main-secondary);
    color: var(--light-font);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    margin-top: 0;
}

.ls-button--submit:hover {
    cursor: pointer;
    background-color: var(--main-secondary-hover);
}

.ls-button--submit:active {
    background-color: var(--main);
}

.ls-button--disabled {
    background-color: var(--grey);
    color: var(--white);
    text-decoration: line-through;
    user-select: none;
    pointer-events: none;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
}

.ls-button--disabled:hover {
    cursor: not-allowed !important;
    background-color: var(--grey) !important;
} 

.ls-button--red {
    background-color: var(--error);
    color: var(--white);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
}

.ls-button--red:hover {
    cursor: pointer;
    background-color: var(--error-hover);
}

.ls-button--red:active {
    background-color: var(--main);
}


.ls-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ls-actions-td {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}


.ls-actions-td button {
    width: fit-content;
}

.ls-label {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
    margin-bottom: 10px;
    text-align: left;
    align-items: center;
    justify-items: center;
    margin-bottom: 15px;
}

.ls-label--checkbox {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: left;
    justify-items: start;
}

.ls-label--password {
    display: grid;
    grid-template-columns: 100px 1fr 25px;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: left;
    justify-items: start;
}

.ls-label__row,
.ls-label--row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
}

.ls-label__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 1000vh;
    opacity: 1;
    transition: max-height 0.7s ease, opacity 0.5s ease;
    -webkit-transition: max-height 0.7s ease, opacity 0.5s ease;
    -moz-transition: max-height 0.7s ease, opacity 0.5s ease;
    -ms-transition: max-height 0.7s ease, opacity 0.5s ease;
    -o-transition: max-height 0.7s ease, opacity 0.5s ease;
    overflow: hidden;
}

.ls-label__container__wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--grey);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ls-label__container__title {
    margin-bottom: 15px;
    font-weight: 600;
}


.ls-label__container--hidden {
    max-height: 0;
    opacity: 0;
}

.ls-input,
.ls-input-select,
.ls-input-textarea {
    background-color: var(--white);
    color: var(--black);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid var(--grey-medium);
    text-align: left;
    width: 100%;
    border-radius: 12px;
}

.ls-form-info {
    font-size: 0.8rem;
}

.ls-label .ls-input {
    margin-bottom: 0px;
}

.ls-input::placeholder,
.ls-input-textarea::placeholder {
    color: var(--grey-medium);
    font-style: italic;
}

.ls-input-textarea {
    min-height: 120px;
}

.ls-input-checkbox {
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid var(--grey-medium);
}

.ls-input-checkbox:checked:after {
    content: "X";
    font-size: 20px;
    color: var(--main);
}

.ls-input-checkbox:not(:disabled),
.ls-input-select:not(:disabled),
.ls-input-checkbox:not(:disabled) {
    background-color: var(--white);
}

.ls-input:read-only,
.ls-input-checkbox:disabled,
.ls-input-select:disabled,
.ls-input-textarea:disabled {
    background-color: var(--grey);
}



.management-components__nav__search-data {
    display: flex;
    flex-direction: column;
}

.ls-search-box {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 50px;
}

.ls-search-box__input {
    background-color: var(--white);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 12px 0px 0px 12px;
    border: 1px solid var(--grey);
}

.ls-search-box__input::placeholder {
    font-style: italic;
    color: var(--grey-medium-darker);
}


.ls-search-box__button {
    background-color: var(--grey-medium);
    height: 100%;
    width: 100%;
    border-radius: 0px 12px 12px 0px;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ls-search-box__button:hover {
    cursor: pointer;
    background-color: var(--main-secondary);
}

.ls-search-box__button:active {
    background-color: var(--main);
}

.ls-ap-header__nav__buttons__chat-container__form {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    padding-inline: 10px;
}

.ls-ap-header__nav__buttons__chat-container__form > *[name="comment"] {
    width: 70%;
    min-height: 60px;
}

.ls-ap-header__nav__buttons__chat-container__form > *[type="submit"] {
    width: calc(30% - 10px);
}

.ls-form-info {
    font-size: 0.8rem;
    text-align: left;
}

@media (min-width: 1024px) and (orientation: landscape) {
    .ls-mobile-only {
        display: none;
    }
}

@media (min-width: 1024px) and (orientation: portrait) {
    .ls-desktop-only {
        display: none;
    }
}

@media (max-width: 1023px) {
    .ls-desktop-only {
        display: none;
    }
}