html { font-family: Arial; background: #eee; padding: 1rem; }
body { max-width: 960px; margin: 0 auto; padding-top: 1rem; background: white; }
:root {
    --ui-font-12: 12px;
    --ui-font-13: 13px;
    --ui-font-14: 14px;
    --ui-heading-h2: 18px;
}
h1 { font-family: Arial; color: #377ba8; margin: 1rem 0; font-size: 18px; }
a { color: #377ba8; }
hr { border: none; border-top: 1px solid lightgray; }
nav { background: transparent; display: block; align-items: initial; padding: 0; }
nav h1 {font-size: 18px; flex: auto; margin: 0; }
nav h1 a { text-decoration: none; padding: 0.25rem 0.5rem; }
nav ul  { display: flex; list-style: none; margin: 0; padding: 0; }
nav ul li a, nav ul li span, header .action { font-size: var(--ui-font-13); display: block; padding: 0 rem; }

.app-nav {
    background: #ffffff;
    border: 0px solid lightgray;
    border-radius: 12px;
    margin: 35px 1rem 0;
    padding: 0.5rem 0.8rem;
}

.app-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-nav__brand img {
    height: 70px;
    width: auto;
    display: block;
}

.app-nav__brand {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.35rem;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.app-nav__toggle {
    display: none;
    border: 1px solid lightgray;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.35rem 0.45rem;
    cursor: pointer;
}

.app-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.app-nav__links a {
    color: #377ba8;
    text-decoration: none;
    font-size: var(--ui-font-12);
    line-height: 1;
    padding: 0.28rem 0.48rem;
    border: 1px solid lightgray;
    border-radius: 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    min-width: 146px;
    white-space: nowrap;
    box-sizing: border-box;
}

.app-nav__links a:hover {
    background: #e8f2ff;
}

.app-nav__links .app-nav__link--logout {
    border-color: #377ba8;
}

.app-nav__links--grouped {
    gap: 0.6rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.app-nav__group {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
}

.app-nav__group-title {
    color: slategray;
    font-size: var(--ui-font-12);
    font-weight: bold;
    padding: 0 0.25rem;
    width: 100%;
    text-align: left;
}


.menu-btn-like {
    color: #377ba8;
    text-decoration: none;
    font-family: Arial;
    font-size: var(--ui-font-12);
    line-height: 1;
    padding: 0.28rem 0.48rem;
    border: 1px solid lightgray;
    border-radius: 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    min-width: 146px;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
}

.menu-btn-like:hover {
    background: #e8f2ff;
}

.menu-btn-like--contrast {
    background: rgba(232, 242, 255, 0.62);
    border-color: #377ba8;
}

.menu-btn-like--contrast:hover {
    background: rgba(232, 242, 255, 0.92);
}

.menu-btn-like--outline {
    background: #ffffff;
    border-color: #377ba8;
}

.menu-btn-like--outline:hover {
    background: #e8f2ff;
}

.menu-btn-like--primary {
    background: #377ba8;
    border-color: #377ba8;
    color: #ffffff;
}

.menu-btn-like--primary:hover {
    opacity: 0.95;
}

.menu-btn-like--compact {
    width: auto;
    min-width: 0;
    padding: 0.42rem 0.85rem;
    font-size: var(--ui-font-13);
}

.content > header .menu-btn-like--compact {
    align-self: flex-end;
    margin-bottom: 0.25rem;
    margin-right: 1rem;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.confirm-modal.is-open {
    display: flex;
}

.confirm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.confirm-modal__dialog {
    position: relative;
    width: min(420px, calc(100vw - 2rem));
    border: 1px solid lightgray;
    border-radius: 12px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.confirm-modal__dialog h2 {
    margin: 0 0 0.35rem;
    color: #377ba8;
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
}

.confirm-modal__dialog p {
    margin: 0;
    color: #1f2937;
    font-family: Arial;
    font-size: var(--ui-font-13);
}

.confirm-modal__actions {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
}

.login-topbar {
    margin: 0.9rem 1rem 0;
    padding: 0.8rem 1rem;
    border: 1px solid lightgray;
    border-radius: 12px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.login-topbar__left img {
    height: 90px;
    width: auto;
    display: block;
}

.login-topbar__right .img-infotic {
    width: 90px;
    height: 90px;
}

.login-topbar__left {
    justify-self: start;
}

.login-topbar__center {
    justify-self: center;
    text-align: center;
}

.login-topbar__right {
    justify-self: end;
}

.login-topbar-title h1 {
    margin: 0;
    font-size: 36px;
    color: #377ba8;
}

.login-topbar-title p {
    margin: 0.2rem 0 0;
    color: slategray;
    font-size: 14px;
}

.login-header-modern {
    display: none;
}

.login-header-modern h1 {
    margin: 0.8rem 0 0;
    font-size: 36px;
    color: #377ba8;
}

.login-header-modern p {
    margin: 0;
    color: slategray;
    font-size: 14px;
}

.login-shell {
    margin-top: 0.6rem;
    display: flex;
    justify-content: center;
}

.login-card-modern {
    width: 100%;
    max-width: 520px;
    border: 1px solid lightgray;
    border-radius: 14px;
    background: #f2f2f2;
    padding: 1.1rem 1.1rem 0.9rem;
}

.login-form-modern {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-form-modern .login-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.login-form-modern label {
    margin: 0;
    font-size: var(--ui-font-13);
}

.login-form-modern input[type="text"],
.login-form-modern input[type="password"] {
    margin: 0;
    border: 1px solid lightgray;
    border-radius: 8px;
    padding: 0.62rem 0.72rem;
    font-size: var(--ui-font-14);
    background: #ffffff;
}

.login-password-wrap {
    position: relative;
}

.login-password-wrap input {
    width: 100%;
    padding-right: 2.2rem;
    box-sizing: border-box;
}

.login-eye-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: #377ba8;
}

.login-captcha-wrap {
    display: flex;
    justify-content: center;
}

.login-form-modern input[type="submit"] {
    margin: 0.2rem 0 0;
    border: 1px solid #377ba8;
    border-radius: 8px;
    background: #377ba8;
    color: #ffffff;
    padding: 0.62rem 0.9rem;
    cursor: pointer;
    font-size: var(--ui-font-14);
}

.login-brand-footer {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
}

.login-brand-footer .img-login {
    width: 54px;
    height: 54px;
}

.flash {
    margin: 1em 0;
    padding: 1em;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #1f2937;
}

.flash.flash-error {
    background: #fbe3e3;
    border: 1px solid #ef9a9a;
    color: #8a1f1f;
}

.flash.flash-success {
    background: #e6f7ea;
    border: 1px solid #9ad9a5;
    color: #1f6b2a;
}

.flash.flash-warning {
    background: #fff4e5;
    border: 1px solid #ffd59e;
    color: #8a4b08;
}

.flash.flash-info {
    background: #e8f2ff;
    border: 1px solid #a8c8f0;
    color: #1f4f82;
}
.post > header { display: flex; align-items: flex-end; font-size: 0.85em; }
.post > header > div:first-of-type { flex: auto; }
.post > header h1 { font-size: 1.5em; margin-bottom: 0; }
.post .about { color: slategray; font-style: italic; }
.post .body { white-space: pre-line; }
.post img {width: 35px; height: 35px;}

/* ==================================================
   NUEVO ESTILO PARA EL BANNER DE TÍTULO DE PÁGINA
   ================================================== */

/* 1. Quitamos el padding lateral para que el banner toque los bordes */
.content { padding: 0 1rem 1rem; }

/* 2. Convertimos el header en el NUEVO BANNER AZÚL */
.content > header {
    background-color: #eef1f3; 
    
    /* Le damos altura y centramos el título adentro */
    padding: 0.5rem 2rem; /* Aire arriba/abajo y a los lados */
    display: flex;
    align-items: center; /* Centrado vertical perfecto */
    
    /* 🟢 ELIMINAMOS LA LÍNEA GRIS 🟢 */
    border-bottom: none; 
    border-left: 4px solid #007bff;
    border-radius: 4px;
    
    /* Un toque de sombra para que resalte (opcional) */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    
    /* Separación con el contenido de abajo */
    margin-bottom: 0rem;

    /* 4. Aseguramos que la caja mida el 100% para poder centrar */
    
}

/* 3. Ajustamos el título (H1) para que brille dentro del banner */
.content > header h1 {
    flex: none;
    margin: 0 auto; /* Quitamos márgenes viejos */
    text-align: center !important;
    
    /* Estilo de letra */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px; /* Un pelín más grande */
    font-weight: bold;
        
    /* ⚪ LETRA BLANCA PARA QUE RESALTE EN EL AZUL ⚪ */
    color: #050505; 
}

.content:last-child { margin-bottom: 0; }
.content form { margin: 1em 0; display: flex; flex-direction: column; }
.content label { font-weight: bold; margin-bottom: 0.5em; }
.content input, .content textarea { margin-bottom: 1em; }
.content textarea { min-height: 12em; resize: vertical; }
.content--login > header {
    border-bottom: none;
    min-height: 0;
}
.content--login > header h1 {
    margin: 0;
}
.content .modern-docu-form {
    border: 1px solid lightgray;
    border-radius: 12px;
    padding: 1.25rem;
    background: #ffffff;
    gap: 0;
}
.content .modern-docu-form .form-section {
    margin-bottom: 1.25rem;
}
.content .modern-docu-form .form-section:last-of-type {
    margin-bottom: 0.75rem;
}
.content .modern-docu-form .form-section-title {
    color: #377ba8;
    font-size: var(--ui-heading-h2);
    margin: 0 0 0.9rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid lightgray;
    font-family: Arial;
    font-weight: bold;
}
.content .modern-docu-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
}
.content .modern-docu-form .form-field {
    display: flex;
    flex-direction: column;
}
.content .modern-docu-form .form-field--full {
    grid-column: 1 / -1;
}
.content .modern-docu-form .form-field label {
    margin-bottom: 0.35rem;
}
.content .modern-docu-form .form-field input,
.content .modern-docu-form .form-field select,
.content .modern-docu-form .form-field textarea {
    margin-bottom: 0;
    border: 1px solid lightgray;
    border-radius: 8px;
    padding: 0.58rem 0.7rem;
    background: #ffffff;
    font-size: var(--ui-font-13);
}
.content .modern-docu-form .form-field input:focus,
.content .modern-docu-form .form-field select:focus,
.content .modern-docu-form .form-field textarea:focus {
    outline: none;
    border-color: #377ba8;
}
.content .integration-mode-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid lightgray;
    border-radius: 8px;
    background: #eee;
}
.content .integration-mode-options label {
    font-weight: normal;
    margin-bottom: 0;
}
.content .integration-mode-options input[type="radio"] {
    margin-right: 0.35rem;
}
.content .modern-docu-form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.content .modern-docu-form .form-actions input[type="submit"]:not(.menu-btn-like) {
    margin-bottom: 0;
    min-width: 180px;
    border: 1px solid #377ba8;
    border-radius: 8px;
    background: #377ba8;
    color: #ffffff;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-size: var(--ui-font-13);
}
.content .modern-docu-form .form-actions input[type="submit"]:not(.menu-btn-like):hover {
    opacity: 0.95;
}

.content .modern-docu-form .form-actions .menu-btn-like {
    margin-bottom: 0;
}

.content .modern-docu-form .form-actions .btn {
    min-width: 150px;
    border: 1px solid #377ba8;
    border-radius: 8px;
    padding: 0.52rem 0.9rem;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    font-size: var(--ui-font-13);
}

.content .modern-docu-form .form-actions .btn-primary {
    background: #377ba8;
    color: #ffffff;
    cursor: pointer;
}

.content .modern-docu-form .form-actions .btn-secondary {
    background: #ffffff;
    color: #377ba8;
}

.audit-log-filter-form {
    margin-bottom: 1rem;
}

.audit-log-actions {
    gap: 0.55rem;
}

.audit-log-panel {
    border: 1px solid lightgray;
    border-radius: 12px;
    background: #ffffff;
    padding: 1rem;
}

.audit-log-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.audit-log-panel__header h2 {
    margin: 0;
    font-size: var(--ui-heading-h2);
    color: #377ba8;
    font-family: Arial;
    font-weight: bold;
}

.audit-log-counter {
    color: slategray;
    font-size: 12px;
    border: 1px solid lightgray;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    background: #eee;
}

.audit-log-table-wrap {
    overflow-x: auto;
}

.audit-log-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.audit-log-table th,
.audit-log-table td {
    border-bottom: 1px solid lightgray;
    padding: 0.55rem 0.45rem;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}

.audit-log-table th {
    color: slategray;
    font-size: 12px;
    font-weight: bold;
    background: #f7f7f7;
}

.audit-event-pill {
    display: inline-block;
    border: 1px solid #a8c8f0;
    background: #e8f2ff;
    color: #1f4f82;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    font-size: 12px;
    white-space: nowrap;
}

.audit-log-details {
    max-width: 340px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audit-log-empty {
    text-align: center;
    color: slategray;
    padding: 1rem;
}


.content .password-update-form {
    max-width: 980px;
}

.content .password-update-form .password-field-wrap {
    position: relative;
}

.content .password-update-form .password-field-wrap input {
    width: 100%;
    padding-right: 2.2rem;
    box-sizing: border-box;
}

.content .password-update-form .password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: #111827;
}

.content .users-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.content .user-card-modern {
    border: 1px solid lightgray;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.content .user-card-modern h2 {
    margin: 0 0 0.65rem 0;
    color: #377ba8;
    font-size: var(--ui-heading-h2);
    font-family: Arial;
    font-weight: bold;
}

.content .user-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.content .user-meta-item {
    display: flex;
    flex-direction: column;
}

.content .user-meta-item--full {
    grid-column: 1 / -1;
}

.content .user-meta-item .label {
    color: slategray;
    font-size: 12px;
    font-weight: bold;
}

.content .user-meta-item .value {
    color: #1f2937;
    font-size: 14px;
}

.content .user-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .user-card-actions .action {
    border: 1px solid #377ba8;
    border-radius: 8px;
    padding: 0.42rem 0.85rem;
    text-decoration: none;
    line-height: 1;
    font-size: var(--ui-font-13);
}

.content .docu-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.content .docu-card-modern {
    border: 1px solid lightgray;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.content .docu-card-modern h2 {
    margin: 0 0 0.65rem 0;
    color: #377ba8;
    font-size: var(--ui-heading-h2);
    font-family: Arial;
    font-weight: bold;
}

.content .docu-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.content .docu-meta-item {
    display: flex;
    flex-direction: column;
}

.content .docu-meta-item--full {
    grid-column: 1 / -1;
}

.content .docu-meta-item .label {
    color: slategray;
    font-size: 12px;
    font-weight: bold;
}

.content .docu-meta-item .value {
    color: #1f2937;
    font-size: 14px;
    word-break: break-word;
}

.content .docu-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .docu-card-actions .action {
    border: 1px solid #377ba8;
    border-radius: 8px;
    padding: 0.42rem 0.85rem;
    text-decoration: none;
    line-height: 1;
    font-size: var(--ui-font-13);
}

.content .log-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

.content .log-card {
    border: 1px solid lightgray;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.45rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.content .log-card h2 {
    margin: 0;
    color: #377ba8;
    font-size: var(--ui-heading-h2);
    line-height: 1.2;
    font-family: Arial;
    font-weight: bold;
}

.content .log-signatures-inline {
    margin-top: 0.2rem;
    color: slategray;
    font-size: 12px;
    line-height: 1.25;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.content .log-signatures-inline .sep {
    margin: 0 0.2rem;
    color: #377ba8;
}

.content .log-pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.content .log-pdf-link img {
    width: 30px;
    height: 30px;
}

.content .log-search-form {
    margin-bottom: 0.08rem;
}

.content > header .log-header-compact {
    margin-top: -0.45rem;
}

.content .log-search-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.content .log-search-input {
    flex: 1;
    min-width: 0;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid lightgray;
    border-radius: 8px;
    padding: 0 0.7rem;
    font-size: var(--ui-font-13);
    background: #ffffff;
}

.content .log-search-input:focus {
    outline: none;
    border-color: #377ba8;
    box-shadow: 0 0 0 2px rgba(55, 123, 168, 0.12);
}

.content .log-search-button {
    height: 34px;
    box-sizing: border-box;
    border: 1px solid #377ba8;
    border-radius: 8px;
    padding: 0 0.9rem;
    background: #377ba8;
    color: #ffffff;
    font-size: var(--ui-font-13);
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.content .log-search-button:hover {
    opacity: 0.95;
}

@media (max-width: 900px) {
    .login-topbar {
        margin: 0.7rem 0.8rem 0;
        padding: 0.55rem 0.7rem;
    }

    .login-topbar__left img {
        height: 72px;
    }

    .login-topbar__right .img-infotic {
        width: 68px;
        height: 68px;
    }

    .login-topbar-title h1 {
        font-size: 28px;
    }

    .login-topbar-title p {
        font-size: 12px;
    }

    .login-card-modern {
        padding: 0.9rem 0.85rem 0.8rem;
    }

    .login-captcha-wrap {
        justify-content: flex-start;
    }

    body {
        padding-top: 0.8rem;
    }

    .app-nav__group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        padding: 0.25rem 0;
    }

    .app-nav__group + .app-nav__group {
        border-top: 1px solid lightgray;
        padding-top: 0.55rem;
        margin-top: 0.15rem;
    }

    .app-nav__group-title {
        padding: 0.1rem 0.15rem;
    }

    .app-nav__links.is-open {
        display: flex;
    }

    .app-nav__links a {
        width: 100%;
        text-align: center;
        min-width: 0;
    }

    .content .modern-docu-form .form-grid {
        grid-template-columns: 1fr;
    }
    .content .modern-docu-form .form-actions {
        justify-content: stretch;
    }
    .content .modern-docu-form .form-actions input[type="submit"] {
        width: 100%;
    }

    .content .modern-docu-form .form-actions .btn {
        width: 100%;
    }

    .content .password-update-form .password-toggle-btn {
        right: 10px;
    }

    .content .user-card-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .content .user-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .content .user-card-actions {
        justify-content: flex-end;
    }

    .content .docu-card-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .content .docu-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .content .docu-card-actions {
        justify-content: flex-end;
    }

    .content .log-card {
        align-items: flex-start;
    }

    .content .log-signatures-inline {
        flex-direction: column;
        gap: 0.1rem;
    }

    .content .log-signatures-inline .sep {
        display: none;
    }

    .content .log-search-input,
    .content .log-search-button {
        height: 32px;
    }
}

@media (max-width: 1366px) {
    .app-nav__links a {
        font-size: 13px;
        padding: 0.4rem 0.6rem;
    }

    .content .modern-docu-form {
        padding: 0.9rem;
    }
    .content .modern-docu-form .form-section {
        margin-bottom: 0.9rem;
    }
    .content .modern-docu-form .form-section-title {
        font-size: 15px;
        margin-bottom: 0.6rem;
        padding-bottom: 0.3rem;
    }
    .content .modern-docu-form .form-grid {
        gap: 0.55rem 0.8rem;
    }
    .content .modern-docu-form .form-field label {
        margin-bottom: 0.22rem;
        font-size: 14px;
    }
    .content .modern-docu-form .form-field input,
    .content .modern-docu-form .form-field select,
    .content .modern-docu-form .form-field textarea {
        padding: 0.45rem 0.6rem;
        font-size: 14px;
    }
    .content .integration-mode-options {
        padding: 0.45rem 0.6rem;
        gap: 1rem;
    }
    .content .modern-docu-form .form-actions input[type="submit"] {
        min-width: 150px;
        padding: 0.48rem 0.9rem;
    }

    .content .user-card-modern h2 {
        font-size: 24px;
    }

    .content .docu-card-modern h2 {
        font-size: 24px;
    }
}

input.danger { color: #cc2f2e; }

.Toppage{
    img {padding: 10px 10px;}
    background-color: #ffffff;
    h1{ font-size: 24px; text-align: center;}
    ul img {display: block; margin-left: auto; margin-right: auto; width:40px; height:40px;}
}
.header{
    h1{font-size: 24px ; text-align: center;}  
}

.firma{
    input[type=submit]{font-size: var(--ui-font-14); width: 100%; background-color: #b6e4f1; color: hsl(255, 95%, 16%); padding: 15px 15px; margin: 8px 0; border: none; border-radius: 4px; cursor: pointer;}
    input[type=password]{font-size: var(--ui-font-14); width: 100%; padding: 15px 15px; margin: 1px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;}
    img {display: block; margin-left: auto; margin-right: auto; width:40px; height:40px;}
    label{font-size: var(--ui-font-13);}
}

.ingresar{
    input[type=submit]{font-size: var(--ui-font-14); width: 100%; background-color: #cef1b6; color: hsl(255, 95%, 16%); padding: 10px 10px; margin: 8px 0; border: none; border-radius: 4px; cursor: pointer;}
    input{font-size: var(--ui-font-14); width: 100%; padding: 10px 10px; margin: 1px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;}
    img {display: block; margin-left: auto; margin-right: auto; width:40px; height:40px;}
    label{font-size: var(--ui-font-13);}
    h1{text-align: center;}
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
.sms {
   form, .input-field{display: flex; flex-direction: column; align-items: center; justify-content: center;}
   * {margin: 0;  padding: 0;   box-sizing: border-box;  font-family: "Poppins", sans-serif; }
   body {min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #4070f4;}
   background: #fff;    
   padding: 30px 65px;
   border-radius: 12px;
   row-gap: 20px;
   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
   h4 { font-size: 1.25rem; color: #333; font-weight: 500; text-align: center;}
   form .input-field { flex-direction: row; column-gap: 10px;}
    .input-field input { height: 45px; width: 42px; border-radius: 6px; outline: none; font-size: var(--ui-font-14); text-align: center; border: 1px solid #ddd;}
   .input-field input:focus { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);}
   .input-field input::-webkit-inner-spin-button,
   .input-field input::-webkit-outer-spin-button {display: none;}
    form button { margin-top: 25px; width: 100%; color: #fff; font-size: var(--ui-font-14); border: none; padding: 9px 0; cursor: pointer; border-radius: 6px;  
                 pointer-events: none; background: #6e93f7;  transition: all 0.2s ease;}
   form button.active {background: #4070f4; pointer-events: auto;}
   form button:hover { background: #0e4bf1;}
}

.contenedor-responsivo { position: relative; overflow: hidden; padding-top: 100%;}
.iframe-responsivo {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.tabla-menu{width: 100%;}
.img-menu {width: 40px; height: 40px;}
.columna-70 {width: 70%; text-align: left}
.columna-30 {width: 30%; text-align: right;}

.tabla-login{width: 100%;}
.img-login {width: 50px; height: 50px;}
.img-infotic {width: 90px; height: 90px;}
.col-70 {width: 70%; text-align: left}
.col-30 {width: 30%; text-align: right;}
.header-login{h1{font-size: 24px ; text-align: left;}}

.re-captcha {text-align: center;}
.g-recaptcha {display: inline-block;}

/* Estilos para el activador del menú */
.dropdown-toggle { cursor: pointer; /* Indica que es clicable */ background-color: #fff; border: 0px solid rgba(0, 0, 0, 0.15);}
/* Estilos para el menú desplegable */
.dropdown-menu {position: absolute; /* Para posicionamiento relativo al activador */ top: 100%; /* Posiciona debajo del activador */
    left: 0; background-color: #fff; /* Fondo blanco por defecto */ border: 1px solid rgba(0, 0, 0, 0.15); /* Borde tenue */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Sombra suave */z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
    display: none; /* Oculta el menú por defecto */}
/* Estilos cuando el menú está visible */
.dropdown-menu.show {display: block; /* Muestra el menú */}
/* Estilos para los elementos de menú */
.dropdown-menu a {display: block; /* Para que el espacio de cada elemento sea el de la altura */padding: 0.5rem 1rem; /* Espacio interior */
    color: #38699b; /* Color del texto por defecto */ text-decoration: none; /* Elimina el subrayado */background-color: transparent; /* Fondo transparente por defecto */
    font-size: var(--ui-font-13);}
.dropdown-menu a:hover,
.dropdown-menu a:focus {color: #fff; /* Color del texto al pasar el mouse */background-color: #007bff; /* Fondo al pasar el mouse */}
/* Estilos para el menú alineado a la derecha */
.dropdown-menu-right {left: auto; /* Desactiva la alineación a la izquierda */ right: 0; /* Alinea a la derecha */}
/* Estilos para un menú oscuro */
.dropdown-menu-dark {background-color: #343a40; /* Fondo oscuro */ color: #fff; /* Texto blanco */ border-color: rgba(0, 0, 0, 0.2); /* Borde oscuro */
}
/* Estilos para un menú desplegable en una barra de navegación */
.navbar-dropdown {position: relative;} /* Posicionamiento relativo para el menú desplegable */

.BotonOTP {
  background-color: #6661e5; 
  border: none;
  color: white;
  padding: 2% 13%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
    font-size: var(--ui-font-14);
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.audit-log-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.audit-log-page-info {
    color: slategray;
    font-size: 12px;
}

.audit-log-page-actions {
    display: flex;
    gap: 0.45rem;
}

/* Tipografía unificada para formularios (excepto Log de Firmas) */
.content form:not(.log-search-form) label {
    font-family: Arial;
    font-size: var(--ui-font-12);
}

.content form:not(.log-search-form) input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.content form:not(.log-search-form) select,
.content form:not(.log-search-form) textarea {
    font-family: Arial;
    font-size: var(--ui-font-12);
}

/* Tipografía unificada para campos de valores mostrados (solo lectura) */
.content .user-meta-item .value,
.content .docu-meta-item .value,
.content .audit-log-table td,
.content .audit-log-details,
.content .audit-event-pill,
.content .audit-log-page-info,
.content .audit-log-counter {
    font-family: Arial;
    font-size: var(--ui-font-12);
}

.audit-log-page-actions .btn {
    min-width: auto;
    padding: 0.45rem 0.75rem;
}