
@font-face {
    font-family: 'Questrial';
    font-style: normal;
    font-weight: 300;
    src: local('Questrial Regular'), local('Questrial-Regular'), url('Questrial/Questrial_regular.ttf') format('truetype');
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    font-size: 14px;
    font-family: 'Questrial', sans-serif;
    position: relative;
    min-height: 100%;
}

body {
    /**margin-bottom: 60px;*/
    margin: 0;
    margin-bottom: 20px;
    background-color: #f5f7fb;
    color: #1f2937;
}

.container-xl {
    max-width: 1280px;
}

.navbar {
    backdrop-filter: blur(8px);
}

.navbar-brand {
    letter-spacing: 0.4px;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h4,
.page-header h2 {
    margin: 0;
    font-weight: 600;
    color: #111827;
}

.page-header__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
}

.page-header__description {
    margin: 0.35rem 0 0;
    color: #6b7280;
}

.page-header__actions {
    flex-shrink: 0;
    margin-left: auto;
}

.page-header__back {
    min-width: 140px;
}

@media (max-width: 767.98px) {
    .page-header__actions {
        width: 100%;
    }

    .page-header__back {
        width: 100%;
    }
}

.card-surface {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card-surface .card-body {
    padding: 1.5rem;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table tbody td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-outline-secondary {
    border-color: #cbd5f5;
    color: #475569;
}

.form-control,
.form-select {
    border-radius: 10px;
    border-color: #e2e8f0;
    padding: 0.55rem 0.75rem;
}

.form-control.is-valid,
.form-select.is-valid,
textarea.is-valid {
    border-color: #198754;
}

.form-control.is-invalid,
.form-select.is-invalid,
textarea.is-invalid {
    border-color: #dc3545;
}

.required-label::after {
    content: " *";
    color: #dc3545;
    margin-left: 0.15rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.2);
}

.form-label {
    font-weight: 500;
    color: #475569;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.6rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px;
    padding: 0.3rem 0.65rem;
    margin: 0 0.15rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

.select2-container .select2-selection--single {
    height: 42px;
    border-radius: 10px;
    border-color: #e2e8f0;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

.select2-dropdown {
    border-radius: 12px;
    border-color: #e2e8f0;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.flatpickr-input {
    background-color: #fff;
}

.footer {
    background-color: #ffffff;
}

.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f7fb;
}

.auth-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}

.auth-shell__inner {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-shell--split .auth-shell__inner {
    max-width: 1180px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: space-between;
}

.auth-split__banner {
    flex: 1 1 55%;
    min-height: 560px;
    border-radius: 18px 0 0 18px;
    overflow: hidden;
    position: relative;
}

.auth-banner {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("/img/home-banner-principal.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.auth-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.auth-banner__content {
    position: relative;
    padding: 2.5rem;
    max-width: 360px;
}

.auth-banner__text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.35;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    border: none;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.auth-shell--split .auth-card {
    flex: 0 0 520px;
    max-width: 520px;
}

.auth-card--accent {
    border-left: 8px solid #0d6efd;
    border-radius: 0 18px 18px 0;
}

.auth-card__body {
    padding: 2.5rem;
}

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.auth-logo-primary {
    height: 96px;
    max-width: 100%;
    width: auto;
}

.auth-logo-secondary {
    height: 54px;
    max-width: 100%;
    width: auto;
    opacity: 0.88;
}

.auth-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-footer {
    padding: 0.75rem 0 1.5rem;
}

.auth-footer a {
    color: inherit;
}

.auth-footer a:hover {
    color: #0d6efd;
}

.login-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
}

.login-card {
    border: none;
}

.login-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-card__logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-card__logo-primary {
    height: 56px;
    width: auto;
}

.login-card__logo-secondary {
    height: 36px;
    width: auto;
}

.login-card__title h1 {
    color: #0f172a;
    font-weight: 600;
}

.login-card__title p {
    font-size: 0.95rem;
}

.login-card__divider {
    margin: 1.5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.login-card__validation {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-card__validation:empty {
    display: none;
}

.login-card__submit {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.login-card__links {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: #64748b;
}

.login-card__links a {
    color: #2563eb;
    text-decoration: none;
}

.login-card__links a:hover {
    text-decoration: underline;
}

@media (min-width: 576px) {
    .auth-logos {
        justify-content: flex-start;
    }

    .auth-title {
        text-align: left;
    }

    .login-card__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .login-card__submit {
        width: auto;
    }
}

@media (max-width: 575.98px) {
    .auth-shell {
        padding: 1.5rem 1rem;
    }

    .auth-shell__inner {
        flex-direction: column;
    }

    .auth-card__body {
        padding: 1.75rem;
    }

    .login-page {
        padding: 1.5rem 0;
    }

    .login-card__logos {
        justify-content: center;
    }

    .login-card__title {
        text-align: center;
    }

    .auth-logos {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .auth-logo-primary {
        height: 84px;
    }

    .auth-logo-secondary {
        height: 48px;
    }
}

@media (max-width: 991.98px) {
    .auth-shell--split .auth-shell__inner {
        flex-direction: column;
        gap: 0;
    }

    .auth-split__banner {
        display: none;
    }

    .auth-card--accent {
        border-left: none;
        border-radius: 18px;
    }
}



/* highlightTyped use mark */
:root {
    --close-button: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.984 6.422 13.406 12l5.578 5.578-1.406 1.406L12 13.406l-5.578 5.578-1.406-1.406L10.594 12 5.016 6.422l1.406-1.406L12 10.594l5.578-5.578z'/%3E%3C/svg%3E");
    --loupe-icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23929292' d='M16.041 15.856a.995.995 0 0 0-.186.186A6.97 6.97 0 0 1 11 18c-1.933 0-3.682-.782-4.95-2.05S4 12.933 4 11s.782-3.682 2.05-4.95S9.067 4 11 4s3.682.782 4.95 2.05S18 9.067 18 11a6.971 6.971 0 0 1-1.959 4.856zm5.666 4.437-3.675-3.675A8.967 8.967 0 0 0 20 11c0-2.485-1.008-4.736-2.636-6.364S13.485 2 11 2 6.264 3.008 4.636 4.636 2 8.515 2 11s1.008 4.736 2.636 6.364S8.515 20 11 20a8.967 8.967 0 0 0 5.618-1.968l3.675 3.675a.999.999 0 1 0 1.414-1.414z'/%3E%3C/svg%3E")
}

.auto-search-wrapper {
    display: block;
    position: relative;
    width: 100%
}

    .auto-search-wrapper input {
        border: 1px solid #d7d7d7;
        box-shadow: none;
        box-sizing: border-box;
        font-size: 16px;
        padding: 12px 45px 12px 10px;
        width: 100%
    }

        .auto-search-wrapper input:focus {
            border: 1px solid #858585;
            outline: none
        }

        .auto-search-wrapper input::-ms-clear {
            display: none
        }

    .auto-search-wrapper ul {
        list-style: none;
        margin: 0;
        overflow: auto;
        padding: 0
    }

        .auto-search-wrapper ul li {
            cursor: pointer;
            margin: 0;
            overflow: hidden;
            padding: 10px;
            position: relative
        }

            .auto-search-wrapper ul li:not(:last-child) {
                border-top: none
            }

            .auto-search-wrapper ul li[disabled] {
                background: #ececec;
                opacity: .5;
                pointer-events: none
            }

    .auto-search-wrapper .auto-expanded {
        border: 1px solid #858585;
        outline: none
    }

    .auto-search-wrapper.loupe:before {
        filter: invert(60%)
    }

.auto-is-loading:after {
    animation: auto-spinner .6s linear infinite;
    border-color: #d9d9d9 grey grey #d9d9d9;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    bottom: 0;
    box-sizing: border-box;
    content: "";
    height: 20px;
    margin: auto;
    position: absolute;
    right: 10px;
    top: 0;
    width: 20px
}

.auto-is-loading .auto-clear {
    display: none
}

@keyframes auto-spinner {
    to {
        transform: rotate(1turn)
    }
}

li.loupe:before {
    bottom: auto;
    top: 15px
}

.loupe input {
    padding: 12px 45px 12px 35px
}

.loupe:before {
    background-image: var(--loupe-icon);
    bottom: 0;
    content: "";
    height: 17px;
    left: 10px;
    margin: auto;
    position: absolute;
    top: 0;
    width: 17px
}

.auto-selected:before {
    opacity: 1
}

.auto-clear {
    align-items: center;
    background-color: transparent;
    border: none;
    bottom: 0;
    cursor: pointer;
    display: flex;
    height: auto;
    justify-content: center;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px
}

    .auto-clear:before {
        content: var(--close-button);
        height: 24px;
        line-height: 100%;
        width: 24px
    }

    .auto-clear span {
        display: none
    }

.auto-results-wrapper {
    background-color: #fff;
    border: 1px solid #858585;
    border-top: none;
    box-sizing: border-box;
    display: none;
    overflow: hidden
}

    .auto-results-wrapper ul > .loupe {
        padding-left: 40px
    }

    .auto-results-wrapper.auto-is-active {
        display: block;
        margin-top: -1px;
        position: absolute;
        width: 100%;
        z-index: 99999
    }

.auto-selected {
    background-color: #e6e6e6
}

    .auto-selected + li:before {
        border-top: none
    }

.auto-error {
    border: 1px solid #ff3838
}

    .auto-error::-moz-placeholder {
        color: #f66;
        opacity: 1
    }

    .auto-error::placeholder {
        color: #f66;
        opacity: 1
    }

.hidden {
    display: none
}

hr.colored {
    border-color: #ff9800;
    border-width: 3px; /* Grosor */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}

.titulo {
    color: #ff9800;
}
/* Breadcrum */
.toolbar {
    background: linear-gradient(to right, #ff9800, #fff); /* Degradado de azul a naranja */
    box-shadow: 0 2px 4px rgba(255, 165, 0, 0.2), 0 4px 8px rgba(255, 165, 0, 0.1); /* Sombra con tonos de naranja */
    transition: box-shadow 0.3s ease; /* Transición suave para el efecto de sombra */
    border-radius: 10px; /* Puntas redondeadas */
}

    .toolbar:hover {
        box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3), 0 8px 16px rgba(255, 165, 0, 0.2);
        /* Sombra más pronunciada al pasar el mouse */
    }

.toolbar-content {
    color: #fff;
    /* Texto blanco */
    padding: 10px;
}

.btn-toolbar {
    color: #fff !important;
    /* Texto blanco */
}

.home-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 60%, #f1f5f9 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.home-hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.home-hero__title {
    font-size: clamp(2rem, 2.6vw, 2.6rem);
    font-weight: 700;
    color: #0f172a;
}

.home-hero__subtitle {
    font-size: 1.05rem;
    color: #475569;
}

.home-actions {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.home-actions__label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.home-actions .btn-primary {
    font-weight: 600;
    padding: 0.85rem 1rem;
}

.home-actions .btn-outline-secondary {
    border-color: #cbd5f5;
    color: #475569;
}

.home-coverage__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    height: 100%;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #1f2937;
    font-weight: 500;
}

.home-coverage__item i {
    color: #2563eb;
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    .home-actions {
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    }
}
