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

/* variables */
:root {
    /* fonts */
    --font: "Poppins", sans-serif;

    --fs16: 16px;
    --fs-1: 1.563rem;
    --fs-2: 1.5rem;
    --fs-3: 1.25rem;
    --fs-4: 1.078rem;
    --fs-5: 1rem;
    --fs-6: 0.938rem;
    --fs-7: 0.875rem;
    --fs-8: 0.844rem;
    --fs-9: 0.813rem;
    --fs-10: 0.769rem;

    --line-height: 22px;

    --fw500: 500;
    --fw600: 600;

    /* colors */
    --color-scheme: light dark;
    --indigo-light: #646cff;
    --indigo: #535bf2;
    --white: rgba(255, 255, 255, 0.87);
    --imperial-red_12: hsla(357, 86%, 57%, 0.12);
    --pacific-blue_12: hsla(188, 78%, 41%, 0.12);
    --davys-gray_12: hsla(210, 9%, 31%, 0.12);
    --imperial-red: hsl(357, 86%, 57%);
    --sonic-sliver: hsl(0, 0%, 47%);
    --pacific-blue: hsl(188, 78%, 41%);
    --blue-ryb_12: hsla(220, 100%, 50%, 0.12);
    --space-cadet: hsl(220, 41%, 20%);
    --eerie-black: hsl(214, 10%, 13%);
    --davys-gray: hsl(210, 9%, 31%);
    --emerald_12: hsla(144, 62%, 53%, 0.12);
    --cool-gray: hsl(225, 11%, 59%);
    --cultured: hsl(225, 20%, 96%);
    --blue-ryb: hsl(220, 100%, 50%);
    --black_08: hsla(0, 0%, 0%, 0.06);
    --black_12: hsla(0, 0%, 0%, 0.12);
    --coral_12: hsla(15, 100%, 65%, 0.12);
    --sunglow: hsl(44, 100%, 61%);
    --emerald: hsl(144, 62%, 53%);
    --onyx-2: hsl(210, 10%, 23%);
    --coral: hsl(15, 100%, 65%);
    --white: hsl(0, 0%, 100%);
    --onyx: hsl(207, 8%, 21%);

    /* backgrounds */
    --bg-dark: #242424;
    --bg-light-white: #eee;

    /* transitions */
    --transition: 0.25s ease;
    --cubic-out: cubic-bezier(0.45, 0.85, 0.5, 1);
    --cubic-in: cubic-bezier(0.5, 0, 0.5, 0.95);

    /* radius */
    --radius-6: 6px;
    --radius-8: 8px;

    /* shadows */
    --shadow-1: 0 12px, 20px hsla(210, 10%, 23%, 0, 07);
    --shadow-2: 0 2px, 10px hsla(0, 0%, 0%, 0, 04);
    --shadow-3: 0 2px, 20px var(--black_08);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

/* styles base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none !important;
}

a {
    font-weight: 500;
    color: var(--indigo-light);
}

a:hover {
    color: var(--indigo);
}

a,
img,
span,
data,
time,
input,
button,
span.icon {
    display: block;
}

html {
    font-family: var(--font) !important;
    scroll-behavior: smooth;
}

/* styles reused */
.mx-4 {
    margin-left: 4px;
    margin-right: 4px;
}
.container-header {
    padding-inline: 15px;
    width: 100%;
}

.icon {
    font-size: 18px;
    font-weight: var(--fw600) !important;
}
.subicon {
    font-size: 16px;
    font-weight: var(--fw600) !important;
}

.h2,
.h3 {
    color: var(--onyx-2);
    font-weight: var(--fw-600);
}

.h2 {
    font-size: var(--fs-3);
}
.img-fluid {
    width: 100% !important;
    height: 300px !important;
    object-fit: unset !important;
}

body {
    font-family: var(--font);
    padding-block-start: 72px;
    margin: 0;
    place-items: center;
    min-height: 100vh;
    /* background: var(--bg-light-white); */
    background: rgb(223, 231, 236);
    background: linear-gradient(
        157deg,
        rgba(223, 231, 236, 1) 1%,
        rgba(114, 136, 167, 1) 7%,
        rgba(223, 231, 236, 1) 48%,
        rgba(114, 136, 167, 1) 79%
    );
    background-repeat: repeat;
    background-size: cover;
    object-fit: cover;
    /* color: #636b6f; */
    /* background-color: #9dd19c; */
}

h1 {
    font-family: var(--font);
    font-size: 3.2em !important;
    line-height: 1.1 !important;
}

button {
    border-radius: var(--radius-8);
    border: none !important;
    padding: 0.6em 1.2em;
    text-align: left;
    font: inherit;
    font-family: var(--font) !important;
    background: none;
    cursor: pointer;
    transition: border-color 0.25s;
}

button:hover {
    border-color: #646cff;
}

:focus-visible {
    outline: 2px solid var(--onyx);
    outline-offset: 1px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(0, 0%, 70%);
}

.header {
    position: fixed;
    display: block;
    height: 70px;
    background-color: var(--bg-light-white);
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 10px;
    overflow: hidden;
    transition: 0.3s var(--cubic-in);
    /* box-shadow: 0 0 1px 2px var(--bg-light-white); */
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2) !important;
    z-index: 1;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    width: 60px;
    height: 100vh;
    padding-block: 20px;
    background-color: var(--bg-light-white);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s var(--cubic-in);
    z-index: 993;
    padding-top: 4px;
    padding-bottom: 4px;
}

.sidebar > .container-header {
    padding-inline: initial;
    height: 100%;
}

.sidebar:hover {
    width: 270px;
    transition: all 0.3s var(--cubic-in);
}
.sidebar:hover ~ .link-text {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s var(--cubic-in);
}

.header.active {
    /* height: auto; */
    transition: 0.5s var(--cubic-out);
}

.header > .container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle-btn {
    display: none;
}

.logo {
    font-size: 20px;
    font-weight: var(--fw-600);
    font-family: var(--font);
    color: var(--space-cadet);
    width: 100%;
    margin-top: 15px;
    margin-inline: 10px;
    margin-bottom: 15px;
}

.menu-toggle-btn {
    border: none;
}
.menu-toggle-btn .icon {
    font-size: 28px;
}

.header.active .sidebar {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: 0.5s var(--cubic-out);
}

.dropdown {
    width: auto !important;
    height: auto !important;
}

.navbar-list {
    padding-inline: 11px;
}
.navbar-list li {
    margin-inline: initial;
    padding-inline: initial;
}

.navbar-link {
    color: var(--onyx);
    font-size: var(--fs-3);
    font-weight: var(--fw500);
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 10px;
    border-radius: var(--radius-6);
}

:is(.navbar-link, .notification, .header-profile):is(:hover, :focus) {
    background: var(--black_08);
}
.navbar-link.active {
    color: var(--blue-ryb);
}

:is(.dropdown):is(:hover, :focus) {
    display: block;
    border: none;
}
.open > .dropdown-menu {
    display: block;
    border: none;
}
ul li.dropdown:hover ul.dropdown-menu {
    display: block;
    border: none !important;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    left: 50px;
    top: 32px !important;
    background: #eee;
}
ul.dropdown-menu li:hover {
    background: var(--black_08) !important;
}

.user-action-list {
    position: relative;
    bottom: 0;
    padding: 15px;
    display: block;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    overflow: hidden;
    padding-top: 4px;
    padding-bottom: 4px;
}

.notification {
    display: flex;
    gap: 10px;
    color: var(--onyx);
    padding: 10px;
    /* padding-left: 15px; */
    font-size: var(--fs-3);
    font-family: var(--font);
    align-items: center;
    border-radius: var(--radius-6);
    overflow: hidden;
}

.header-profile {
    display: flex;
    /* justify-content: space-between; */
    gap: 36px;
    padding: 10px;
    padding-right: 15px;
    align-items: center;
    border-radius: var(--radius-6);
}

.profile-avatar {
    overflow: hidden;
    border-radius: var(--radius-6);
}

.header :is(.profile-title, .profile-subtitle) {
    font-size: var(--fs-3);
}

.header .profile-title {
    color: var(--onyx);
    font-weight: var(--fw-600);
    font-family: var(--font);
    margin-bottom: 2px;
    overflow: hidden;
}

.header .profile-subtitle {
    color: var(--cool-gray);
    font-weight: var(--fw500);
    font-family: var(--font);
}

.header.active ~ .main-content {
    position: relative;
    top: 0px;
    left: 270px;
    max-width: calc(100% - 270px);
    /* height: 100vh;
    width: 100%; */
    /* margin-bottom: 10px; */
}

.header.active ~ .sidebar {
    width: 270px;
}

.main-content {
    position: relative;
    top: 0px;
    left: 0px;
    /* height: 100vh; */
    width: 100%;
    margin-left: 30px;
    /* margin-bottom: 10px; */
}

.navbar-default {
    background-color: #7cc378;
    border-color: #12711e;
}

.login-card {
    display: block;
    background-color: var(--bg-light-white);
    border-radius: 30px !important;
    border: none;
    padding: 15px 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.panel {
    display: block;
    border-radius: 8px;
    border: none;
    padding: 15px 10px;
    /* box-shadow: 0 0 1px 2px var(--bg-light-white); */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    width: 60vw !important;
    max-width: 1000px !important;
}
.panel-heading {
    padding-inline: 10px;
    background-color: var(--bg-light-white) !important;
    border: none;
}
.panel-body {
    padding: 15px;
}
.panel-default {
    border-color: var(--bg-light-white);
    width: 60vw !important;
    max-width: 1000px !important;
}

hr {
    /* margin-top: 22px; */
    /* margin-bottom: 22px; */
    border: 0;
    border-top: 1px solid rgb(210, 216, 223);
}

.turUrgencia {
    background: #cc0c0c61;
}

.turNormal {
    background: #7ecbf7;
}

.turAtendido {
    background: #7cc378;
}

.turCancelado {
    background: gainsboro;
}

/*ESTILOS PERSONALIZADOS PARA EL PLUGIN DE SELECT2*/
.select2-container .select2-selection--single {
    width: 100%;
    height: 36px;
    padding: 6px 12px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccd0d2;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #444;
    line-height: 21px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 34px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

div.dt-buttons {
    position: relative;
    float: left;
    margin-inline: 10px;
    width: 100%;
    font-size: 12px;
    margin-top: 10px;
}
button.dt-button {
    border-radius: 4px !important;
    background-color: var(--bg-light-white) !important;
    background-image: linear-gradient(
        to bottom,
        var(--bg-light-white) 0%,
        #eee 100%
    ) !important;
}

.colors {
    display: flex;
    padding-inline: 15px;
}
.colors span {
    padding: 10px;
    margin-left: 10px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    cursor: pointer;
}
.colors .color1 {
    background: #319969;
}
.colors .color2 {
    background: #f021b2;
}
.colors .color3 {
    background: #1854b4;
}
.colors .color4 {
    background: #fa5b0f;
}

/* fullcalendar */
.fc-prev-button,
.fc-next-button,
.fc-today-button {
    background-color: #2579a9 !important;
}
:is(.fc-prev-button, .fc-next-button, .fc-today-button):hover {
    background-color: #1854b4 !important;
}
.fc-slats td {
    height: 50px !important;
}
.fc-slats .fc-axis.fc-time {
    width: 50px !important;
    text-align: center !important;
}
.fc-time-grid .fc-slats td {
    height: 50px !important;
}
.fc-time-grid-event {
    height: fit-content !important;
}
.fc-time-grid .fc-event,
.fc-time-grid .fc-bgevent {
    height: 28px !important;
}
.fc-time-grid .fc-event,
.fc-time-grid .fc-bgevent {
    margin: 2px !important;
}

@media (max-width: 412px) {
    .main-content {
        right: 0;
        margin-left: 30px;
        margin-right: 0px;
    }
}
