@font-face {
    font-family: 'GT-Standard-L';
    src: url('../fonts/GT-Standard-L.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: 'GT-Standard-L', 'Segoe UI', Tahoma, Geneva, sans-serif;
}

:root {
    --app-select-border: #b8c0cc;
    --app-select-border-hover: #8d9aad;
    --app-select-border-focus: #2f6fec;
    --app-select-text: #1f2a37;
}

select.custom-select,
select.form-select,
select.form-control {
    border: 1px solid var(--app-select-border);
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: var(--app-select-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    padding: 0.35rem 2.2rem 0.35rem 0.7rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../Images/select-chevron.svg");
    background-position: right 0.65rem center;
    background-size: 12px 8px;
    background-repeat: no-repeat;
}

select.custom-select::-ms-expand,
select.form-select::-ms-expand,
select.form-control::-ms-expand {
    display: none;
}

select.custom-select:hover,
select.form-select:hover,
select.form-control:hover {
    border-color: var(--app-select-border-hover);
}

select.custom-select:focus,
select.form-select:focus,
select.form-control:focus {
    border-color: var(--app-select-border-focus);
    box-shadow: 0 0 0 0.2rem rgba(47, 111, 236, 0.18);
    outline: 0;
}

html {
    font-family: 'GT-Standard-L', 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-size: 14px;
}

body {
    /*background-image: url("../Images/DXC_Logo.png");*/
    background-color: #cccccc;
    font-family: 'GT-Standard-L', 'Segoe UI', Tahoma, Geneva, sans-serif;
    line-height: 1.35;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.applications-title,
.applications-subtitle {
    font-family: 'GT-Standard-L', 'Segoe UI', Tahoma, Geneva, sans-serif;
}

.body-container {
    margin-top: 44px;
    padding-bottom: 24px;
    font-family: 'GT-Standard-L', 'Segoe UI', Tahoma, Geneva, sans-serif;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}

.row {
    --bs-gutter-y: 0.65rem;
}

.card-body {
    padding: 0.75rem;
}

.form-control,
.form-select,
.btn,
.dropdown-item {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.form-control,
.form-select {
    min-height: calc(1.4em + 0.6rem + 2px);
}

input.form-control,
textarea.form-control {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-weight: 400;
}

select.form-select,
select.custom-select,
select.form-control {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-weight: 400;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
}

.table > :not(caption) > * > * {
    padding: 0.45rem;
}

.navbar .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.theme-toggle-btn {
    width: 38px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle-btn svg {
    display: block;
    transition: transform 0.24s ease, opacity 0.2s ease;
    transform: rotate(0deg) scale(1);
}

.theme-toggle-btn.is-dark svg {
    transform: rotate(20deg) scale(1.04);
}

.welcome-page li {
  list-style: none;
  padding: 4px; }

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0; }

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray; }
  .grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold; }
    .grants-page .card .card-title img {
      width: 100px;
      height: 100px; }
  .grants-page .card label {
    font-weight: bold; }



@media (prefers-reduced-motion: reduce) {
    .boton {
        transition: none;
    }
}

.boton:hover {
    color: #FF7E51;
    text-decoration: none;
}

.boton:focus, .boton.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(95, 36, 259, 0.25);
}

.boton.disabled, .boton:disabled {
    opacity: 0.65;
}

a.boton.disabled,
fieldset:disabled a.boton_dxc {
    pointer-events: none;
}

.boton_xxxx {
    /*width: 75%;*/ /* 50% del contenedor <li> */
    /*height: 100%;*/

    width: 120px;
    height: 50px;

    max-width: 250px;
    min-width: 150px;
    font-size: 11px;
    padding: 3px;
    border: 1px solid;
    border-radius: 4px;
    line-height: 20px;
    text-transform: none;
    font-weight: inherit;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    outline: none;
    border-color: #004AAC;
    background-color: #004AAC;
    color: white;
    appearance: button;
    -webkit-appearance: button;
}

@media (min-width: 768px) {
    .boton_xxxx {
        font-size: 11px;
        height: 50px;
    }
}

.boton_xxxx:hover {
    color: white;
    background-color: #0069d9;
    border-color: #0062cc;
}

.boton_xxxx:focus, .boton_xxxx.focus {
    color: white;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.boton_xxxx.disabled, .boton_xxxx:disabled {
    color: white;
    border-color: #004AAC;
    background-color: #004AAC;
}

.boton_xxxx:not(:disabled):not(.disabled):active, .boton_xxxx:not(:disabled):not(.disabled).active,
.show > .boton_xxxx.dropdown-toggle {
    color: white;
    background-color: #0062cc;
    border-color: #005cbf;
}

    .boton_xxxx:not(:disabled):not(.disabled):active:focus, .boton_xxxx:not(:disabled):not(.disabled).active:focus,
    .show > .boton_xxxx.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }





.boton_dxc {
    /*120 - 40   font 11 pepese */
    width: 120px;  
    height: 36px;
    padding: 3px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    text-transform: none;
    font-weight: inherit;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    outline: none;
    border-color: #004AAC;
    background-color: #004AAC;
    color: white;
    appearance: button;
    -webkit-appearance: button;
}

    .boton_dxc:hover {
        color: white;
        background-color: #0069d9;
        border-color: #0062cc;
    }

    .boton_dxc:focus, .boton_dxc.focus {
        color: white;
        background-color: #0069d9;
        border-color: #0062cc;
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .boton_dxc.disabled, .boton_dxc:disabled {
        color: white;
        border-color: #004AAC;
        background-color: #004AAC;
    }

    .boton_dxc:not(:disabled):not(.disabled):active, .boton_dxc:not(:disabled):not(.disabled).active,
    .show > .boton_dxc.dropdown-toggle {
        color: white;
        background-color: #0062cc;
        border-color: #005cbf;
    }

        .boton_dxc:not(:disabled):not(.disabled):active:focus, .boton_dxc:not(:disabled):not(.disabled).active:focus,
        .show > .boton_dxc.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }


body {
    background-color: #f8f9fa !important;
}

.intro {
    background-image: url("../Images/Fondo_portal.jpeg") ;
    background-size: cover;
 }


.intro2 {
    background-color: #f8f9fa !important;
}

.text_portall {
    color: #007bff !important;
    text-decoration: none !important;
    background-color: transparent !important;
    text-align: left;
}

.text_portalc {
    color: #007bff !important;
    text-decoration: none !important;
    background-color: transparent !important;
    text-align: center;
}


.targeta {
    border:none;
}

.applications-page .targeta {
    max-width: none;
    position: relative;
}

.applications-page {
    margin-top: -1.1rem;
}

.applications-page .apps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 280px));
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 1.25rem;
}

.applications-page .apps-card {
    margin: 0;
    width: 100%;
    min-height: 150px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 28px rgba(18, 44, 78, 0.14);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.applications-page .apps-card form,
.applications-page .apps-card button,
.applications-page .apps-card .card-block {
    background: transparent !important;
}

.applications-page .apps-card-button {
    color: inherit;
}

.applications-page .app-card-name {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
    color: #111f30;
}

.applications-page .app-card-version {
    margin-bottom: 0 !important;
    font-size: 0.82rem;
    color: #4f6074;
    letter-spacing: 0.02em;
}

.applications-page .app-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.applications-page .applications-hero {
    margin-top: -1.1rem;
}

.applications-page .applications-title {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.applications-page .applications-subtitle {
    font-size: 1.1rem;
}

.applications-page .targeta:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: #c8d7ea;
    box-shadow: 0 18px 36px rgba(18, 44, 78, 0.2);
    z-index: 2;
}

.applications-page .portal-alert-message {
    padding: 0.9rem 1rem;
}

.applications-page .portal-password-cta {
    margin-top: 0.65rem;
}

.applications-page .portal-change-password-btn {
    width: auto;
    min-width: 170px;
    height: auto;
    padding: 0.45rem 1rem;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .applications-page .apps-grid {
        grid-template-columns: repeat(3, minmax(220px, 280px));
    }
}

@media (max-width: 992px) {
    .applications-page .apps-grid {
        grid-template-columns: repeat(2, minmax(220px, 280px));
    }

    .applications-page .applications-title {
        font-size: 2rem;
    }

    .applications-page .applications-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .applications-page .apps-grid {
        grid-template-columns: minmax(220px, 320px);
    }

    .applications-page .portal-change-password-btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .applications-page .applications-title {
        font-size: 1.6rem;
    }

    .applications-page .applications-subtitle {
        font-size: 0.95rem;
    }
}

.admin-menu-page {
    margin-top: -0.35rem;
}

.admin-menu-page .admin-menu-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.35rem;
    border: 1px solid #dfe6ef;
    background: linear-gradient(135deg, #f7fafc 0%, #eef4fb 55%, #fdfefe 100%);
    box-shadow: 0 14px 30px rgba(18, 44, 78, 0.1);
}

.admin-menu-page .admin-menu-hero-copy {
    max-width: 760px;
}

.admin-menu-page .admin-menu-eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #335f92;
}

.admin-menu-page .admin-menu-title {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.05;
}

.admin-menu-page .admin-menu-subtitle {
    margin: 0.55rem 0 0;
    max-width: 62ch;
    font-size: 1rem;
    color: #526173;
}

.admin-menu-page .admin-menu-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 150px));
    gap: 0.8rem;
    align-self: stretch;
}

.admin-menu-page .admin-menu-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(56, 92, 138, 0.12);
    background: rgba(255, 255, 255, 0.74);
    min-height: 96px;
}

.admin-menu-page .admin-menu-stat-label {
    font-size: 0.82rem;
    color: #617284;
}

.admin-menu-page .admin-menu-stat-value {
    margin-top: 0.15rem;
    font-size: 1.9rem;
    line-height: 1;
    color: #1b2e45;
}

.admin-menu-page .admin-menu-section + .admin-menu-section {
    margin-top: 1.45rem;
}

.admin-menu-page .admin-menu-section-title {
    margin: 0 0 0.8rem;
    font-size: 1.18rem;
}

.admin-menu-page .admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1rem;
}

.admin-menu-page .admin-menu-card {
    display: block;
    height: 100%;
    padding: 1rem 1rem 0.95rem;
    border: 1px solid #dfe6ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(18, 44, 78, 0.08);
    transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
    color: inherit;
}

.admin-menu-page .admin-menu-card:hover {
    transform: translateY(-2px);
    border-color: #c8d7ea;
    box-shadow: 0 16px 32px rgba(18, 44, 78, 0.14);
}

.admin-menu-page .admin-menu-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.admin-menu-page .admin-menu-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(31, 91, 216, 0.1);
    color: #1f5bd8;
    font-size: 0.78rem;
    font-weight: 600;
}

.admin-menu-page .admin-menu-card-arrow {
    color: #7d8da1;
    font-size: 1rem;
}

.admin-menu-page .admin-menu-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    color: #162536;
}

.admin-menu-page .admin-menu-card-description {
    margin: 0;
    color: #5d6c7c;
    font-size: 0.94rem;
    line-height: 1.35;
}

.admin-menu-page .admin-menu-footer-actions {
    margin-top: 1.4rem;
}

@media (max-width: 992px) {
    .admin-menu-page .admin-menu-hero {
        flex-direction: column;
    }

    .admin-menu-page .admin-menu-hero-meta {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .admin-menu-page .admin-menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .admin-menu-page .admin-menu-hero {
        padding: 1rem;
    }

    .admin-menu-page .admin-menu-title {
        font-size: 1.8rem;
    }

    .admin-menu-page .admin-menu-subtitle {
        font-size: 0.95rem;
    }

    .admin-menu-page .admin-menu-hero-meta {
        grid-template-columns: 1fr 1fr;
    }

    .admin-menu-page .admin-menu-card {
        padding: 0.9rem;
    }
}

.login-page .login-panel {
    width: 100%;
    max-width: 430px;
    margin-top: 0;
}

.login-page {
    padding-top: 8rem;
}

.login-page .login-panel .card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 576px) {
    .login-page {
        padding-top: 5rem;
    }

    .login-page .login-panel {
        max-width: 100%;
        margin-top: 0;
    }
}

.users-page .row.w-100,
.users-page form.row {
    margin-left: 0;
    margin-right: 0;
}

.users-page .form-group label {
    display: block;
    margin-bottom: 0.25rem;
}

.users-page .users-form .form-group {
    margin-bottom: 0;
}

.users-page .custom-select,
.users-page .form-control {
    width: 100%;
}

.users-page .users-form {
    display: grid;
    column-gap: 1rem;
    row-gap: 0.35rem;
    align-items: end;
}

.users-page .users-form-with-role {
    grid-template-columns: minmax(300px, 420px) minmax(220px, 280px) 110px;
}

.users-page .users-form-no-role {
    grid-template-columns: minmax(300px, 420px) 110px;
}

.users-page .users-col-user,
.users-page .users-col-role,
.users-page .users-col-action {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.users-page .users-col-user .form-group,
.users-page .users-col-role .form-group,
.users-page .users-col-action .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.users-page .users-col-user .form-group > label,
.users-page .users-col-role .form-group > label {
    display: block !important;
}

/* Keep Choose User / Choose Role / Action button on the same baseline.
   User column has an extra search input above the select. */
.users-page .users-col-role .form-group,
.users-page .users-col-action .form-group {
    padding-top: 2.15rem;
}

.users-page .users-col-action .form-group {
    margin-bottom: 0;
}

.users-page .btn {
    width: 100%;
    min-width: 96px;
}

.users-page .users-create-btn {
    width: 136px;
    min-width: 136px;
    white-space: nowrap;
}

.users-page.users-v3 {
    max-width: 1160px;
}

.users-page .users-v3-hero,
.users-page .users-v3-context,
.users-page .users-v3-action-card {
    border: 1px solid #d6dde7;
    border-radius: 14px;
    background: linear-gradient(155deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 12px 28px rgba(20, 35, 52, 0.08);
}

.users-page .users-v3-eyebrow {
    color: #40648f;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    font-weight: 700;
}

.users-page .users-v3-title {
    color: #13263c;
    letter-spacing: 0.01em;
}

.users-page .users-v3-subtitle {
    color: #556f8f;
}

.users-page .users-v3-insights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.users-page .users-v3-insights-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #40648f;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-right: 0.1rem;
}

.users-page .users-v3-pill {
    border: 1px solid #c7d5e7;
    border-radius: 999px;
    background: #eef4ff;
    color: #274464;
    padding: 0.25rem 0.75rem;
    font-size: 0.88rem;
}

.users-page .users-v3-pill.users-v3-pill-enabled {
    border-color: #a8d8ba;
    background: #e8f5ed;
    color: #2e7d54;
}

.users-page .users-v3-pill.users-v3-pill-disabled {
    border-color: #e8a8a8;
    background: #fde8e8;
    color: #c53030;
}

.users-page .users-v3-layout {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.users-page .users-v3-context {
    position: sticky;
    top: 88px;
}

.users-page .users-v3-panel-title {
    margin-bottom: 0.2rem;
    color: #183251;
}

.users-page .users-v3-panel-note {
    margin-bottom: 0.9rem;
    color: #5f7692;
    font-size: 0.92rem;
}

.users-page .users-v3-selected {
    border-top: 1px solid #dde5f0;
    padding-top: 0.65rem;
}

.users-page .users-v3-selected-label {
    display: block;
    font-size: 0.78rem;
    color: #6a8099;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.users-page .users-v3-selected-value {
    color: #173657;
    word-break: break-word;
}

.users-page .users-v3-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.users-page .users-v3-action-card {
    overflow: hidden;
}

.users-page .users-v3-action-title {
    margin-bottom: 0.2rem;
    color: #142e4d;
}

.users-page .users-v3-action-desc {
    margin-bottom: 0.75rem;
    color: #5c7694;
}

.users-page .users-v3-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.users-page .users-v3-action-row .btn {
    width: auto;
}

.users-page .users-v3-action-role {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(145deg, #f7fbff 0%, #edf4ff 100%);
}

.users-page .users-v3-action-access {
    border-left: 4px solid #2fa56d;
    background: linear-gradient(145deg, #f4fff9 0%, #eaf9f1 100%);
}

.users-page .users-v3-action-danger {
    border-left: 4px solid #d9a63a;
    background: linear-gradient(145deg, #fffdf7 0%, #fff8e7 100%);
}

.preassign-user-role-page .form-group {
    margin-bottom: 1rem;
}

.preassign-user-role-page .form-check {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.preassign-user-role-page .btn {
    min-width: 110px;
}

.preassign-user-role-page + div {
    margin-top: 0.5rem;
}

.crud-form-page .form-group {
    margin-bottom: 0.85rem;
}

.crud-form-page .form-check {
    margin-top: 0.2rem;
    margin-bottom: 0.85rem;
}

.crud-form-page .btn {
    min-width: 110px;
}

.crud-form-page + div {
    margin-top: 0.5rem;
}

.identity-account-page .row {
    row-gap: 0.9rem;
}

.identity-account-page .form-group {
    margin-bottom: 0.95rem;
}

.identity-account-page .twofactor-login-page {
    margin-top: 0.2rem;
}

.identity-account-page .twofactor-login-card {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 3px 10px rgba(30, 42, 58, 0.06);
}

.identity-account-page .twofactor-login-card hr {
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
}

.identity-account-page .twofactor-login-help {
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.identity-account-page .form-check,
.identity-account-page .checkbox {
    margin-top: 0.25rem;
    margin-bottom: 0.95rem;
}

.identity-account-page .boton_dxc {
    width: auto;
    min-width: 140px;
    max-width: 100%;
    height: auto;
    padding: 0.42rem 0.78rem;
    line-height: 1.2;
    white-space: normal;
}

.identity-account-page button.boton_dxc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.identity-account-page .twofactor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.45rem;
}

.identity-account-page .tfa-btn {
    min-width: 0;
    width: auto;
    max-width: 220px;
    padding: 0.34rem 0.72rem;
    font-size: 13px;
    line-height: 1.15;
}

.identity-account-page form .boton_dxc + .boton_dxc,
.identity-account-page p .boton_dxc + .boton_dxc {
    margin-left: 0.45rem;
}

@media (max-width: 576px) {
    .identity-account-page .boton_dxc {
        width: 100%;
    }

    .identity-account-page .twofactor-login-card {
        padding: 0.85rem 0.85rem 0.8rem;
    }

    .identity-account-page .twofactor-actions {
        width: 100%;
        gap: 0.45rem;
    }

    .identity-account-page .tfa-btn {
        max-width: none;
    }

    .identity-account-page form .boton_dxc + .boton_dxc,
    .identity-account-page p .boton_dxc + .boton_dxc {
        margin-left: 0;
        margin-top: 0.45rem;
    }
}

/* Dark mode */
html.dark-mode,
body.dark-mode {
    background-color: #0f141a;
    color: #d6dde6;
}

body.dark-mode {
    background-color: #0f141a !important;
}

body.dark-mode a {
    color: #8ab4ff;
}

body.dark-mode .navbar.bg-dark {
    background-color: #111923 !important;
    border-bottom: 1px solid #243246;
}

body.dark-mode .navbar .nav-link,
body.dark-mode .navbar-brand {
    color: #d6dde6 !important;
}

body.dark-mode .dropdown-menu {
    background-color: #1b2430;
    border: 1px solid #2f3d50;
}

body.dark-mode .dropdown-item {
    color: #d6dde6;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background-color: #263345;
    color: #ffffff;
}

body.dark-mode .card,
body.dark-mode .p-4.p-lg-2.bg-light,
body.dark-mode .p-2.p-lg-1.bg-light {
    background-color: #161e29 !important;
    color: #d6dde6;
    border-color: #2a3748;
}

body.dark-mode .table {
    color: #d6dde6;
}

body.dark-mode .table-bordered,
body.dark-mode .table-bordered td,
body.dark-mode .table-bordered th,
body.dark-mode .table td,
body.dark-mode .table th {
    border-color: #2d3a4b;
}

body.dark-mode .table-hover tbody tr:hover {
    background-color: rgba(110, 146, 190, 0.1);
}

body.dark-mode .appclients-index-page .table thead th,
body.dark-mode .applications-index-page .table thead th,
body.dark-mode .preassign-user-role-index-page .table thead th,
body.dark-mode .scopes-index-page .table thead th {
    background-color: #1a2431;
}

body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode select.custom-select,
body.dark-mode select.form-select,
body.dark-mode select.form-control,
body.dark-mode textarea.form-control {
    background-color: #121a24;
    color: #d6dde6;
    border-color: #314155;
}

body.dark-mode .form-control::placeholder,
body.dark-mode textarea.form-control::placeholder {
    color: #91a0b2;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus,
body.dark-mode select.custom-select:focus,
body.dark-mode textarea.form-control:focus {
    background-color: #121a24;
    color: #ffffff;
    border-color: #4f84d6;
    box-shadow: 0 0 0 0.2rem rgba(79, 132, 214, 0.22);
}

body.dark-mode .btn-outline-secondary {
    color: #c3d0dd;
    border-color: #4b5a6d;
}

body.dark-mode .btn-outline-secondary:hover {
    color: #ffffff;
    background-color: #3b4d63;
    border-color: #566a82;
}

body.dark-mode .text-muted,
body.dark-mode .form-text {
    color: #9baabc !important;
}

body.dark-mode .alert-success {
    color: #d8f3df;
    background-color: #173322;
    border-color: #28533a;
}

body.dark-mode .alert-danger {
    color: #ffd8dc;
    background-color: #3a1a22;
    border-color: #66303d;
}

body.dark-mode .alert-warning {
    color: #ffeec4;
    background-color: #3c2f14;
    border-color: #69542a;
}

body.dark-mode .admin-menu-page .admin-menu-hero {
    border-color: #2a394d;
    background: linear-gradient(135deg, #141d28 0%, #192636 60%, #162332 100%);
    box-shadow: 0 14px 30px rgba(2, 8, 16, 0.45);
}

body.dark-mode .admin-menu-page .admin-menu-eyebrow,
body.dark-mode .admin-menu-page .admin-menu-card-tag {
    color: #9fc3ff;
}

body.dark-mode .admin-menu-page .admin-menu-title,
body.dark-mode .admin-menu-page .admin-menu-card-title,
body.dark-mode .admin-menu-page .admin-menu-stat-value,
body.dark-mode .admin-menu-page .admin-menu-section-title {
    color: #e3eaf2;
}

body.dark-mode .admin-menu-page .admin-menu-subtitle,
body.dark-mode .admin-menu-page .admin-menu-card-description,
body.dark-mode .admin-menu-page .admin-menu-stat-label {
    color: #a3b0c0;
}

body.dark-mode .admin-menu-page .admin-menu-stat-card,
body.dark-mode .admin-menu-page .admin-menu-card {
    background: #1a2431;
    border-color: #2f4054;
    box-shadow: 0 10px 24px rgba(2, 8, 16, 0.35);
}

body.dark-mode .admin-menu-page .admin-menu-card:hover {
    border-color: #466181;
    box-shadow: 0 16px 32px rgba(2, 8, 16, 0.48);
}

body.dark-mode .applications-page .apps-card {
    border-color: #2d3d50;
    background: linear-gradient(165deg, #142236 0%, #1a2d43 58%, #24354b 100%);
    box-shadow: 0 12px 28px rgba(2, 8, 16, 0.45);
}

body.dark-mode .applications-page {
    background: transparent;
}

body.dark-mode .applications-page .container {
    background: transparent;
}

body.dark-mode .applications-page .p-2.p-lg-1.bg-light.rounded-3 {
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

body.dark-mode .applications-page .applications-hero {
    border: 1px solid #2c4259;
    border-radius: 12px;
    background: linear-gradient(150deg, #0f1f31 0%, #172c46 62%, #203853 100%);
    box-shadow: 0 12px 30px rgba(4, 10, 18, 0.45);
}

body.dark-mode .applications-page .applications-title {
    color: #e7eff8;
}

body.dark-mode .applications-page .applications-subtitle {
    color: #a8bfd8;
}

body.dark-mode .applications-page .app-card-name {
    color: #e8f0fa;
}

body.dark-mode .applications-page .app-card-version {
    color: #a4bed8;
}

body.dark-mode .applications-page .app-logo {
    filter: drop-shadow(0 2px 6px rgba(3, 8, 14, 0.45));
}

body.dark-mode .applications-page .targeta:hover {
    border-color: #425a77;
    box-shadow: 0 18px 36px rgba(2, 8, 16, 0.55);
}

.applications-edit-page .form-group {
    margin-bottom: 0.85rem;
}

.applications-edit-page .form-check {
    margin-top: 0.2rem;
    margin-bottom: 0.85rem;
}

.applications-edit-page .btn {
    min-width: 110px;
}

.applications-edit-page + div {
    margin-top: 0.5rem;
}

.preassign-user-role-index-page {
    margin-top: 0.5rem;
}

.applications-index-page {
    margin-top: 0.5rem;
}

.appclients-index-page,
.scopes-index-page {
    margin-top: 0.5rem;
}

.preassign-user-role-index-page .table > :not(caption) > * > *,
.applications-index-page .table > :not(caption) > * > *,
.appclients-index-page .table > :not(caption) > * > *,
.scopes-index-page .table > :not(caption) > * > * {
    padding: 0.5rem 0.65rem;
    vertical-align: middle;
    line-height: 1.2;
}

.preassign-user-role-index-page .table,
.applications-index-page .table,
.appclients-index-page .table,
.scopes-index-page .table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d5deea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(18, 44, 78, 0.08);
}

.preassign-user-role-index-page .table thead th:first-child,
.applications-index-page .table thead th:first-child,
.appclients-index-page .table thead th:first-child,
.scopes-index-page .table thead th:first-child {
    border-top-left-radius: 14px;
}

.preassign-user-role-index-page .table thead th:last-child,
.applications-index-page .table thead th:last-child,
.appclients-index-page .table thead th:last-child,
.scopes-index-page .table thead th:last-child {
    border-top-right-radius: 14px;
}

.preassign-user-role-index-page .table tbody tr:last-child td:first-child,
.applications-index-page .table tbody tr:last-child td:first-child,
.appclients-index-page .table tbody tr:last-child td:first-child,
.scopes-index-page .table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}

.preassign-user-role-index-page .table tbody tr:last-child td:last-child,
.applications-index-page .table tbody tr:last-child td:last-child,
.appclients-index-page .table tbody tr:last-child td:last-child,
.scopes-index-page .table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

.preassign-user-role-index-page .table thead th,
.applications-index-page .table thead th,
.appclients-index-page .table thead th,
.scopes-index-page .table thead th {
    background-color: #f5f7fa;
}

.preassign-user-role-index-page .table tbody td,
.applications-index-page .table tbody td,
.appclients-index-page .table tbody td,
.scopes-index-page .table tbody td {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-weight: 400;
}

.preassign-user-role-index-page .table thead th,
.applications-index-page .table thead th,
.appclients-index-page .table thead th,
.scopes-index-page .table thead th {
    border-bottom: 1px solid #d6dfeb;
}

.preassign-user-role-index-page .table tbody tr + tr td,
.applications-index-page .table tbody tr + tr td,
.appclients-index-page .table tbody tr + tr td,
.scopes-index-page .table tbody tr + tr td {
    border-top: 1px solid #dde5f0;
}

.preassign-user-role-index-page .btn,
.applications-index-page .btn,
.appclients-index-page .btn,
.scopes-index-page .btn {
    min-width: 110px;
}

.preassign-user-role-index-page .preassign-actions,
.applications-index-page .preassign-actions,
.appclients-index-page .preassign-actions,
.scopes-index-page .preassign-actions {
    white-space: nowrap;
}

.preassign-user-role-index-page .preassign-icon-btn,
.applications-index-page .preassign-icon-btn,
.appclients-index-page .preassign-icon-btn,
.scopes-index-page .preassign-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    margin: 0 0.2rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.preassign-user-role-index-page .preassign-icon-btn:hover,
.applications-index-page .preassign-icon-btn:hover,
.appclients-index-page .preassign-icon-btn:hover,
.scopes-index-page .preassign-icon-btn:hover {
    transform: translateY(-1px);
}

.preassign-user-role-index-page .preassign-edit,
.applications-index-page .preassign-edit,
.appclients-index-page .preassign-edit,
.scopes-index-page .preassign-edit {
    color: #1f5bd8;
    background-color: rgba(31, 91, 216, 0.12);
}

.preassign-user-role-index-page .preassign-details,
.applications-index-page .preassign-details,
.appclients-index-page .preassign-details,
.scopes-index-page .preassign-details {
    color: #0f8b8d;
    background-color: rgba(15, 139, 141, 0.14);
}

.preassign-user-role-index-page .preassign-delete,
.applications-index-page .preassign-delete,
.appclients-index-page .preassign-delete,
.scopes-index-page .preassign-delete {
    color: #c53030;
    background-color: rgba(197, 48, 48, 0.12);
}

.scopes-index-page .table {
    table-layout: fixed;
}

.scopes-index-page .scopes-cell-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scopes-index-page .preassign-icon-btn {
    width: 28px;
    height: 28px;
}

.users-page .custom-select,
.users-page .user-search-input {
    border: 1px solid #b8c0cc;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #1f2a37;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.users-page .custom-select {
    padding: 0.35rem 2.2rem 0.35rem 0.7rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../Images/select-chevron.svg");
    background-position: right 0.65rem center;
    background-size: 12px 8px;
    background-repeat: no-repeat;
}

.users-page .custom-select:hover,
.users-page .user-search-input:hover {
    border-color: #8d9aad;
}

.users-page .custom-select:focus,
.users-page .user-search-input:focus {
    border-color: #2f6fec;
    box-shadow: 0 0 0 0.2rem rgba(47, 111, 236, 0.18);
    outline: 0;
}

.users-page .user-search-input {
    font-size: 0.95rem;
}

.users-page .users-search-wrap {
    position: relative;
}

.users-page .users-search-wrap .user-search-input {
    padding-right: 2rem;
}

.users-page .users-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.35rem;
    height: 1.35rem;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6f84;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.users-page .users-search-clear:hover {
    background: #e8eef6;
    color: #2e4763;
}

.users-page .users-search-clear:focus {
    outline: none;
    box-shadow: 0 0 0 0.14rem rgba(47, 111, 236, 0.25);
}

@media (max-width: 992px) {
    .users-page .users-v3-layout {
        grid-template-columns: 1fr;
    }

    .users-page .users-v3-context {
        position: static;
    }

    .users-page .users-form-with-role {
        grid-template-columns: minmax(240px, 1fr) minmax(200px, 1fr) 110px;
    }

    .users-page .users-form-no-role {
        grid-template-columns: minmax(240px, 1fr) 110px;
    }
}

@media (max-width: 768px) {
    .users-page .users-v3-hero .card-body {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .users-page .users-v3-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .users-page .users-v3-action-row .btn {
        width: 100%;
    }

    .users-page .users-v3-insights {
        flex-direction: column;
    }

    .users-page .users-v3-pill {
        border-radius: 10px;
    }

    .users-page .users-form-with-role,
    .users-page .users-form-no-role {
        grid-template-columns: 1fr;
    }

    .users-page .users-col-role .form-group,
    .users-page .users-col-action .form-group {
        padding-top: 0;
    }

    .users-page .users-col-action {
        max-width: 140px;
    }
}

    .targeta:hover {
        transform: scale(1.1);
        box-shadow: 10px 10px 20px lightgray;
    }

body.dark-mode .preassign-user-role-index-page,
body.dark-mode .applications-index-page,
body.dark-mode .appclients-index-page,
body.dark-mode .scopes-index-page {
    color: #d9e5f2;
}

body.dark-mode .users-page .users-v3-hero,
body.dark-mode .users-page .users-v3-context,
body.dark-mode .users-page .users-v3-action-card {
    border-color: #2a394c;
    background: linear-gradient(165deg, #162331 0%, #1a2a3a 100%);
    box-shadow: 0 10px 24px rgba(2, 8, 16, 0.35);
}

body.dark-mode .users-page .users-v3-title,
body.dark-mode .users-page .users-v3-panel-title,
body.dark-mode .users-page .users-v3-action-title {
    color: #e3ecf5;
}

body.dark-mode .users-page .users-v3-selected-value {
    color: #a8bfd0;
}

body.dark-mode .users-page .users-v3-subtitle,
body.dark-mode .users-page .users-v3-panel-note,
body.dark-mode .users-page .users-v3-action-desc,
body.dark-mode .users-page .users-v3-selected-label {
    color: #9fb1c5;
}

body.dark-mode .users-page .users-v3-pill {
    border-color: #35506c;
    background: #20354c;
    color: #cedbea;
}

body.dark-mode .users-page .users-v3-pill.users-v3-pill-enabled {
    border-color: #3a7a54;
    background: #1f3a2a;
    color: #7ed4a0;
}

body.dark-mode .users-page .users-v3-pill.users-v3-pill-disabled {
    border-color: #7a3c3c;
    background: #3a1f1f;
    color: #e8a8a8;
}

body.dark-mode .users-page .users-search-clear {
    color: #97adc2;
}

body.dark-mode .users-page .users-search-clear:hover {
    background: #24364a;
    color: #c8dae9;
}

body.dark-mode .users-page .users-v3-insights-label {
    color: #7fafd4;
}

body.dark-mode .users-page .users-v3-action-role {
    border-left-color: #4b8ff7;
    background: linear-gradient(165deg, #152b44 0%, #1b3553 100%);
}

body.dark-mode .users-page .users-v3-action-access {
    border-left-color: #3ab37b;
    background: linear-gradient(165deg, #173429 0%, #1f4334 100%);
}

body.dark-mode .users-page .users-v3-action-danger {
    border-left-color: #e4b94f;
    background: linear-gradient(165deg, #3a321f 0%, #473c24 100%);
}

body.dark-mode .users-page .users-v3-selected {
    border-top-color: #31465d;
}

body.dark-mode .preassign-user-role-index-page h1,
body.dark-mode .applications-index-page h1,
body.dark-mode .appclients-index-page h1,
body.dark-mode .scopes-index-page h1,
body.dark-mode .preassign-user-role-index-page .form-label,
body.dark-mode .applications-index-page .form-label,
body.dark-mode .appclients-index-page .form-label,
body.dark-mode .scopes-index-page .form-label {
    color: #dfe9f5;
}

body.dark-mode .preassign-user-role-index-page .table,
body.dark-mode .applications-index-page .table,
body.dark-mode .appclients-index-page .table,
body.dark-mode .scopes-index-page .table {
    margin-bottom: 0;
    background-color: #131f2c;
    border: 1px solid #2b3d52;
    box-shadow: 0 12px 28px rgba(3, 9, 17, 0.42);
}

body.dark-mode .preassign-user-role-index-page .table thead th,
body.dark-mode .applications-index-page .table thead th,
body.dark-mode .appclients-index-page .table thead th,
body.dark-mode .scopes-index-page .table thead th {
    background-color: #1a2a3b;
    color: #dbe8f7;
    border-color: #31465f;
    border-bottom: 1px solid #3a516b;
}

body.dark-mode .preassign-user-role-index-page .table thead th a,
body.dark-mode .applications-index-page .table thead th a,
body.dark-mode .appclients-index-page .table thead th a,
body.dark-mode .scopes-index-page .table thead th a {
    color: #dbe8f7;
}

body.dark-mode .preassign-user-role-index-page .table tbody tr,
body.dark-mode .applications-index-page .table tbody tr,
body.dark-mode .appclients-index-page .table tbody tr,
body.dark-mode .scopes-index-page .table tbody tr {
    background-color: #142233;
}

body.dark-mode .preassign-user-role-index-page .table tbody td,
body.dark-mode .applications-index-page .table tbody td,
body.dark-mode .appclients-index-page .table tbody td,
body.dark-mode .scopes-index-page .table tbody td {
    color: #d6e3f2;
    background-color: #142233;
    border-color: #2c3f56;
}

body.dark-mode .preassign-user-role-index-page .table tbody tr + tr td,
body.dark-mode .applications-index-page .table tbody tr + tr td,
body.dark-mode .appclients-index-page .table tbody tr + tr td,
body.dark-mode .scopes-index-page .table tbody tr + tr td {
    border-top: 1px solid #30465e;
}

body.dark-mode .preassign-user-role-index-page .table.table-hover tbody tr:hover,
body.dark-mode .applications-index-page .table.table-hover tbody tr:hover,
body.dark-mode .appclients-index-page .table.table-hover tbody tr:hover,
body.dark-mode .scopes-index-page .table.table-hover tbody tr:hover {
    background-color: #1b3046;
}

body.dark-mode .preassign-user-role-index-page .table.table-hover tbody tr:hover td,
body.dark-mode .applications-index-page .table.table-hover tbody tr:hover td,
body.dark-mode .appclients-index-page .table.table-hover tbody tr:hover td,
body.dark-mode .scopes-index-page .table.table-hover tbody tr:hover td {
    background-color: #1b3046;
}

body.dark-mode .preassign-user-role-index-page #preassignPageInfo,
body.dark-mode .applications-index-page #applicationsPageInfo,
body.dark-mode .appclients-index-page #appclientsPageInfo,
body.dark-mode .scopes-index-page #scopesPageInfo {
    color: #b8cadf;
}

