﻿/*================================================================*/
/* DuedlyBlazorSpa\wwwroot\css\duedly.css */
/*================================================================*/

@import url('ia-chat.css');
@import url('workflow.css');

:root {
    --dl-primary: #c01847;
    --dl-secondary: #1b6d85;
    --dl-success: #198754;
    --dl-danger: #dc3545;
    --dl-warning: #ffc107;
    --dl-info: #0d6efd;
    --dl-light: #f8f9fa;
    --dl-dark: #343a40;
    --dl-white: #ffffff;
    --dl-purple: #6f42c1;
    --dl-blue-accent: #007bff;
    --dl-lightgray: #8e9ead;
    --dl-font-family: Helvetica, Arial, sans-serif !important;

    /*--dl-primary: #A82443;*/
    --dl-primary-hover: #8D1B36;
    --dl-bg: #F8F9FA;
    --dl-card-bg: #FFFFFF;
    --dl-text-primary: #2B2D42;
    --dl-text-muted: #6C757D;
    --dl-border: #E9ECEF;
    --dl-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    /*font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    text-decoration: none;*/
}

body {
    background: transparent;
    font-family: var(--dl-font-family) !important;
}

.select-nodrop {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}

.dl-btn {
    color: var(--dl-white);
    background-color: var(--dl-primary);
}

    .dl-btn:hover {
        color: var(--dl-primary);
        background-color: var(--dl-white);
    }

.btn-mudbutton {
    color: var(--dl-primary) !important;
    background-color: var(--dl-white) !important;
    border: 1px solid;
    border-color: var(--dl-primary) !important;
    border-radius: 3px;
    text-transform: none;
}

.btn-mudbtn {
    color: var(--dl-white) !important;
    background-color: var(--dl-primary) !important;
    text-transform: none;
}

.ms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}

.ms-icon {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

.menu-items {
    z-index: 1000;
    padding: 10px;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 1200px) {
    .menu-items {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}


.category-card {
    width: 100%;
}

    .category-card:hover {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    .category-card .category-header {
        background-color: var(--dl-primary);
        color: var(--dl-white);
        padding: .5rem .5rem;
    }

    .category-card .category-content {
        padding: .5rem .5rem;
    }

/* Control de tamaño de columnas en mudgrid para botones */

.dl-gac-1 {
    width: 2rem;
}

.dl-gac-2 {
    width: 7rem;
}

.dl-gac-3 {
    width: 9rem;
}

.dl-gac-4 {
    width: 11rem;
}

.dl-gac-5 {
    width: 13rem;
}

.dl-gac-6 {
    width: 15rem;
}

[class*="dl-gac"] {
    text-align: right;
}

/* ------------------------------------------------------ */

/* timeline 2 */
ul.timeline-vertical {
    list-style-type: none;
    position: relative;
}

    ul.timeline-vertical:before {
        content: " ";
        background: #d4d9df;
        display: inline-block;
        position: absolute;
        left: 29px;
        width: 2px;
        height: 100%;
        z-index: 400;
    }

    ul.timeline-vertical > li {
        margin: 15px 0;
        padding-left: 35px;
    }

        ul.timeline-vertical > li:before {
            content: " ";
            background: white;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 3px solid #22c0e8;
            left: 20px;
            width: 20px;
            height: 20px;
            z-index: 400;
        }

/* ----------------------------------------------------- */

/* timeline alt */

.timeline-container {
    max-height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
}

.timeline-alt {
    border-left: 3px solid #727cf5;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(114, 124, 245, 0.09);
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 15px;
    list-style: none;
    text-align: left;
    max-width: 100%;
}

@media (max-width: 767px) {
    .timeline-alt {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline-alt h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline-alt h2,
.timeline-alt h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-alt .event {
    position: relative;
    padding: 18px 0 0 0;
}

    .timeline-alt .event.finished {
        color: var(--dl-success);
    }

    .timeline-alt .event.in-progress {
        color: var(--dl-info);
    }

    .timeline-alt .event.pending {
        color: var(--dl-warning);
    }

    .timeline-alt .event.discard {
        color: var(--dl-lightgray);
    }

    .timeline-alt .event.finished,
    .timeline-alt .event.in-progress,
    .timeline-alt .event.pending,
    .timeline-alt .event.discard {
        font-weight: 700;
    }

@media (max-width: 767px) {
    .timeline-alt .event {
        position: relative;
        padding: 18px 0 0 0;
    }
}

.timeline-alt .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline-alt .event:before,
.timeline-alt .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline-alt .event:before {
    content: attr(data-date);
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline-alt .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline-alt .event:after {
    -webkit-box-shadow: 0 0 0 3px #727cf5;
    box-shadow: 0 0 0 3px #727cf5;
    left: -20.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 24px;
}

@media (max-width: 767px) {
    .timeline-alt .event:after {
        left: -31.8px;
    }
}

.rtl .timeline-alt {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #727cf5;
}

    .rtl .timeline-alt .event::before {
        left: 0;
        right: -170px;
    }

    .rtl .timeline-alt .event::after {
        left: 0;
        right: -55.8px;
    }

/* ----------------------------------------------------- */

.pricing-table {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    padding: 1rem;
}

.pricing-plan {
    width: 300px;
    border-radius: 1.5rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    margin: .9rem;
}

.pricing-plan__higthlighted {
    transform: scale(1.05);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}

.pricing-plan__special {
    padding: 10px;
    text-align: center;
    font-weight: 700;
    background-color: var(--dl-primary);
    color: var(--dl-white);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2) inset;
}

.pricing-plan__header {
    background-color: var(--dl-blue-accent);
    color: var(--dl-white);
    padding: 1.5rem;
}

.pricing-plan__title,
.pricing-plan__summary {
    margin: 0;
    text-align: center;
}

.pricing-plan__title {
    font-size: 1.5rem;
    font-weight: 400;
}

.pricing-plan__summary {
    font-size: 1rem;
    font-weight: 300;
}

.pricing-plan__price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-plan__description {
    padding: 1.5rem;
}

.pricing-plan__services {
    padding: 0;
    margin: 0;
    position: relative;
}

.pricing-plan__feature {
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
    font-size: .9rem;
}

    .pricing-plan__feature::before {
        content: "\2714";
        color: var(--dl-primary);
        position: absolute;
        left: 0;
    }

    .pricing-plan__feature:not(:last-child) {
        margin-bottom: .5rem;
    }

.pricing-plan__actions {
    padding: 1.5rem;
    border-top: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
}

.pricing-plan__price {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    color: var(--dl-dark);
}

.pricing-plan__text {
    font-size: 0.9rem;
    text-align: center;
    margin: 0 0 10px 0;
}

.pricing-plan__button {
    display: inline-block;
    margin: .9rem auto;
    width: 200px;
    padding: .5rem 1.25rem;
    text-decoration: none;
    color: var(--dl-primary);
    background-color: var(--dl-white);
    border-radius: .3rem;
    border: 1px solid var(--dl-primary);
    letter-spacing: 0.02rem;
    font-weight: 700;
    text-align: center;
}

    .pricing-plan__button:hover {
        color: var(--dl-white);
        background-color: var(--dl-primary);
    }

/* ----------------------------------------------------- */

.signup-tenant {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

.signup-tenant__box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.signup-tenant__aside {
    position: relative;
    width: 40%;
    height: 100%;
}

    .signup-tenant__aside::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dl-primary);
        z-index: 1;
        mix-blend-mode: screen;
    }

    .signup-tenant__aside img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.signup-tenant__form {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dl-white);
}

.signup-tenant__form__title,
.signup-tenant__form__summary {
    margin: 0;
    text-align: center;
}

.signup-tenant__form__title {
    font-size: 1.5rem;
    font-weight: 400;
}

.signup-tenant__form__summary {
    font-size: 1rem;
    font-weight: 300;
}

.signup-tenant__form_content {
    padding: 2rem;
    text-align: center;
    max-width: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
}

/* ----------------------------------------------------- */

.dl-loader {
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    object-position: center center;
}

/* ----------------------------------------------------- */

.dl-disabled {
    pointer-events: none;
    opacity: 0.5;
    /*background-color: #f2f2f2;*/
    color: #999999;
    cursor: pointer;
}

/* ----------------------------------------------------- */

.dl-mudmenu .mud-button {
    text-transform: none;
}

/* ----------------------------------------------------- */

.mud-pagination {
    margin: 5px 0;
}

/* ----------------------------------------------------- */

.dl-drawer-20.mud-drawer--open {
    width: 20vw !important;
}

.dl-drawer-40.mud-drawer--open {
    width: 40vw !important;
}

.dl-drawer-60.mud-drawer--open {
    width: 60vw !important;
}

.dl-drawer-80.mud-drawer--open {
    width: 80vw !important;
}

.dl-drawer-100.mud-drawer--open {
    width: 100vw !important;
}

[class*="dl-drawer"] {
    padding: 5px !important;
}

.dl-page-content {
    margin-left: 2px;
    margin-right: 2px;
}

/* ----------------------------------------------------- */

.dl-stack {
    flex-flow: row wrap !important;
}

.dl-action-stack {
}

    .dl-action-stack button {
        margin: 3px;
        float: left;
    }

        .dl-action-stack button.action-right {
            margin: 3px;
            float: right;
        }

    .dl-action-stack .dropdown-action {
        display: none;
    }



/* ----------------------------------------------------- */

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .timeline-steps .timeline-step {
        align-items: center;
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 1rem
    }

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 3.46rem;
        position: absolute;
        left: 7.5rem;
        top: .3125rem
    }

    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 3.8125rem;
        position: absolute;
        right: 7.5rem;
        top: .3125rem
    }
}

.timeline-steps .timeline-content {
    width: 10rem;
    text-align: center
}

    .timeline-steps .timeline-content .inner-circle-ok, .inner-circle-standby {
        border-radius: 1.5rem;
        height: 1rem;
        width: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .timeline-steps .timeline-content .inner-circle-ok {
        background-color: var(--dl-success);
    }

    .timeline-steps .timeline-content .inner-circle-standby {
        background-color: var(--dl-info);
    }

    .timeline-steps .timeline-content .inner-circle-ok:before, .inner-circle-standby:before {
        content: "";
        display: inline-block;
        height: 3rem;
        width: 3rem;
        min-width: 3rem;
        border-radius: 6.25rem;
        opacity: .5
    }

    .timeline-steps .timeline-content .inner-circle-ok:before {
        background-color: var(--dl-success);
    }

    .timeline-steps .timeline-content .inner-circle-standby:before {
        background-color: var(--dl-info);
    }

/* linea de tiempo horizontal de estado de solicitud (RequestFormComponent) */

.dlrt-timeline {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 1rem 1.25rem 1rem;
}

.dlrt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    min-width: 6.5rem;
}

.dlrt-connector {
    flex: 1 1 auto;
    height: 3px;
    margin-top: 1.15rem;
    background-color: var(--dl-lightgray);
    opacity: .35;
}

    .dlrt-connector.dlrt-done {
        background-color: var(--dl-success);
        opacity: 1;
    }

    .dlrt-connector.dlrt-current {
        background-color: var(--dl-info);
        opacity: 1;
    }

.dlrt-node {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 2px solid var(--dl-lightgray);
    opacity: .6;
}

.dlrt-step.dlrt-done .dlrt-node {
    background-color: var(--dl-success);
    border-color: var(--dl-success);
    color: #ffffff;
    opacity: 1;
}

.dlrt-step.dlrt-current .dlrt-node {
    background-color: #ffffff;
    border-color: var(--dl-info);
    opacity: 1;
}

.dlrt-dot {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background-color: var(--dl-info);
}

.dlrt-label {
    margin-top: .5rem;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
}

.dlrt-step.dlrt-pending .dlrt-label {
    color: var(--dl-lightgray);
    font-weight: 400;
}

.dlrt-date {
    margin-top: .15rem;
    font-size: .7rem;
    color: var(--dl-lightgray);
    text-align: center;
}


/* ----------------------------------------------------- */

.kb-card {
    border-radius: 10px;
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    width: 400px;
    height: 180px;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
}

    .kb-card::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -15px;
        right: -15px;
        background: var(--dl-primary);
        height: 220px;
        width: 25px;
        border-radius: 32px;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: transform 0.25s ease-out;
    }

    .kb-card:hover::before {
        transition-delay: 0.2s;
        transform: scale(40);
    }

    .kb-card:hover {
        color: #ffffff;
    }

    .kb-card p {
        padding: 10px 0;
    }

/* ----------------------------------------------------- */

.floating-btn {
    width: 50px;
    height: 50px;
    background: var(--dl-light);
    text-decoration: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 40px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: background-color 0.25s ease-out, box-shadow 0.25s ease-out;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 9999;
}

    .floating-btn:hover {
        box-shadow: 0 4px 5px -2px rgba(0,0,0,.2), 0 7px 10px 1px rgba(0,0,0,.14), 0 2px 16px 1px rgba(0,0,0,.12);
    }

    .floating-btn.clicked {
        background-color: #4169cc;
    }

    .floating-btn i {
        transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
    }

    .floating-btn.clicked i {
        transform: rotate(315deg);
    }

.form-box {
    margin: 16px auto;
    font-size: 16px;
    border-radius: 9px;
    position: fixed;
    opacity: 0;
    overflow: hidden;
    bottom: 0;
    right: 30px;
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
    background-color: #f5f5f7;
    transition: all .25s ease-in-out;
    z-index: 9999;
}

    .form-box.open {
        transform: translate(10px, -70px);
        height: 490px;
        width: 366px;
        opacity: 1;
    }

.active {
    opacity: 0.7 !important;
}

/* ----------------------------------------------------- */
/*                       card animada                    */
/* ----------------------------------------------------- */

.dl-animated-card * {
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
}

.dl-animated-card {
    position: relative;
    margin: 5px;
    border-radius: 5px;
    background: #fff; /* Fondo blanco por defecto */
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .dl-animated-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 5px; /* línea fina inicial */
        background: currentColor; /* usa el color definido en la clase */
        z-index: 0;
    }

    .dl-animated-card.animate::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 5px; /* línea fina inicial */
        background: currentColor; /* usa el color definido en la clase */
        z-index: 0;
        transition: width 0.3s ease-in-out;
    }

    .dl-animated-card.animate:hover::before {
        width: 100%; /* se expande hasta cubrir el fondo */
    }

    .dl-animated-card * {
        position: relative;
        z-index: 1;
        transition: color 0.25s ease-in-out; /* más rápida que el fondo */
    }

    .dl-animated-card h3 {
        margin: 0;
        font-size: 1.2rem;
    }

    .dl-animated-card p {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    /* Colores de cards */
    .dl-animated-card.a-card-primary {
        color: var(--dl-primary);
    }

    .dl-animated-card.a-card-secondary {
        color: var(--dl-secondary);
    }

    .dl-animated-card.a-card-negative {
        color: var(--dl-dark);
    }

    /* Tamaños de cards */
    .dl-animated-card[class*="a-card"] {
        padding: 15px;
    }

    .dl-animated-card.a-card-xs {
        width: 180px;
        height: 180px;
    }

    .dl-animated-card.a-card-sm {
        width: 200px;
        height: 200px;
    }

    .dl-animated-card.a-card-md {
        width: 300px;
        height: 300px;
    }

    .dl-animated-card.a-card-lg {
        width: 400px;
        height: 400px;
    }

    /* Texto por defecto: del color de la card */
    .dl-animated-card h6,
    .dl-animated-card p,
    .dl-animated-card span,
    .dl-animated-card div,
    .dl-animated-card i
    .dl-animated-card button {
        color: currentColor;
    }

    /* Texto blanco al hacer hover */
    .dl-animated-card.animate:hover h6,
    .dl-animated-card.animate:hover p,
    .dl-animated-card.animate:hover span,
    .dl-animated-card.animate:hover div,
    .dl-animated-card.animate:hover i {
        color: var(--dl-white);
    }

/* ----------------------------------------------------- */
/*                      card simple                      */
/* ----------------------------------------------------- */

.dl-simple-card {
    position: relative;
    margin: 5px;
    border-radius: 3px;
    background: #fff; /* Fondo blanco por defecto */
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 0;
}

    .dl-simple-card .dl-sc-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--dl-white) !important;
    }

    .dl-simple-card .dl-sc-title-primary {
        background-color: var(--dl-primary) !important;
    }

    .dl-simple-card .dl-sc-title-secondary {
        background-color: var(--dl-secondary) !important;
    }

    .dl-simple-card .dl-sc-title-dark {
        background-color: var(--dl-dark) !important;
    }

    .dl-simple-card .dl-sc-title-success {
        background-color: var(--dl-success) !important;
    }
/* ----------------------------------------------------- */
/*                  contenedor centrado                  */
/* ----------------------------------------------------- */

.c-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: sans-serif;
    background-color: #f0f2f5;
}

/* Clase base del contenedor */
.c-container {
    width: 90%;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-y: auto;
}

/* Contenedor Pequeño (Small) */
.c-container-sm {
    max-width: 540px;
}

/* Contenedor Mediano (Medium) - Nuestro tamaño anterior */
.c-container-md {
    max-width: 720px;
}

/* Contenedor Grande (Large) */
.c-container-lg {
    max-width: 960px;
}

/* Contenedor Extra Grande (Extra Large) */
.c-container-xl {
    max-width: 1140px;
}

/* ----------------------------------------------------- */
/*            contenedor pantalla dividida               */
/* ----------------------------------------------------- */

.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.left-pane {
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-left);
    position: relative;
    z-index: 2;
}

.form-wrapper {
    flex: 1; /* Empuja al footer hacia abajo */
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    background-color: transparent; /* Fondo transparente para mostrar la imagen de fondo */
    /*padding: 40px;*/
}

.right-pane {
    width: 50%;
    background-image: url(../images/assets/hr-process.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.side-footer {
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    background: #f9f9f9;
    margin-top: -80px;
}

/* footer de páginas públicas (DlPublicFooterComponent) */
.dl-public-footer-list {
    list-style: none;
}

.dl-public-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    padding: 10px 0;
    background-color: #f0f2f5;
}

.dl-public-footer.dl-public-footer-compact {
    height: 40px;
    padding: 0;
}

.dl-public-footer-floating {
    position: absolute;
    width: 100%;
}

.content-left {
    flex-direction: row;
}

.content-right {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        position: relative;
    }

    .left-pane {
        width: 100%;
        min-height: 100vh;
        background-color: rgba(255, 255, 255, 0.85); /* Capa traslúcida */
        backdrop-filter: blur(5px); /* Efecto de desenfoque opcional */
    }

    .right-pane {
        position: fixed; /* La imagen se queda al fondo de todo */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .side-footer {
        background: transparent; /* En móvil se integra al fondo traslúcido */
        position: relative;
        margin-top: 20px;
    }
}

/* ==============================================================*/
/* =================== responsive breakpoints ===================*/
/* ==============================================================*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    [class*="dl-drawer"].mud-drawer--open {
        width: 100vw !important;
    }

    [class*="dl-gac"] {
        width: 100%;
        justify-content: right !important;
    }

        [class*="dl-gac"] [type=button] {
            margin-left: 3px !important;
        }


    .dl-action-stack button {
        display: none;
    }

    .dl-action-stack .dropdown-action {
        display: block;
    }

    .dl-action-stack.responsive {
        position: relative;
    }

        .dl-action-stack.responsive .dropdown-action {
        }

        .dl-action-stack.responsive button {
            float: none;
            display: block;
        }

            .dl-action-stack.responsive button .mud-button-icon-start {
                display: inline;
            }

    .split-layer {
        position: relative;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    .split-layer-content {
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        background-image: url(../images/assets/hr-process.png);
        opacity: .7;
    }

    .split-layer-bg {
        display: none;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    [class*="dl-drawer"].mud-drawer--open {
        width: 100vw !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .dl-drawer-20.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 100vw !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .dl-drawer-20.mud-drawer--open {
        width: 40vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-80.mud-drawer--open {
        width: 100vw !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    .dl-drawer-20.mud-drawer--open {
        width: 20vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 40vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-80.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-100.mud-drawer--open {
        width: 100vw !important;
    }
}

/* ==============================================================*/
/* ====================== mudblazor overrides ===================*/
/* ==============================================================*/

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 6px 6px 6px 16px !important;
    padding-inline-start: 6px !important;
    padding-inline-end: 6px !important;
}

.mud-expand-panel-header {
    color: var(--dl-white) !important;
}

.mud-collapse-wrapper-inner {
    background-color: var(--dl-light) !important;
}

.mud-treeview-item-icon .mud-icon-size-medium {
    font-size: 1rem !important;
}

.mud-treeview-item-label {
    font-size: .9rem !important;
}

/* ==============================================================*/
/* ========== Layout general register e index provider ==========*/
/* ==============================================================*/

.card-icon {
    font-size: 34px;
}

.card-title {
    font-weight: 700;
}

.banner-title {
    font-weight: 700;
    color: #3b3640;
    margin-bottom: 10px;
}

.banner-text {
    color: #5f5965;
    line-height: 1.6;
}

/* ==============================================================*/
/* ==================== Error pages styles ======================*/
/* ==============================================================*/

.error-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
    background-color: var(--dl-bg);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.error-card {
    max-width: 520px;
    width: 100%;
    background: var(--dl-card-bg);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--dl-shadow);
    border: 1px solid var(--dl-border);
}

.error-illustration {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .error-illustration svg {
        width: 100%;
        height: 100%;
    }

.error-code-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dl-primary);
    background-color: rgba(168, 36, 67, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dl-text-primary);
    margin: 0 0 0.75rem 0;
}

.error-description {
    font-size: 0.975rem;
    color: var(--dl-text-muted);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-duedly-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--dl-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .btn-duedly-primary:hover {
        background-color: var(--dl-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(168, 36, 67, 0.25);
    }

.btn-duedly-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--dl-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--dl-border);
    transition: background-color 0.2s;
}

    .btn-duedly-secondary:hover {
        background-color: #F1F3F5;
    }

/* ==============================================================*/
/* ========================= Home por rol =======================*/
/* ==============================================================*/

.dl-home {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--dl-text-primary);
}

.dl-home-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--dl-card-bg);
    border: 1px solid var(--dl-border);
    border-radius: 12px;
    box-shadow: var(--dl-shadow);
}

.dl-home-card--column {
    flex-direction: column;
    align-items: stretch;
}

/* tratamiento sutil, integrado al Home (sin aspecto de banner publicitario) */
.dl-home-card--soft {
    background: rgba(192, 24, 71, 0.04);
    border-color: rgba(192, 24, 71, 0.15);
}

.dl-home-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.2rem;
}

.dl-home-icon--primary {
    color: var(--dl-primary);
    background: rgba(192, 24, 71, 0.08);
}

.dl-home-icon--secondary {
    color: var(--dl-secondary);
    background: rgba(27, 109, 133, 0.08);
}

.dl-home-icon--muted {
    color: var(--dl-text-muted);
    background: var(--dl-bg);
}

.dl-home-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.dl-home-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.dl-home-card__text {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--dl-text-muted);
}

.dl-home-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.dl-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dl-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    .dl-home-link:hover {
        text-decoration: underline;
    }

/* Ventana de mantenimiento */
.dl-home-banner {
    padding: 12px 20px;
    border-left: 4px solid var(--dl-secondary);
}

.dl-home-banner__message {
    margin: 0;
    font-size: 0.85rem;
}

.dl-home-banner__date {
    padding-left: 16px;
    border-left: 1px solid var(--dl-border);
    font-size: 0.8rem;
    color: var(--dl-text-muted);
    white-space: nowrap;
}

/* Bienvenida */
.dl-home-welcome__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.dl-home-welcome__subtitle {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--dl-text-muted);
}

/* Empresa y plan */
.dl-home-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.dl-home-summary__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
}

    .dl-home-summary__item + .dl-home-summary__item {
        border-left: 1px solid var(--dl-border);
        border-radius: 0;
    }

.dl-home-summary__item--link {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .dl-home-summary__item--link:hover,
    .dl-home-summary__item--link:focus-visible {
        background: var(--dl-bg);
        outline: none;
    }

.dl-home-summary__name {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.dl-home-summary__meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--dl-text-muted);
}

.dl-home-summary__action {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dl-secondary);
}

.dl-home-summary__chevron {
    color: var(--dl-text-muted);
}

.dl-home-summary__aside {
    max-width: 200px;
    text-align: right;
}

/* Primeros pasos */
.dl-home-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dl-home-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.dl-home-video {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--dl-card-bg);
    border: 1px solid var(--dl-border);
    border-radius: 10px;
}

.dl-home-video__play {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--dl-primary);
    background: rgba(192, 24, 71, 0.08);
}

.dl-home-video__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dl-home-video__topic {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dl-secondary);
}

.dl-home-video__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
}

.dl-home-video__text {
    display: -webkit-box;
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: var(--dl-text-muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dl-home-video__action {
    margin-top: auto;
    align-self: flex-end;
}

.dl-home-empty {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: var(--dl-text-muted);
}

@media (max-width: 960px) {
    .dl-home-summary,
    .dl-home-videos {
        grid-template-columns: 1fr;
    }

        .dl-home-summary__item + .dl-home-summary__item {
            border-left: none;
            border-top: 1px solid var(--dl-border);
        }
}

@media (max-width: 768px) {
    .dl-home-card,
    .dl-home-section-header {
        flex-wrap: wrap;
    }

    .dl-home-card__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .dl-home-banner__date {
        padding-left: 0;
        border-left: none;
    }

    .dl-home-summary__aside {
        max-width: none;
        text-align: left;
    }
}

/* ===================================================================
   Panel de consumo de suscripción (.dl-usage-*)
   Colores de serie por tenant: paleta categórica validada (orden fijo);
   el estado (normal / alerta / agotado) se comunica con chip + ícono + texto.
   =================================================================== */
.dl-usage {
    --dl-usage-track: #E9ECEF;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--dl-text-primary);
}

.dl-usage-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.dl-usage-header__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.dl-usage-header__meta {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--dl-text-muted);
}

.dl-usage-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--dl-border);
}

.dl-usage-filters__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dl-text-muted);
}

.dl-usage-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dl-usage-kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--dl-card-bg);
    border: 1px solid var(--dl-border);
    border-radius: 12px;
    box-shadow: var(--dl-shadow);
    min-width: 0;
}

.dl-usage-kpi__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--dl-text-muted);
}

.dl-usage-kpi__value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.dl-usage-kpi__hint {
    font-size: 0.78rem;
    color: var(--dl-text-muted);
}

.dl-usage-section__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.dl-usage-section__text {
    margin: 2px 0 12px;
    font-size: 0.8rem;
    color: var(--dl-text-muted);
}

.dl-usage-group {
    margin: 16px 0 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dl-text-muted);
}

/* Leyenda de tenants */
.dl-usage-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--dl-text-muted);
}

.dl-usage-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dl-usage-swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex: 0 0 auto;
}

.dl-usage-swatch--available {
    background: var(--dl-usage-track);
    border: 1px solid #CED4DA;
}

/* Medidor apilado por tenant */
.dl-usage-meter {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--dl-border);
}

    .dl-usage-meter:last-child {
        border-bottom: none;
    }

.dl-usage-meter__name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.dl-usage-meter__unit {
    margin: 0;
    font-size: 0.75rem;
    color: var(--dl-text-muted);
}

.dl-usage-meter__track {
    position: relative;
    display: flex;
    gap: 2px;
    height: 12px;
    background: var(--dl-usage-track);
    border-radius: 4px;
}

.dl-usage-meter__segment {
    height: 100%;
    min-width: 2px;
    cursor: default;
    transition: opacity 0.15s ease;
}

    .dl-usage-meter__segment:first-child {
        border-radius: 4px 0 0 4px;
    }

    .dl-usage-meter__segment:hover {
        opacity: 0.8;
    }

/* marca del límite contratado cuando el consumo lo supera */
.dl-usage-meter__limit {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 2px;
    background: var(--dl-text-primary);
    border-radius: 1px;
}

.dl-usage-meter__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 200px;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Medidores circulares de servicios por consumo */
.dl-usage-gauges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.dl-usage-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--dl-border);
    border-radius: 10px;
    text-align: center;
}

.dl-usage-gauge__name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.dl-usage-gauge__value {
    margin: 0;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.dl-usage-gauge__pending {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    margin: 8px 0;
    border: 10px solid var(--dl-usage-track);
    border-radius: 50%;
    color: var(--dl-text-muted);
    font-size: 1.4rem;
}

.dl-usage-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dl-usage-empty {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--dl-text-muted);
}

.dl-usage-money {
    color: var(--dl-text-muted);
}

/* usuarios de la suscripción */
.dl-usage-users__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 28px;
}

.dl-usage-users__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dl-usage-users__value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.dl-usage-users__roles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.dl-usage-users__role {
    padding: 2px 10px;
    font-size: 0.8rem;
    color: var(--dl-text-primary);
    background: var(--dl-bg);
    border: 1px solid var(--dl-border);
    border-radius: 999px;
}

.dl-usage-users__name {
    font-weight: 600;
}

.dl-usage-users__mail {
    font-size: 0.78rem;
    color: var(--dl-text-muted);
    overflow-wrap: anywhere;
}

.dl-usage-users__count {
    font-variant-numeric: tabular-nums;
    text-decoration: underline dotted;
    cursor: help;
}

/* vigencia de la suscripción en el Home */
.dl-home-expiry {
    align-items: flex-start;
    border-left: 4px solid var(--dl-secondary);
}

.dl-home-expiry__icon {
    color: var(--dl-secondary);
    background: rgba(27, 109, 133, 0.08);
}

.dl-home-expiry__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0;
    font-weight: 700;
}

.dl-home-expiry__days {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dl-secondary);
}

.dl-home-expiry__track {
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    background: #E9ECEF;
    border-radius: 999px;
}

.dl-home-expiry__bar {
    display: block;
    height: 100%;
    background: var(--dl-secondary);
    border-radius: 999px;
}

.dl-home-expiry__message {
    margin: 10px 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.dl-home-expiry--warning {
    background: rgba(255, 193, 7, 0.08);
    border-left-color: var(--dl-warning);
}

    .dl-home-expiry--warning .dl-home-expiry__icon {
        color: #8a6100;
        background: rgba(255, 193, 7, 0.18);
    }

    .dl-home-expiry--warning .dl-home-expiry__days {
        color: #8a6100;
    }

    .dl-home-expiry--warning .dl-home-expiry__bar {
        background: var(--dl-warning);
    }

.dl-home-expiry--danger {
    background: rgba(220, 53, 69, 0.06);
    border-left-color: var(--dl-danger);
}

    .dl-home-expiry--danger .dl-home-expiry__icon {
        color: var(--dl-danger);
        background: rgba(220, 53, 69, 0.1);
    }

    .dl-home-expiry--danger .dl-home-expiry__days,
    .dl-home-expiry--danger .dl-home-expiry__message {
        color: #b02a37;
    }

    .dl-home-expiry--danger .dl-home-expiry__bar {
        background: var(--dl-danger);
    }

@media (max-width: 600px) {
    .dl-home-expiry {
        flex-wrap: wrap;
    }

    /* el ícono se mantiene junto al contenido; el enlace pasa a su propia fila */
    .dl-home-expiry .dl-home-card__body {
        flex: 1 1 0;
    }

    .dl-home-expiry .dl-home-summary__aside {
        flex-basis: 100%;
        max-width: none;
        padding-left: 60px;
        text-align: left;
    }

    .dl-usage-users__roles {
        margin-left: 0;
    }
}

@media (max-width: 960px) {
    .dl-usage-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .dl-usage-kpis {
        grid-template-columns: minmax(0, 1fr);
    }

    .dl-usage-meter {
        grid-template-columns: minmax(0, 1fr);
    }

    .dl-usage-meter__value {
        justify-content: flex-start;
        min-width: 0;
    }
}

/* ----------------------------------------------------- */
/*            card de opción (DlOptionCardComponent)     */
/* ----------------------------------------------------- */

.dl-option-card {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 20px 24px;
    background: var(--dl-card-bg);
    border: 1px solid var(--dl-border);
    border-radius: 8px;
    box-shadow: var(--dl-shadow);
    color: var(--dl-text-primary);
    font-family: var(--dl-font-family);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .dl-option-card:not(:disabled):hover,
    .dl-option-card:focus-visible,
    .dl-option-card.dl-option-card--selected {
        background: rgba(192, 24, 71, 0.06);
        background: color-mix(in srgb, var(--dl-primary) 6%, var(--dl-card-bg));
        border-color: var(--dl-primary);
        outline: none;
    }

    .dl-option-card:focus-visible {
        box-shadow: 0 0 0 3px rgba(192, 24, 71, 0.2);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--dl-primary) 20%, transparent);
    }

    .dl-option-card:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

.dl-option-card__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(192, 24, 71, 0.08);
    background: color-mix(in srgb, var(--dl-primary) 8%, var(--dl-card-bg));
    color: var(--dl-primary);
    font-size: 1.6rem;
}

.dl-option-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.dl-option-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dl-text-primary);
}

.dl-option-card__description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--dl-text-muted);
}

.dl-option-card__chevron {
    flex: 0 0 auto;
    color: var(--dl-text-muted);
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dl-option-card:not(:disabled):hover .dl-option-card__chevron,
.dl-option-card:focus-visible .dl-option-card__chevron,
.dl-option-card--selected .dl-option-card__chevron {
    color: var(--dl-primary);
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .dl-option-card {
        gap: 14px;
        padding: 14px 16px;
    }

    .dl-option-card__icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* Página pública de planes: estilos delimitados para no alterar otras pantallas. */
.dl-signup-plans {
    --plans-ink: #34465c;
    --plans-muted: #5d6c80;
    --plans-border: #dce3ec;
    color: var(--plans-ink);
    background: #fff;
    font-family: var(--dl-font-family);
    line-height: 1.5;
    min-height: 100vh;
}
.dl-signup-plans .dl-signup-plans__container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.dl-signup-plans h1, .dl-signup-plans h2, .dl-signup-plans h3, .dl-signup-plans p, .dl-signup-plans ul { margin: 0; }
.dl-signup-plans ul { padding: 0; list-style: none; }
.dl-signup-plans .dl-signup-plans__header { border-bottom: 1px solid var(--plans-border); background: #fff; }
.dl-signup-plans .dl-signup-plans__header img { display: block; object-fit: contain; }
.dl-signup-plans .dl-signup-plans__hero { padding: 24px 0; background: linear-gradient(115deg, #fff, #f1f8fb); }
.dl-signup-plans .dl-signup-plans__hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.dl-signup-plans .dl-signup-plans__eyebrow { color: var(--dl-primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.dl-signup-plans h1 { color: var(--dl-primary); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.16; max-width: 560px; text-wrap: balance; }
.dl-signup-plans .dl-signup-plans__lead { color: var(--plans-muted); font-size: 1.05rem; margin-top: 18px; max-width: 540px; }
.dl-signup-plans .dl-signup-plans__visual { border: 1px solid var(--plans-border); border-radius: 16px; padding: 22px; background: #fff; box-shadow: 0 14px 40px #253c5310; }
.dl-signup-plans .dl-signup-plans__visual-top { display: flex; align-items: center; gap: 16px; font-size: .8rem; color: var(--plans-muted); }
.dl-signup-plans .dl-signup-plans__dots { display: flex; gap: 5px; }
.dl-signup-plans .dl-signup-plans__dots span { width: 6px; height: 6px; border-radius: 50%; background: #dce3ec; }
.dl-signup-plans .dl-signup-plans__flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 28px 0; }
.dl-signup-plans .dl-signup-plans__node { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #f5f8fb; border: 1px solid #e8edf3; border-radius: 12px; padding: 20px 8px; color: var(--dl-primary); }
.dl-signup-plans .dl-signup-plans__node > :first-child { font-size: 24px; }
.dl-signup-plans .dl-signup-plans__node span { font-size: .75rem; font-weight: 600; color: var(--plans-ink); }
.dl-signup-plans .dl-signup-plans__node--active { background: color-mix(in srgb, var(--dl-primary) 6%, white); border-color: color-mix(in srgb, var(--dl-primary) 24%, white); }
.dl-signup-plans .dl-signup-plans__connector { color: #a3afbf; font-size: 12px; }
.dl-signup-plans .dl-signup-plans__visual-bottom { border-top: 1px solid #edf0f5; padding-top: 16px; display: flex; align-items: center; gap: 12px; }
.dl-signup-plans .dl-signup-plans__visual-bottom strong { display: block; font-size: .85rem; font-weight: 600; }
.dl-signup-plans .dl-signup-plans__visual-bottom div > span { display: block; color: var(--plans-muted); font-size: .75rem; }
.dl-signup-plans .dl-signup-plans__status { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; color: var(--dl-primary); background: color-mix(in srgb, var(--dl-primary) 7%, white); }
.dl-signup-plans .dl-signup-plans__benefits { padding: 24px 0; }
.dl-signup-plans .dl-signup-plans__benefits h2 { font-size: 1.35rem; color: var(--dl-primary); font-weight: 600; margin-bottom: 16px; }
.dl-signup-plans .dl-signup-plans__benefit-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.dl-signup-plans .dl-signup-plans__benefit-list li { display: flex; align-items: flex-start; gap: 12px; }
.dl-signup-plans .dl-signup-plans__benefit-icon { display: grid; place-items: center; width: 40px; height: 44px; flex: 0 0 40px; border-radius: 9px; font-size: 22px; background: color-mix(in srgb, var(--dl-primary) 6%, white); color: var(--dl-primary); }
.dl-signup-plans .dl-signup-plans__benefit-list h3 { font-size: .875rem; font-weight: 600; line-height: 1.3; margin: 2px 0 7px; }
.dl-signup-plans .dl-signup-plans__benefit-list p { color: var(--plans-muted); font-size: .8rem; line-height: 1.5; }
.dl-signup-plans .dl-signup-plans__pricing { padding: 20px 32px; background: linear-gradient(140deg, #f2f8fb, #f9f5f7); }
.dl-signup-plans .dl-signup-plans__card { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 28px; width: 100%; max-width: 960px; margin-inline: auto; padding: 22px; border: 1px solid var(--plans-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px #253c530a; }
.dl-signup-plans .dl-signup-plans__overview { padding-right: 24px; border-right: 1px solid var(--plans-border); }
.dl-signup-plans .dl-signup-plans__card-heading { display: flex; align-items: center; gap: 14px; }
.dl-signup-plans .dl-signup-plans__plan-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 10px; color: var(--dl-primary); background: color-mix(in srgb, var(--dl-primary) 6%, white); font-size: 24px; }
.dl-signup-plans .dl-signup-plans__card h2 { color: var(--dl-primary); font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.dl-signup-plans .dl-signup-plans__card-heading p { color: var(--plans-muted); font-size: .9rem; margin-top: 3px; }
.dl-signup-plans .dl-signup-plans__price { margin: 14px 0; padding: 0; }
.dl-signup-plans .dl-signup-plans__price strong { font-size: 1.8rem; color: var(--dl-primary); font-weight: 600; line-height: 1.2; }
.dl-signup-plans .dl-signup-plans__price p { margin-top: 4px; font-size: .85rem; color: var(--plans-muted); }
.dl-signup-plans .dl-signup-plans__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.dl-signup-plans .dl-signup-plans__features li { display: flex; align-items: flex-start; gap: 6px; font-size: .9rem; line-height: 1.4; }
.dl-signup-plans .dl-signup-plans__features li > :first-child { flex: 0 0 16px; color: var(--dl-primary); margin-top: 3px; }
.dl-signup-plans .dl-signup-plans__features span { display: block; font-size: .8rem; color: var(--plans-muted); margin-top: 2px; }
.dl-signup-plans .dl-signup-plans__cta { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px; margin-top: 14px; border-radius: 7px; background: var(--dl-primary); color: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.dl-signup-plans .dl-signup-plans__cta:hover { background: var(--dl-primary-hover); }
.dl-signup-plans .dl-signup-plans__cta:focus-visible { outline: 3px solid var(--plans-ink); outline-offset: 4px; }
.dl-signup-plans .dl-signup-plans__footer { padding: 20px 24px; border-top: 1px solid var(--plans-border); text-align: center; font-size: .75rem; color: var(--plans-muted); }
.dl-signup-plans .dl-signup-plans__contact { padding: 24px 0; border-top: 1px solid var(--plans-border); background: #f5f8fb; }
.dl-signup-plans .dl-signup-plans__contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; gap: 32px; }
.dl-signup-plans .dl-signup-plans__contact h2 { color: var(--dl-primary); font-size: 1.35rem; font-weight: 600; }
.dl-signup-plans .dl-signup-plans__contact h3 { margin-top: 12px; font-size: 1.05rem; font-weight: 600; }
.dl-signup-plans .dl-signup-plans__contact p { margin-top: 12px; color: var(--plans-muted); font-size: .9rem; line-height: 1.6; }
.dl-signup-plans .dl-signup-plans__contact a { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--dl-primary); font-size: .875rem; }
.dl-signup-plans .dl-signup-plans__contact a:focus-visible { outline: 2px solid var(--plans-ink); outline-offset: 4px; }
.dl-signup-plans .dl-signup-plans__contact-form { display: block; width: 100%; height: 700px; border: 0; border-radius: 12px; background: #fff; }
@media (max-width: 1100px) {
    .dl-signup-plans .dl-signup-plans__hero-grid { gap: 30px; }
    .dl-signup-plans .dl-signup-plans__benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 767px) {
    .dl-signup-plans .dl-signup-plans__container { width: calc(100% - 40px); }
    .dl-signup-plans .dl-signup-plans__hero { padding: 20px 0; }
    .dl-signup-plans .dl-signup-plans__hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .dl-signup-plans h1 { font-size: 2rem; }
    .dl-signup-plans .dl-signup-plans__lead { font-size: 1rem; }
    .dl-signup-plans .dl-signup-plans__pricing { padding: 20px; }
    .dl-signup-plans .dl-signup-plans__card { grid-template-columns: 1fr; gap: 18px; }
    .dl-signup-plans .dl-signup-plans__overview { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--plans-border); }
    .dl-signup-plans .dl-signup-plans__contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 479px) {
    .dl-signup-plans .dl-signup-plans__visual { padding: 16px; }
    .dl-signup-plans .dl-signup-plans__flow { gap: 6px; }
    .dl-signup-plans .dl-signup-plans__node { padding: 16px 4px; }
    .dl-signup-plans .dl-signup-plans__node span { font-size: .7rem; }
    .dl-signup-plans .dl-signup-plans__benefit-list { grid-template-columns: 1fr; gap: 20px; }
    .dl-signup-plans .dl-signup-plans__benefit-list h3 { font-size: .95rem; }
    .dl-signup-plans .dl-signup-plans__benefit-list p { font-size: .875rem; }
    .dl-signup-plans .dl-signup-plans__pricing { padding: 16px 20px; }
    .dl-signup-plans .dl-signup-plans__card { padding: 18px; }
    .dl-signup-plans .dl-signup-plans__features { gap: 12px; }
}

/* Navegación social del encabezado de planes. */
.dl-signup-plans .dl-signup-plans__header .dl-signup-plans__container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.dl-signup-plans .dl-signup-plans__social { display: flex; align-items: center; gap: 2px; }
.dl-signup-plans .dl-signup-plans__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: var(--dl-primary); font-size: 21px; text-decoration: none; }
.dl-signup-plans .dl-signup-plans__social a:hover { background: color-mix(in srgb, var(--dl-primary) 7%, white); }
.dl-signup-plans .dl-signup-plans__social a:focus-visible { outline: 2px solid var(--plans-ink); outline-offset: 2px; }
@media (max-width: 479px) {
    .dl-signup-plans .dl-signup-plans__header .dl-signup-plans__container { justify-content: center; padding-bottom: 8px; }
    .dl-signup-plans .dl-signup-plans__social { justify-content: center; flex-basis: 100%; }
}

/* Explorador de la base de conocimientos. */
.dl-knowledge-base { display: grid; gap: 20px; padding-block: 8px 24px; color: var(--dl-text-primary); }
.dl-knowledge-base .dl-knowledge-base__heading, .dl-knowledge-base .dl-knowledge-base__context { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dl-knowledge-base h1 { font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; }
.dl-knowledge-base h2 { font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }
.dl-knowledge-base p { margin: 0; color: var(--dl-text-muted); font-size: .9rem; }
.dl-knowledge-base .dl-knowledge-base__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-knowledge-base .dl-knowledge-base__search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--dl-border); border-radius: 10px; background: var(--dl-card-bg); }
.dl-knowledge-base .dl-knowledge-base__search .mud-button-root { min-height: 44px; }
.dl-knowledge-base .dl-knowledge-base__section { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--dl-border); border-radius: 10px; background: var(--dl-card-bg); }
.dl-knowledge-base .dl-knowledge-base__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.dl-knowledge-base .dl-option-card { align-items: flex-start; height: 100%; min-height: 116px; gap: 16px; padding: 20px; box-shadow: none; }
.dl-knowledge-base .dl-option-card__title, .dl-knowledge-base .dl-option-card__description { overflow-wrap: anywhere; }
.dl-knowledge-base .dl-option-card__icon { width: 44px; height: 44px; font-size: 1.3rem; }
.dl-knowledge-base .dl-option-card__chevron { align-self: center; }
.dl-knowledge-base .dl-knowledge-base__resource-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; color: var(--dl-text-muted); font-size: .75rem; overflow-wrap: anywhere; }
.dl-knowledge-base .dl-knowledge-base__resource-meta > :last-child { color: var(--dl-primary); font-weight: 600; }
.dl-knowledge-base .dl-knowledge-base__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 16px; text-align: center; border-radius: 8px; background: var(--dl-bg); }
.dl-knowledge-base .dl-knowledge-base__empty > i { color: var(--dl-primary); font-size: 1.5rem; }
.dl-knowledge-base .dl-knowledge-base__category { color: var(--dl-primary); }
@media (max-width: 600px) {
    .dl-knowledge-base .dl-knowledge-base__search { grid-template-columns: 1fr 1fr; padding: 12px; }
    .dl-knowledge-base .dl-knowledge-base__search .mud-input-control { grid-column: 1 / -1; }
    .dl-knowledge-base .dl-knowledge-base__section { padding: 16px; }
    .dl-knowledge-base .dl-option-card { padding: 16px; gap: 12px; }
}

/* Selección de categorías y tipos en Mis solicitudes. */
.dl-request-options { display: grid; gap: 16px; padding: 12px 4px 24px; color: var(--dl-text-primary); }
.dl-request-options p { margin: 0; font-size: .9rem; color: var(--dl-text-muted); }
.dl-request-options h2 { margin: 8px 0; font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.dl-request-options .dl-request-options__heading .mud-button-root { min-height: 44px; }
.dl-request-options .dl-request-options__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.dl-request-options .dl-option-card { align-items: flex-start; height: 100%; min-height: 116px; gap: 16px; padding: 20px; box-shadow: none; }
.dl-request-options .dl-option-card__title, .dl-request-options .dl-option-card__description { overflow-wrap: anywhere; }
.dl-request-options .dl-option-card__icon { width: 44px; height: 44px; font-size: 1.3rem; }
.dl-request-options .dl-option-card__chevron { align-self: center; }
.dl-request-options .dl-request-options__category { position: relative; min-width: 0; }
.dl-request-options .dl-request-options__category .dl-option-card { padding-right: 64px; }
.dl-request-options .dl-request-options__category .dl-option-card__chevron { display: none; }
.dl-request-options .dl-request-options__favorite { position: absolute; top: 12px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: transparent; color: var(--dl-text-muted); font-size: 1.25rem; cursor: pointer; }
.dl-request-options .dl-request-options__favorite--active { color: var(--dl-primary); }
.dl-request-options .dl-request-options__favorite:hover { background: color-mix(in srgb, var(--dl-primary) 8%, var(--dl-card-bg)); color: var(--dl-primary); }
.dl-request-options .dl-request-options__favorite:focus-visible { outline: 2px solid var(--dl-primary); outline-offset: 2px; }
.dl-request-options .dl-request-options__type { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dl-request-options .dl-request-options__type > .dl-option-card { height: auto; flex: 1; }
.dl-request-options .dl-request-options__type > .mud-button-root { min-height: 44px; align-self: flex-end; }
.dl-request-options .dl-request-options__description { color: var(--dl-text-muted); font-size: .875rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.dl-request-options .dl-request-options__empty { display: grid; justify-items: center; gap: 12px; padding: 28px 16px; text-align: center; border-radius: 8px; background: var(--dl-bg); }
.dl-request-options .dl-request-options__empty > i { color: var(--dl-primary); font-size: 1.5rem; }
@media (max-width: 600px) {
    .dl-request-options .dl-option-card { padding: 16px; gap: 12px; }
}

/* Consumos: resumen inicial y acceso progresivo al detalle. */
.dl-usage-tabbed { gap: 20px; padding-block: 8px 24px; }
.dl-usage-tabbed .dl-usage-tabbed__page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dl-usage-tabbed .dl-usage-tabbed__page-heading h1 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 600; }
.dl-usage-tabbed .dl-usage-tabbed__page-heading p { margin: 0; color: var(--dl-text-muted); font-size: .9rem; }
.dl-usage-tabbed .dl-usage-tabbed__scope { flex: 0 1 280px; min-width: min(100%, 220px); }
.dl-usage-tabbed .dl-usage-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-usage-tabbed .dl-usage-kpi { box-shadow: none; }
.dl-usage-tabbed .dl-usage-kpi__label { text-transform: none; letter-spacing: normal; font-size: .8rem; font-weight: 500; }
.dl-usage-tabbed .dl-usage-kpi__value { font-weight: 600; }
.dl-usage-tabbed .dl-usage-tabbed__panel { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }
.dl-usage-tabbed .dl-usage-tabbed__stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dl-usage-tabbed .dl-usage-tabbed__tabs { min-width: 0; }
.dl-usage-tabbed .dl-usage-tabbed__tabs .mud-tab { text-transform: none; min-height: 48px; }
.dl-usage-tabbed .dl-usage-tabbed__alert-content { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.dl-usage-tabbed .dl-usage-tabbed__alert-content p { margin: 4px 0 0; font-size: .85rem; }
.dl-usage-tabbed .dl-usage-tabbed__quick-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.dl-usage-tabbed .dl-usage-tabbed__resource-tools, .dl-usage-tabbed .dl-usage-tabbed__detail-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dl-usage-tabbed .dl-usage-tabbed__resource-tools p { margin: 0; flex: 1 1 260px; }
.dl-usage-tabbed .dl-usage-tabbed__detail-tools .mud-input-control { flex: 1 1 240px; max-width: 380px; }
.dl-usage-tabbed .dl-usage-tabbed__unmeasured { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-scroll { overflow-x: auto; max-width: 100%; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-scroll:focus-visible { outline: 2px solid var(--dl-primary); outline-offset: 2px; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-table th, .dl-usage-tabbed .dl-usage-tabbed__distribution-table td { padding: 12px; border-bottom: 1px solid var(--dl-border); text-align: right; font-variant-numeric: tabular-nums; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-table th { font-weight: 600; }
.dl-usage-tabbed .dl-usage-tabbed__distribution-table th:first-child { text-align: left; }
@media (max-width: 600px) {
    .dl-usage-tabbed .dl-usage-kpis { grid-template-columns: 1fr; }
    .dl-usage-tabbed .dl-usage-tabbed__scope { flex-basis: 100%; }
    .dl-usage-tabbed .dl-usage-tabbed__detail-tools .mud-input-control { max-width: none; }
}

/* Reservas y catálogo del solicitante: superficies y escala visual del home. */
.dl-catalog-header { flex-wrap: wrap; }
.dl-catalog-header .dl-home-welcome__title { font-size: 1.3rem; }
.dl-catalog-toolbar, .dl-bookings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dl-catalog-toolbar .mud-input-control { flex: 1; max-width: 480px; margin-top: 0; }
.dl-catalog-count { color: var(--dl-text-muted); font-size: .875rem; }
.dl-option-grid, .dl-booking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-service-catalog .dl-option-card { height: 100%; gap: 14px; padding: 18px; border-radius: 12px; }
.dl-service-catalog .dl-option-card__icon { width: 44px; height: 44px; font-size: 1.2rem; }
.dl-service-catalog .dl-option-card__title { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.dl-service-catalog .dl-option-card__description { overflow-wrap: anywhere; }
.dl-service-price { color: var(--dl-primary); font-size: .875rem; font-weight: 600; }
.dl-catalog-empty { flex-direction: column; text-align: center; padding: 40px 24px; gap: 12px; }
.dl-booking-card { min-width: 0; gap: 16px; padding: 20px; }
.dl-booking-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dl-booking-date { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 12px; border-radius: 10px; color: var(--dl-primary); background: color-mix(in srgb, var(--dl-primary) 7%, var(--dl-card-bg)); }
.dl-booking-date span { font-size: .75rem; line-height: 1.4; }
.dl-booking-date span:first-child { text-transform: uppercase; font-weight: 600; }
.dl-booking-date strong { font-size: 1.65rem; line-height: 1.2; }
.dl-booking-status { border-radius: 20px; padding: 4px 10px; background: var(--dl-bg); color: var(--dl-text-muted); font-size: .75rem; font-weight: 600; }
.dl-booking-status--active { background: color-mix(in srgb, var(--dl-secondary) 10%, var(--dl-card-bg)); color: var(--dl-secondary); }
.dl-booking-card h2, .dl-booking-card__description { overflow-wrap: anywhere; }
.dl-booking-card__description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 6px; }
.dl-booking-details { display: flex; flex-direction: column; gap: 8px; color: var(--dl-text-muted); font-size: .85rem; }
.dl-booking-details p { display: flex; align-items: baseline; gap: 10px; margin: 0; overflow-wrap: anywhere; }
.dl-booking-details i { width: 16px; flex-shrink: 0; text-align: center; }
.dl-booking-details .dl-booking-address { padding-left: 26px; }
.dl-booking-card__actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border-top: 1px solid var(--dl-border); padding-top: 12px; margin-top: auto; }
@media (max-width: 1100px) {
    .dl-option-grid, .dl-booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .dl-option-grid, .dl-booking-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dl-bookings-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }
    .dl-bookings-toolbar .dl-home-card__actions { justify-content: flex-start; }
    .dl-catalog-header .dl-home-card__body { flex-basis: calc(100% - 64px); }
    .dl-catalog-header > .mud-button-root { width: 100%; }
    .dl-catalog-toolbar { gap: 8px; }
    .dl-catalog-toolbar .mud-input-control { min-width: 0; }
    .dl-booking-card { padding: 16px; }
}

/* Banner de capacidades en planes de suscripcion */
.dl-signup-plans .dl-plans-expansion {
    padding:24px 0;
    background:#fff;
    border-bottom:1px solid var(--plans-border);
}
.dl-signup-plans .dl-banner-composition {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    display:grid;
    grid-template-columns:17% minmax(0,61%);
    gap:12px;
    min-height:420px;
    padding:26px 16px 70px;
    background:#fff;
}
.dl-signup-plans .dl-banner-photo {
    position:absolute;
    z-index:-2;
    inset:0 0 0 auto;
    width:34%;
    background-image:linear-gradient(90deg,#fff 0%,#ffffff12 25%,transparent 55%),linear-gradient(0deg,#fff 0%,transparent 15%),url('/images/assets/fotografia-banner.png');
    background-size:cover;
    background-position:center 42%;
}
.dl-signup-plans .dl-banner-arc {
    position:absolute;
    z-index:-1;
    right:-12%;
    top:-2%;
    width:36%;
    height:110%;
    border:1px solid #cc0050;
    border-radius:50%;
    pointer-events:none;
}
.dl-signup-plans .dl-banner-arc:before {
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    right:25%;
    top:18%;
    border-radius:50%;
    background:linear-gradient(130deg,#ee7eab55,transparent 45%);
    z-index:-1;
}
.dl-signup-plans .dl-banner-announcement {
    align-self:start;
    margin-top:36px;
    padding:35px 18px 26px;
    min-height:280px;
    border-radius:4px;
    background:linear-gradient(120deg,#fff0f7ee,#fff5f9ee);
}
.dl-signup-plans .dl-banner-announcement img {
    display:block;
    width:68px;
    height:68px;
    object-fit:contain;
    margin-bottom:10px;
}
.dl-signup-plans .dl-banner-announcement__title {
    font-weight:700;
    font-size:clamp(18px,1.9vw,24px);
    color:#c60058;
    line-height:1.15;
    letter-spacing:-.6px;
}
.dl-signup-plans .dl-banner-announcement>span {
    display:block;
    width:50px;
    height:1px;
    background:#c60058;
    margin:14px 0;
}
.dl-signup-plans .dl-banner-announcement>p:last-child {
    font-size:16px;
    line-height:1.25;
    color:#34465c;
}
.dl-signup-plans .dl-banner-main {
    min-width:0;
    z-index:1;
}
.dl-signup-plans .dl-banner-main h2 {
    border-left:1px solid #c60058;
    padding-left:10px;
    margin:0 0 32px;
    font-size:clamp(27px,3vw,40px);
    font-weight:800;
    line-height:.98;
    letter-spacing:-1.5px;
    color:#2e3945;
}
.dl-signup-plans .dl-banner-main h2 span {
    color:#c60058;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjetas {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    padding:14px 10px;
    background:#fffffff5;
    border:1px solid #e6e9ef;
    border-radius:4px;
    min-height:86px;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta--detalle,.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta:nth-child(n+4) {
    align-items:flex-start;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__icono {
    display:grid;
    place-items:center;
    flex:0 0 46px;
    height:46px;
    border-radius:5px;
    background:#fff0f7;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__icono img {
    width:38px;
    height:38px;
    object-fit:contain;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__contenido {
    min-width:0;
    overflow-wrap:break-word;
}
.dl-signup-plans .dl-plans-expansion h3 {
    font-size:14px;
    font-weight:600;
    letter-spacing:-.4px;
    line-height:1.18;
    color:#263547;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta ul {
    display:grid;
    gap:4px;
    margin-top:7px;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta li {
    position:relative;
    padding-left:11px;
    font-size:12px;
    line-height:1.25;
    color:#34465c;
}
.dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta li:before {
    content:'';
    position:absolute;
    left:0;
    top:.45em;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#c60058;
}
.dl-signup-plans .dl-plans-expansion__cta {
    position:absolute;
    left:16px;
    bottom:10px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:4px 0;
    color:#c60058;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
    z-index:2;
}
.dl-signup-plans .dl-plans-expansion__cta:hover {
    text-decoration:underline;
}
.dl-signup-plans .dl-plans-expansion__cta:focus-visible {
    outline:3px solid #34465c;
    outline-offset:3px;
}
.dl-signup-plans .dl-banner-rule {
    width:68px;
    height:1px;
    background:#c60058;
}
.dl-signup-plans .dl-plans-expansion__cta i {
    font-size:22px;
    margin-left:4px;
}
.dl-signup-plans .dl-banner-logo {
    position:absolute;
    right:16px;
    bottom:20px;
    width:150px;
    height:auto;
    mix-blend-mode:multiply;
}
@media(max-width:1100px) and (min-width:901px) {
    .dl-signup-plans .dl-banner-composition {
        grid-template-columns:17% minmax(0,65%);
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta {
        gap:7px;
        padding:12px 8px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__icono {
        flex-basis:38px;
        height:38px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__icono img {
        width:32px;
        height:32px;
    }
    .dl-signup-plans .dl-banner-announcement {
        padding:28px 12px;
    }
    .dl-signup-plans .dl-banner-announcement>p:last-child {
        font-size:14px;
    }
    .dl-signup-plans .dl-banner-logo {
        width:125px;
    }
}
@media(max-width:900px) {
    .dl-signup-plans .dl-banner-composition {
        grid-template-columns:180px minmax(0,1fr);
        padding:24px 16px 76px;
        gap:16px;
    }
    .dl-signup-plans .dl-banner-photo {
        width:38%;
        opacity:.14;
    }
    .dl-signup-plans .dl-banner-arc {
        display:none;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjetas {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .dl-signup-plans .dl-banner-main h2 {
        font-size:30px;
        line-height:1.1;
        margin-bottom:24px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta {
        padding:14px 12px;
        gap:10px;
    }
    .dl-signup-plans .dl-plans-expansion h3 {
        font-size:15px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta li {
        font-size:14px;
        line-height:1.4;
    }
    .dl-signup-plans .dl-banner-announcement {
        margin-top:0;
        padding:24px 16px;
    }
    .dl-signup-plans .dl-banner-announcement__title {
        font-size:22px;
    }
}
@media(max-width:650px) {
    .dl-signup-plans .dl-plans-expansion {
        padding:16px 0;
    }
    .dl-signup-plans .dl-banner-composition {
        display:flex;
        flex-direction:column;
        gap:20px;
        padding:0 0 80px;
    }
    .dl-signup-plans .dl-banner-announcement {
        width:100%;
        min-height:0;
        padding:18px;
        display:grid;
        grid-template-columns:48px minmax(0,1fr);
        column-gap:12px;
        row-gap:8px;
    }
    .dl-signup-plans .dl-banner-announcement img {
        width:48px;
        height:48px;
        grid-row:1 / 3;
        margin:0;
    }
    .dl-signup-plans .dl-banner-announcement__title {
        font-size:20px;
    }
    .dl-signup-plans .dl-banner-announcement__title br {
        display:none;
    }
    .dl-signup-plans .dl-banner-announcement>span {
        display:none;
    }
    .dl-signup-plans .dl-banner-announcement>p:last-child {
        font-size:15px;
        line-height:1.4;
    }
    .dl-signup-plans .dl-banner-main h2 {
        font-size:29px;
        letter-spacing:-1px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjetas {
        grid-template-columns:1fr;
        gap:10px;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta {
        padding:16px;
        min-height:80px;
        gap:14px;
    }
    .dl-signup-plans .dl-plans-expansion h3 {
        font-size:16px;
        line-height:1.3;
    }
    .dl-signup-plans .dl-plans-expansion .duedly-banner__tarjeta li {
        font-size:15px;
    }
    .dl-signup-plans .dl-banner-photo {
        display:none;
    }
    .dl-signup-plans .dl-banner-logo {
        width:105px;
        right:0;
        bottom:16px;
    }
    .dl-signup-plans .dl-plans-expansion__cta {
        left:0;
        bottom:10px;
        gap:8px;
        font-size:15px;
    }
    .dl-signup-plans .dl-banner-rule {
        width:22px;
    }
}

/* ==============================================================*/
/* ================= card formularios dinamicos =================*/
/* ==============================================================*/

.dl-df-card {
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 5%);
    color: #14192c;
    font: 14px/1.5 Helvetica, Arial, sans-serif;
}

    .dl-df-card,
    .dl-df-card * {
        box-sizing: border-box;
    }

.dl-df-card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 28px;
    margin-bottom: 20px;
    min-height: 64px;
}

    .dl-df-card__header::before {
        content: "";
        position: absolute;
        inset: 3px auto 3px 0;
        width: 5px;
        background: #ed0043;
        border-radius: 5px 0 0 5px;
    }

.dl-df-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 64px;
    height: 60px;
    border-radius: 22px;
    background: #fceef3;
    color: #ed0043;
    font-size: 30px;
}

.dl-df-card__title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
}

.dl-df-card__description {
    margin: 3px 0 0;
    color: #788198;
}

/* Google: https://developers.google.com/identity/branding-guidelines */
@font-face {
    font-family: 'Duedly Google Sans';
    src: url('../fonts/google-sans-500.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

.google-signin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #747775;
    border-radius: 4px;
    background: #fff;
    color: #1f1f1f;
    font-family: 'Duedly Google Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.google-signin-button img {
    flex: 0 0 20px;
    margin-right: 10px;
}

.google-signin-button:hover {
    box-shadow: 0 1px 2px 0 #3c40434d, 0 1px 3px 1px #3c404326;
}

.google-signin-button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}
