@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap");


:root {
    --color-default: #141b21 ;
    --color-default-light: #1a2228;

    --black2: #151515;
    --black: #191919;
    --blacklight: #353535;

    --graydark2: #555555;
    --graydark: #9B9B9B;
    --gray: #B6B6B6;
    --graylight: #D1D1D1;
    --graylight2: #E7E7E7;
    --graylight3: #f5f5f5;
    --graylight4: #f9f9f9;

    --white: #FFF;

    --success: #198754;
    --successlight: #D9F8EA;
    --error: #DC3545;
    --errorlight: #F2B7BD;

    --alertdark: #ff7306;
    --alert: #FF9039;
    --alertlight: #ffad6c;

    --bluedark: #1D314B;
    --bluedark2: #14243a;
    --blue: #4FB9E5;
    --bluelight: #72C7EA;

    --reddark: #B60000;
    --red: #C43232;
    --redlight: #D36666;

    --purpledark: #866794;
    --purple: #A881BA;
    --purplelight: #C2A6CE;

    --greendark: #198754;
    --green: #469f76;
    --greenlight: #75b798;
    --greenpix: #48AFA0;

    --yellowdark: #CAA71E;
    --yellow: #E9BE60;

    --beige: #B29E87;

    --lowLevel: 999;
    --z-index-popup: 1000;
    --toggleColor: var(--color-default);
    --card-list-width: 280px;

    font-size: 14px;
}

body {
    font-family: "Golos Text" !important;
    background: #FEFEFE;
    min-height: 100vh;
}

body > .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 10px;
    background: #28536b;
    height: 50px;
}
body > .header * {
    color: #FAFAFA;
}
body > .header .col {
    display: flex;
    gap: 20px;
}
body > .header a {
    text-decoration: none;
    font-weight: bolder;
}
body > .body {
    padding: 10px;
    padding-bottom: 0;
}

a {
    color: var(--black);
}

.container-lists {
    margin: 0;
    display: flex;
    height: calc(100vh - 140px);
    width: calc(100vw - 20px);
    overflow: auto;
    cursor: grab;
}

.container-lists > * {
    display: flex;
    gap: 20px;
}

p {
    color: var(--black);
}

* {
    margin: 0;
    box-sizing: border-box !important;
}

*:focus {
    outline: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-default-light);
    border-radius: 5px;
}

hr {
    margin: 5px 0;
    border-top: none;
    border-color: var(--graydark);
}

.container-cards {
    width: 100%;
    height: fit-content;
    max-height: calc(100vh - 220px);
    overflow: auto;
    min-height: 35px;
}

.badge {
    font-size: 0.7em;
    background-color: #8A8A8A;
    color: var(--white);
    padding: 2px 4px;
    border-radius: 10px;
    width: max-content;
    height: fit-content;
    cursor: default;
}

.badge.red {
    background-color: var(--reddark);
}

.badge.green {
    background-color: var(--greendark);
}

.input-group {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    padding: .8em;
    border-radius: 10px;
    display: flex;
    gap: 5px;
    width: fit-content;
    flex-direction: column;
    margin-bottom: 5px;
    min-height: 80px;
    justify-content: center;
}

.input-group *:not(input, select, option) {
    color: var(--white);
}

label {
    font-weight: 500 !important;
}

input, select, textarea {
    padding: 8px 4px;
    border: none;
    font-size: 0.85em;
    border-radius: 3px;
    font-family: "Golos Text" !important;
    border: 1px solid var(--graylight);
    width: 100%;
}


.border-bottom {
    border-bottom: 1px solid var(--graylight);
    border-radius: 0;
}

select option {
    padding: 5px 8px;
}

select option:checked {
    background-color: var(--color-default);
    color: #FFFFFF;
}

textarea {
    resize: vertical;
    padding: 10px;
}

.hide {
    display: none !important;
}
.glowing {
    animation: glowing 2s;
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 0px 0px;
    }
    50% {
        box-shadow: 0 0 10px 2px #48abe0ee;
    }
    100% {
        box-shadow: 0 0 0px 0px;
    }
}

.reflex {
    animation: reflection 3s infinite ease-in-out;
}

@keyframes reflection {
    20%, 100% {
        opacity: 1;
    }
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.modal {
    width: 900px;
    max-width: 95vw;
    height: 95vh;
    background-color: var(--black2);
    border-radius: 20px;
    z-index: calc(var(--lowLevel) + 4);
    -webkit-animation: scale-in-center 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: scale-in-center 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-container {
    width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; display: none;
}

.modal-container.show {
    display: flex; align-items: center; justify-content: center;
}

.modal-container input:disabled, .modal-container select:disabled {
    background: transparent !important;
}

.curtain {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    z-index: calc(var(--lowLevel) + 1);
    bottom: 0;
    width: 100vw;
    overflow-y: unset;
    display: none;
}

.curtain.curtain-popup {
    background: rgba(0, 0, 0, 0.75);
    z-index: var(--z-index-popup);
}

.curtain.active {
    display: block;
}

.modal * {
    color: #EAEAEA;
}

.modal > .header {
    display: flex; justify-content: space-between; border-bottom: 2px solid var(--graylight);
    align-items: center;
    gap: 10px;
}

.modal > .header > .title {
    font-weight: bolder;
    margin: 0;
    font-weight: bolder;
    font-size: 1.1em;
    background-color: transparent;
}

.modal > .header > .title:focus {
    background-color: var(--graydark2);
}

.modal > .header > *:last-child {
    cursor: pointer;
}

.modal > .header, .modal > .body {
    padding: 15px;
}

.container-modal-card {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 10px;
    overflow: auto;
    max-height: 85dvh;
}

.container-modal-card > * {
    max-height: 85vh;
    padding: 0.5em;
}

.container-notes {
    padding: 10px 0;
    overflow: auto;
}

.modal textarea {
    background-color: transparent;
    resize: none;
}

.modal textarea:focus {
    background-color: var(--graydark2);
}

.d-none {
    display: none !important;
}

.list {
    display: flex;
    flex-direction: column;
}

.list .item {
    width: 100%;
    padding: 0.5em;
    display: flex;
    gap: 10px;
    align-items: center;
}

.list .item.disabled {
    color: var(--graydark);
    cursor: default;
}

.list .item:not(:last-child) {
    border-bottom: 1px solid #FAFAFA;
    
}

.input-file-drop {
    border: 1.5px dashed var(--graydark2);
    padding: 40px;
    border-radius: 15px;
    display: grid;
    gap: 15px;
    font-family: sans-serif;
    margin-bottom: 10px;
}

.input-file-drop > * {
    justify-self: center;
}

.input-file-drop input[type="file"] {
    display: none;
}

.input-file-drop.highlight {
    background-color: var(--blacklight);
    border: 1.5px solid var(--gray);
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-pointer * {
    cursor: pointer !important;
}

.cursor-auto {
    cursor: auto !important;
}

.cursor-auto * {
    cursor: auto !important;
}

.switch-toggle input[type=checkbox],
.switch-toggle input[type=radio] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: auto;
}

.switch-toggle label {
    cursor: pointer;
    text-indent: -9999px;
    width: 40px;
    height: 20px;
    background: var(--graylight);
    display: block;
    border-radius: 100px;
    position: relative;
    font-size: 10px;
    border: 1px solid var(--graylight);
}

.switch-toggle label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 90px;
    transition: 0.3s;
}

.switch-toggle input:checked+label {
    background: var(--toggleColor);
    border: 1px solid var(--toggleColor);
}

.switch-toggle input:disabled+label {
    background: var(--graylight3) !important;
    border: 1px solid var(--graylight2) !important;
    pointer-events: none !important;
    cursor: default !important;
}

.switch-toggle input[checked]:disabled+label {
    background: var(--toggleColor) !important;
    border: 1px solid var(--toggleColor) !important;
}

.switch-toggle input+label:before {
    position: absolute;
    top: 5px;
    left: 35px;
    width: 16px;
    height: 16px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: var(--white);
}

.switch-toggle input:checked+label:before {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 16px;
    height: 16px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: var(--white);
}

.switch-toggle input:checked+label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switch-toggle label:active:after {
    width: 16px;
}

.toggle-switch-area {
    margin: 10px 0 10px 0;
}

.switch-toggle.contrast input:checked+label
 {
    border: 1px solid var(--white);
}

input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    
}

input[type=number] { 
   -moz-appearance: textfield;
   appearance: textfield;
}

.d-flex {
    display: flex;
}

.w-100 {
    width: 100%;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.flex-align-center {
    display: flex;
    align-items: center;
}

.flex-justify-center {
    display: flex;
    justify-content: center;
}

.gap-5 {
    gap: 5px;
}

.c-pointer {
    cursor: pointer;
}

input[type="color"] {
    border: none !important;
    width: 48px !important;
    height: 50px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer;
}

input[type="color"]::-webkit-color-swatch {
    border-radius: 50%;
}

.text-underline {
    text-decoration: underline !important;
}

.modal-filter {
    position: fixed;
    z-index: 1000001;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    display: none;
    cursor: default;
    width: 650px;
    max-width: 100%;
}

.modal-filter.show {
    display: flex;
}

.modal-filter > .modal-main {
    background-color: var(--gray);
    width: fit-content;
    width: 100%;
    border-radius: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.modal-filter > .modal-main > .modal-header {
    border-radius: 14px 14px 0px 0px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-default);
}

.modal-filter > .modal-main > .modal-header > .modal-title {
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
    padding-right: 20px;
}

.modal-filter > .modal-main > .modal-header .modal-close-btn {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--white);
}

.modal-filter > .modal-main > .modal-header .modal-close-btn path {
    fill: var(--white);
}

.modal-filter > .modal-main > #modal-body {
    padding: 0px 30px;
    margin: 25px 0px;
    overflow-x: visible;
    height: fit-content;
}

.modal-filter[side='true'] {
    left: unset;
    right: 0px;
    top: -80px;
    width: 0px;
    overflow-x: unset;
}

.modal-filter[side='true'].show {
    display: flex;
    -webkit-animation: slide-from-right 0.3s forwards !important;
    -webkit-animation-delay: 0.2s !important;
    animation: slide-from-right 0.3s forwards !important;
    animation-delay: 0.2s !important;
}

.modal-filter[side='true'] .modal-main {
    height: 100dvh;
    border-radius: unset;
}

.modal-filter[side='true'] .modal-main .modal-header {
    border-radius: unset;
    height: 50px;
    padding: 0px 30px;
}

.modal-filter[side='true'] .modal-main .modal-body {
    overflow-y: overlay;
    height: calc(100dvh - 50px);
    padding-bottom: 50px
}

input[type=radio] {
    width: unset;
}

@media only screen and (min-width: 1601px) {
    .modal-filter {
        margin-top: 80px;
    }
}

@media only screen and (min-width: 1081px) and (max-width: 1600px) {
    .modal-filter {
        margin-top: 80px;
    }
}

@media only screen and (max-width: 1080px) {
    .modal-filter[side='true'] {
        left: unset;
        right: 0px;
        top: -10px;
        --modal-side-width: 100vw;
    }

    .modal-filter {
        margin-left: 10px;
        width: calc(100vw - 20px);
        margin-top: 10px;
    }

    .modal-filter > .modal-main > .modal-header {
        padding: 15px;
    }

    .modal-filter > .modal-main > .modal-header > .modal-title {
        font-size: 1rem;
    }

    .modal-filter > .modal-main > .modal-body {
        padding: 0px 15px;
        margin: 6px 0px;

        overflow-x: visible;
        height: fit-content;
    }
}

.table {
    width: 100%;
    max-height: 76vh;
    overflow-y: scroll;
}
.table .row {
    display: grid;
    grid-template-columns: var(--grid);
    gap: 10px;
    padding: 10px 5px;
    align-items: center;
    border-radius: 10px;
}
.table .row.header {
    background-color: #28536b;
    position: sticky;
    top: -1px;
}
.table .row.header * {
    font-weight: bolder;
    color: #FAFAFA;
}
.table .row:not(.header):nth-child(odd) {
    background-color: var(--graylight3);
}
.table .row:not(.header):hover {
    background-color: var(--graylight2);
}
.table .row.success {
    background-color: var(--success) !important;
}
.table .row.success:hover {
    background-color: var(--success) !important;
}
.table .row.danger {
    background-color: var(--error) !important;
}
.table .row.danger:hover {
    background-color: var(--error) !important;
}

.hover-underline:hover {
    text-decoration: underline;
}

.item.not-read {
    border-left: 5px solid var(--bluedark);
    background: var(--graydark)
}

.tecla {
    border: 1px solid var(--graylight);
    padding: 5px 8px;
    margin: 0px 5px;
    border-radius: 5px;
}

@-webkit-keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
    100% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
}

@keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
    100% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
}

@-webkit-keyframes slide-from-right {
    0% { 
        width: 0px;
        opacity: 0;
    }
    100% { 
        width: 650px;
        max-width: 90vw;
        opacity: 1;
    }
}

@keyframes slide-from-right {
    0% { 
        width: 0px;
        opacity: 0;
    }
    100% { 
        width: 650px;
        max-width: 90vw;
        opacity: 1;
    }
}


.calendario {
    width: 100%;
    border: 1px solid var(--gray);
    border-radius: 10px;
    margin-bottom: 10px;

    & .header, & .dias {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(7, 1fr);

        & > div {
            padding: 5px;
        }
    }

    & .header {
        background-color: #28536b;
        color: var(--white);
        border-radius: 10px 10px 0 0;
    }

    & .dias > div {
        height: 60px;
        border-bottom: 1px solid var(--gray);
        border-right: 1px solid var(--gray);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;

        &:hover {
            background: var(--graylight4);
        }

        & > * {
            text-align: right;
            font-size: 0.7rem;
        }

        & .dia {
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            font-size: 1rem;

            & svg {
                font-size: 0.6rem;
            }
        }

        &.active {
            background: var(--graylight3);
            & .dia {
                font-weight: bold;

                &.tem-aniversario, &.tem-aniversario * {
                    color: #d96fd7;
                }

                &.tem-ferias, &.tem-ferias * {
                    color: var(--green) !important;
                }
            }
        }
    }
}