:root {
    --primary-color: #53A6F9;
    --primary-hover: #62b0ff;
    --secondary-color: #FF7484;
    --tartiary-color: #FF6F6F;
    --fourth-color: #EA9DBF;
    --alternate-color: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F6F8;
    --pagination-bg: #F3F2F7;
    --bg-tartiary : #EEEEEE;
    --text-color: #1E1E1E;
    --text-secondary: #303A44;
    --text-alternate: #FFFFFF;
    --text-black: #000000;
    --text-dark: #121212;
    --text-light-dark: #484848;
    --text-grey: #8E8E8E;
    --text-secondary-grey: #8B8B8B;
    --text-light-grey: #9C9C9C;
    --card-background: #E6EBF3;
    --calendar-color: #009688;
    --custom-calendar-color: #2F3C4E;
    --event-calendar-color: #190441;
    --custom-calendar-hover: #2f3c4e86;
    --custom-calendar: #516f85;
    --calendar-bg: #DDEEFF;
    --border-color: #C9C9C9;
    --border-color-second: #CBCBCB;
    --border-alternate: #000000;
    --special-bg: rgba(83, 166, 249, 0.24);
    --box-shadow-inset-color: rgba(0, 0, 0, 0.12);
    --box-shadow-color: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --drop-box-shadow: 0px 0px 24px -2px rgba(0, 0, 0, 0.25);
    --overlay-color: rgba(0, 0, 0, 0.6);
    --popup-overlay: rgba(62, 66, 77, 0.75);
    --fc-today-bg-color: transparent !important;
    --fc-border-color: #f2f5f7 !important;
    --fc-button-text-color: #1E1E1E !important;
    --fc-button-active-border-color: #f2f5f7 !important;
    --fc-button-active-bg-color: #f2f5f7 !important;
    --fc-button-border-color: #E6EBF3 !important;
    --fc-button-bg-color: #E6EBF3 !important;
    --fc-button-hover-border-color: #f2f5f7 !important;
    --fc-button-hover-bg-color: #f2f5f7 !important;
}


html {
    font-size: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    max-width: 100%;
    overflow-x: hidden;
}

a,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    text-decoration: none;
    display: flex;
    align-items: center;
}

span {
    cursor: pointer;
}

::selection {
    background-color: var(--primary-color);
    color: var(--text-alternate);
}

body.scrolling {
    overflow-y: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    text-decoration: none;
    display: flex;
    align-items: center;
}

*[tooltip-title]:hover::after {
    content: attr(tooltip-title);
    position: absolute;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--card-background);
    color: var(--text-color);
}

ul,
li,
ol{
    list-style: none;
    padding-left: 0px;
    margin-bottom: 0rem;
}

p {
    margin-bottom: 0rem;
}

.headbar {
    background-color: var(--primary-color);
    color: var(--text-alternate);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    border-radius: 25px 25px 0px 0px;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;  
    padding: 5px 22px;
}

body::-webkit-scrollbar,
.fc-scroller::-webkit-scrollbar,
.times::-webkit-scrollbar,
.appointments-details::-webkit-scrollbar,
.srollOption::-webkit-scrollbar,
.cuenta::-webkit-scrollbar
{
    width: 5px;
}

/* Track */
body::-webkit-scrollbar-track,
.fc-scroller::-webkit-scrollbar-track,
#calendar::-webkit-scrollbar-track,
.cuenta::-webkit-scrollbar-track,
.srollOption::-webkit-scrollbar-track,
.appointments-details::-webkit-scrollbar-track
{
    box-shadow: inset 0 0 5px var(--primary-color);
    border-radius: 5px;
}

/* Handle */
body::-webkit-scrollbar-thumb, 
.fc-scroller::-webkit-scrollbar-thumb,
#calendar::-webkit-scrollbar-thumb,
.cuenta::-webkit-scrollbar-thumb,
.srollOption::-webkit-scrollbar-thumb,
.appointments-details::-webkit-scrollbar-thumb
{
    background: var(--primary-color);
    border-radius: 5px;
}

/* Handle on hover */
body::-webkit-scrollbar-thumb:hover,
.fc-scroller::-webkit-scrollbar-thumb:hover,
#calendar::-webkit-scrollbar-thumb:hover,
.cuenta::-webkit-scrollbar-thumb:hover,
.srollOption::-webkit-scrollbar-thumb:hover,
.appointments-details::-webkit-scrollbar-thumb:hover
{
    background: #53a6f9d5;
}

.times::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--custom-calendar-hover);
    border-radius: 5px;
}
.times::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--custom-calendar-color);
}
.times::-webkit-scrollbar-thumb:hover {
    background: var(--custom-calendar-hover);
    border-radius: 5px;
}

button.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 9px 29px;
    margin: 5px;
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    transition: all 0.3s ease;
}

button.brand.submit {
    background-color: var(--primary-color);
    color: var(--text-alternate);
}
button.brand.submit:hover {
    background: none;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
button.brand.cancel {
    background: none;
    color: var(--primary-color);
    border-width: 0px;
}
button.brand.cancel:hover {
    background: var(--primary-color);
    color: var(--text-alternate);
}
button.brand.delete {
    background-color: var(--tartiary-color);
    color: var(--text-alternate);
}
button.brand.delete:hover {
    background: none;
    color: var(--tartiary-color);
    border-color: var(--tartiary-color);
}
button.brand.secondary {
    background-color: var(--secondary-color);
    color: var(--text-alternate);
}
button.brand.secondary:hover {
    background: none;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
button.brand.confirmar {
    background-color: var(--calendar-color) !important;
    color: var(--text-alternate) !important;
}
#calendar a {
    color: var(--text-color);
}