@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body, .page {
    height: 100%;
    margin: 0;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color, var(--DS-color-content-neutral-default-rest));
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
    text-align: center;
    width: 100%;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}

.or {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.3125rem 0;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color, var(--DS-color-content-neutral-default-rest));
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color, var(--DS-color-content-neutral-default-rest));
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color, var(--DS-color-content-neutral-default-rest));
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: center; 
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary, var(--DS-primary-90));
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: var(--icon-provider-width);
    height: var(--icon-provider-height);
    background-image: var(--icon-provider-background-image);
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

/* Propios */

/* Centered-page Layout */
.centered-page {
    max-width: 32rem;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}


 /* Loading Indicator */
.wait-indicator-container {
    position: fixed;
    top: 25vh;
    left: 0;
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Toasts */
.fixed-message {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    min-width: 300px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    user-select: none;
}

.fixed-message-success {
    background-color: #28a745; 
}

.fixed-message-error {
    background-color: #dc3545; 
}

/* Toolbar */


.toolbar-add-icon {
    background-image: url("/images/components/toolbar/plus-circle-fill.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-delete-icon {
    background-image: url("/images/components/toolbar/delete-fill.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-edit-icon {
    background-image: url("/images/components/toolbar/edit-fill.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-edit-white-icon {
    background-image: url("/images/components/toolbar/edit-fill.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
    filter: invert(1) grayscale(100%);
}

.toolbar-collapse-icon {
    background-image: url("/images/components/toolbar/arrows-collapse.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-expand-icon {
    background-image: url("/images/components/toolbar/arrows-expand.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-editColumns-icon {
    background-image: url("/images/components/toolbar/edit-column-fill.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-export-icon {
    background-image: url("/images/components/toolbar/export.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}

.toolbar-pdf-icon {
    background-image: url("/images/components/toolbar/filetype-pdf.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}
.toolbar-csv-icon {
    background-image: url("/images/components/toolbar/filetype-csv.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}
.toolbar-xlsx-icon {
    background-image: url("/images/components/toolbar/filetype-xlsx.svg");
    background-repeat: repeat;
    width: 16px;
    height: 16px;
}


/* CSS para el footer*/
.app-vert {
    min-height: 100svh; 
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1 0 auto;
    display: block; 
}

.app-footer {
    margin-top: auto;
}
