@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --color-black: #000;
    --color-green: #00863f;
    --color-green-apple: #7dbe1f;
    --color--orange: #ffbd03;
    /* --color--orange: #F5D268; */
    --color-white: #fff;
    --bs-card-bg: #2f4941 !important;
}

body {
    font-family: "Poppins" !important;
}

a:hover {
    color: #113723 !important;
}

.dark-style table.dataTable th,
.dark-style table.dataTable td {
    border-color: #ffffff !important;
}

#uploadedAvatar {
    object-fit: cover;
}

.validate-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #f70909;
}

.form-control {
    color: #6b7d6d;
    border: 1px solid var(--color-green-apple);
}

.form-control:focus {
    color: #6c7d6b;
    background-color: #fff;
    border-color: var(--color-green-apple) !important;
    outline: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(163, 174, 164, 0.3);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--color-green) !important;
    background-color: var(--color-green-apple) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #113723 !important;
    background-color: rgb(126 240 103 / 16%) !important;
}

.select2-results__option[role="option"][aria-selected="true"] {
    background-color: var(--color-green) !important;
    color: #fff;
}

.dt-buttons {
    margin-left: 1rem;
}

.dt-buttons.btn-group button {
    border-color: #28c76f !important;
}

.payment-img {
    height: 80px;
    width: 204px;
    object-fit: contain;
}

.title-categorie {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 1rem;
    line-height: 2rem;
    font-style: italic;
    color: #113723;
}

/* ====================================================
    *global project styles login
==================================================== */

.app-brand {
    align-items: center;
    align-content: center;
    justify-content: center;
}

.title-logym {
    /* font-family: 'Montserrat'!important; */
    font-family: "Poppins" !important;
    font-style: normal;
    font-weight: 700;
    font-size: 1.625rem;
    line-height: 24px;
    color: var(--color-green);
}

.menu-vertical .menu-item .menu-link {
    font-size: 0.9rem !important;
}

.strong-logym {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-size: 0.938rem;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--color-green);
}

.btn-logym {
    background-color: var(--color-green) !important;
}

.auth-illustration {
    height: 100%;
    max-height: 768px;
}

.authentication-wrapper.authentication-cover .authentication-inner .platform-bg {
    position: absolute;
    width: 100%;
    max-width: 67%;
    bottom: 0%;
    left: 0%;
    height: 35%;
}

.authentication-wrapper.authentication-cover .authentication-inner {
    height: 100vh !important;
    margin: auto 0;
}

.app-brand__logym-logo {
    max-width: 80px;

    & img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
}

/* ====================================================
    * style main
==================================================== */

.bg-menu-theme {
    background-color: var(--color-green) !important;
    color: #c9c8ce;
}

.app-brand-logo.demo {
    width: 50px;
    height: 80px;
    margin-left: -10px !important;
}

/* .app-brand-logo.demo img{
    background: #fff;
    border-radius: 10px;
} */

.light-style .menu .app-brand.demo {
    height: 80px;
}

@media (min-width: 1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand {
        width: 9.25rem !important;
    }

    /* .app-brand-logo.demo img{
        background: transparent;
        border-radius: 10px;
    } */
}

.cascading-right {
    background: hsla(0, 0%, 100%, 0.55);
    backdrop-filter: blur(30px);
}

.cascading-right {
    margin-right: -50px;
}

.img-bg {
    width: 100%;
    height: 585px;
    object-fit: cover;
    object-position: left;
}

@media (max-width: 991.98px) {
    .cascading-right {
        margin-right: 0;
    }
}

select[readonly]~.select2.select2-container .selection [role="combobox"] {
    background: #ededed;
    box-shadow: inset 0 0 0px 1px #77859133;
    pointer-events: none;
}

.form-control[readonly] {
    background: #ededed;
    box-shadow: inset 0 0 0px 1px #77859133;
}

/* .select2-container .select2-selection {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    pointer-events: none;
} */

/* gallery */

.drop-container {
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #113723;
    color: #444;
    cursor: pointer;
    transition: background 0.2s ease-in-out, border 0.2s ease-in-out;
}

.drop-container:hover {
    background: #eee;
    border-color: #113723;
}

.drop-container:hover .drop-title {
    color: #113723;
}

.drop-title {
    color: #7dbe1f;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: color 0.2s ease-in-out;
}

.input-preview__src {
    display: none;
}

.input-preview {
    border-radius: 4px;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    transition: ease-in-out 750ms;
}

.input-preview::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(50%);
    content: "Selecciona una imagen...";
    font-style: italic;
    font-size: 1em;
}

.has-image::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.5);
    content: " ";
    transition: ease-in-out 750ms;
}

.has-image::after {
    content: "Elige otro archivo...";
    color: white;
}

.has-image span {
    display: none;
}

.img-thumbnail-logym {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.offcanvas-footer {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.h6-graphic {
    font-size: 0.7rem;
}

.total-kcal {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}

/* *calendar */

/* .fc-event-title {
    display: flex;
    text-wrap: initial;
} */

.fc-h-event {
    background-color: #7dbe1f !important;
    color: #fff !important;
    border: 1px solid #c9c8ce;
}

.fc-day-past {
    background-color: #7f7b7b45;
    /* Cambia el color de fondo para los días pasados */
}

.light-style .fc table.fc-scrollgrid td {
    border-color: #b5b5b5 !important;
}

/*
@media (max-width: 575.98px) {
    .app-calendar-logym {
        padding: 0 !important;
    }

    .fc .fc-toolbar.fc-header-toolbar {
        display: grid;
        row-gap: 1rem;
        justify-content: center;
        align-items: center;
        justify-items: center;
        margin: 1rem 0;
    }

    .fc-theme-standard td {
        height: 70px;
    }
} */

.form-check-orange .form-check-input:checked {
    background-color: #ffbd03;
    border-color: #ffbd03;
}

.form-check-green .form-check-input:checked {
    background-color: #28c76f;
    border-color: #28c76f;
}

.form-check-blue .form-check-input:checked {
    background-color: #346cee;
    border-color: #346cee;
}

.light-style .fc-event-success:not(.fc-list-event) {
    background-color: #dff7e9 !important;
    color: #28c76f !important;
}

.microcycle-select {
    display: none;
}

.image-multiple {
    height: 150px;
    border: 2px dashed #113723;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.image-modal-training {
    width: 100% !important;
    height: 190px !important;
    object-fit: contain;
    background: #dee1e0;
}

.content-add-exercise {
    position: relative;

    & .btn-close {
        position: absolute;
        top: -1rem;

        background-color: #fff;
        border-radius: 0.375rem;
        opacity: 1;
        padding: 0.44rem;
        box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
        transition: all 0.23s ease 0.1s;
    }

    & .btn-close {
        right: -.7rem;
    }
}