:root {
    --negro-puro: #212121;
    --blanco-lienzo: #f0ede4;
    --blanco-humo: #f5f8fa;
    --blanco: #ffffff;
    --plomo-baltrek: #3a3a3a;

    --azul: #004ce9;
    --verde: #32834f;

    --textos: "Josefin Slab", serif;
    --titulos: "Montserrat", sans-serif;

    --sombra-normal: 0px 6px 10px 3px rgba(0, 0, 0, 0.1);
    --sombra-normal-azul: 0px 6px 10px 3px rgb(0, 76, 233, 0.1);
}

body {
    background-color: var(--blanco-humo);
    /* background-color: #f5f8fa; */
    font-family: var(--textos);
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--titulos);
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    font-size: 16px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;

    /* overflow: hidden; */

    /* border: 3px solid red; */
}

.container {
    display: flex;
    height: 100%;
    /* height: 500px; */
    width: 100%;
    /* border: 2px solid greenyellcontent_bodyow; */

    overflow: hidden;
}

/** ------ Login Page ------ */

.panel-left,
.panel-right {
    height: 100vh;
    width: 50vw;
}

.panel-left {
    background: var(--negro-puro);
    color: var(--blanco-humo);

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

.panel-left>h2,
.panel-left .logo,
p {
    margin: 0.5em;
}

.panel-left p {
    padding: 0.8em;
    text-align: center;
    font-size: 1.25rem;
}

.panel-right {
    background: var(--blanco-lienzo);
    color: var(--negro-puro);

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

.panel-right .form {
    width: 75%;
}

.form {
    background: var(--blanco);
    border-radius: 0.625rem;
    margin: 0.75em;
    padding: 0.5em;
    box-shadow: var(--sombra-normal);
}

.form h1,
h2,
h3,
h4 {
    margin-bottom: 0.5em;
    padding: 0.25em;
    text-align: center;
}

.form .form_control {
    display: flex;
    flex-direction: column;
    padding: 0.6em;
    position: relative;
}

.form_control label {
    font-family: var(--titulos);
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.125em;
}

.form_control input[type="text"],
.form_control input[type="password"],
.form_control input[type="email"] {
    font-family: var(--textos);
    font-size: 1.25em;
    border: none;
    border-bottom: 2px solid var(--verde);

    outline: none;
    padding: 0.5em 0;
}

.form_control input[type="password"] {
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
}

.form_control button {
    background: var(--verde);
    border: none;
    border-radius: 0.313em;
    color: var(--blanco);
    font-family: var(--titulos);
    font-weight: bold;
    font-size: 1.25em;
    padding: 0.625em;
    text-align: center;
    cursor: pointer;
}

.form_control button.btn-generar {
    background: var(--blanco);
    border: 2px solid var(--verde);
    color: var(--verde);
    font-size: 0.75em;
    cursor: pointer;

    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form_control .button-outline {
    border: 2px solid var(--verde);
    border-radius: 0.313em;
    color: var(--verde);
    font-family: var(--titulos);
    font-size: 1.25em;
    font-weight: 500;
    padding: 0.625em;
    text-align: center;
    text-decoration: none;
}

.form_control .errorMensaje {
    color: tomato;
    font-size: 1.25em;
    font-weight: 500;
}

/* .form_control input[type="checkbox"].switch { */
.form_control .switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.form_control .switch::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--blanco-humo);
    border-radius: 26px;
}

.form_control .switch::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #838383;
    border-radius: 24px;
    transition: background-color 0.4s ease-in-out, transform 0.3s ease-in-out;
}

.form_control .switch:checked::after {
    background-color: var(--verde);
    transform: translateX(26px);
}

/* *------ Header ------  */
header {
    background: var(--plomo-baltrek);
    color: var(--blanco);
    display: flex;
    font-family: var(--titulos);
    justify-content: space-between;
    align-items: center;
    height: 60px;
    /* width: 100%; */
    /* border: 1px solid red; */
}

header>* {
    display: flex;
    align-items: center;
}

header .header_logo,
header .header_user {
    margin: 0 0.625em;
}

.header_logo img {
    height: 60px;
}

.company_logo {
    border-radius: 50%;
}

.company_title {
    padding: 0 0.5em;
}

.header_user a {
    background: transparent;
    transition: background 0.2s ease-in;
}

.header_user a:hover {
    background: var(--blanco-lienzo);
}

.user_profile {
    display: flex;
    align-items: center;
    padding: 0 0.5em;
    border-right: 2px solid var(--blanco-humo);
}

.user_profile>img,
span {
    margin: 0 0.25em;
}

.user_profile>span {
    font-weight: 600;
}

header .user img {
    border-radius: 50%;
}

/* *------ Side Bar ------  */
/* Estilos para la barra lateral */
/* *########## */

.menu {
    /* flex: 1; */
    background-color: var(--blanco-lienzo);
    height: 100%;
    width: 200px;
}

.menu .menu_list li {
    border: 1px dashed #000;
    border-top: none;
    border-left: none;
}

.menu .menu_list li a {
    text-decoration: none;
    color: var(--negro-puro);
    font-family: var(--titulos);
    font-size: 1.125rem;
    display: block;
    padding: 1em 0.5em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu .menu_list li a:hover {
    background-color: var(--verde);
    color: var(--blanco);
}

/* *########## */

/* *------ Content ------  */
main.content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    /* border: 4px solid red; */
    width: 100%;
}

.content .content_options {
    background: var(--blanco-lienzo);
    box-shadow: 0px 8px 5px -5px rgba(0, 0, 0, 0.1);
    margin: auto 0;
    text-align: center;
}

.content_options .option {
    background: var(--blanco-humo);
    border: 1px solid #49a9f4;
    display: inline-block;
    margin: 0.625em;
    padding: 0.3em;
}

.option a {
    background: var(--blanco-humo);
    color: var(--azul);
    font-family: var(--titulos);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 5.1em;
    width: 5.1em;
    text-align: center;
    text-decoration: none;
}

.option a>img {
    height: 2.5em;
    width: 2.5em;
}

.option a>span {
    font-size: 0.75em;
}

.content .content_title {
    padding: 0.5em;
    text-align: left;
    color: var(--negro-puro);
    margin: 0;
    /* height: 50px; */
}

.content .content_body {

    /* flex: 1; */

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    /* height: 100%; */
    /* width: 100%; */

    padding: 1em;
    /* border: 1px solid blueviolet; */
    /* text-align: center; */
    /* overflow: scroll; */
}

.content_body div {
    /* flex: 1; */
    /* border: 1px solid red; */
    padding: .5em;
}

.content_body .btn_report {
    cursor: pointer;
}

.content_body div h6 {
    display: inline-block;
}

.flex-column {
    flex-direction: column;
}

.content_body .form {

    width: 50%;
}


.content_body .company {
    border: 2px solid var(--verde);
    border-radius: 1em;
    display: inline-block;
    height: 10em;
    width: 9em;
    margin: 0.625em;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--sombra-normal);
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.company:hover {
    box-shadow: var(--sombra-normal-azul);
    border-color: var(--azul);
}

.company>a {
    color: var(--negro-puro);
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.company_img {
    height: 70%;
    width: 100%;
    overflow: hidden;
}

.company_img img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.company_description {
    background: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 30%;
    width: 100%;
}

.company_description span {
    font-family: var(--titulos);
    font-weight: 600;
    font-size: 0.9em;
    margin: 0.2em;
}

.content_body>.report-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;

    /* border: 2px solid red; */
    /* padding: 1.5em; */
    padding: .3em;
    margin: .3em;
}

.content_panel {
    /* border: 2px solid red; */
    position: absolute;
    background: #fff;

    height: 100%;
    width: 0;

    right: 0;
    top: 0;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);

    overflow: scroll;
    transition: width 0.3s ease-in-out;
}

.content_panel.open {
    width: 50%;
}

.content_report {
    /* border: 2px solid red; */
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;

    width: 0;
    height: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.4s ease-out, height 0.2s ease-in-out;
}

.content_report button {
    cursor: pointer;
}

.content_report.open {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in;
}

.report_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0.625rem;
    padding: 0.325rem;
    margin: 0.325rem;
    transition: border 0.3s ease-in-out, transform 0.3s ease-in-out, font-weight 0.4s ease-in-out, background 0.3s ease-in-out;
}

.report_item:hover {
    background: var(--blanco);
    border: 1px solid var(--verde);
    box-shadow: var(--sombra-normal);
    font-weight: bold;
    transform: scale(1.01);
}

.report_item p {
    text-align: left;
    width: 100%;
    font-size: 1.22rem;
    margin: 0;
}

.report_item p:last-child {
    text-align: right;
}

.report_item p:last-child i:hover {
    color: var(--verde);
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;
}

.report {
    width: 100%;
    height: 100%;
    border-radius: 0.625rem;
    overflow: hidden;
}

button.quitarReporteColaborador {
    background: none;
    color: var(--verde);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: none;
}

/* *------ Spinner (Cargando) ------  */
.spinner {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(farthest-side, #328551 94%, #0000) top/9px 9px no-repeat,
        conic-gradient(#0000 30%, #328551);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
    animation: spinner-c7wet2 0.8s infinite linear;
}

@keyframes spinner-c7wet2 {
    100% {
        transform: rotate(1turn);
    }
}