:root {
    --primario: #E1B73D;
    --prmario2: #EBA93B;
    --secundario: #24398A;
    --fondo: #FFF;
}

html {
    height: 100%;
}



body {
    background-image: url(/imgs/sedewraergerag.png);
    background-size: 25%;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    padding: 0;
    margin: 0;
    height: 100%;
}

p {
    margin: 1rem;
}

.m0 {
    margin: 0px;
}

.ma {
    margin: auto;
}

p {
    margin: .5rem;
    font-size: small;
    margin-left: 0;
    align-self: start;
}

.gris {
    color: gray;
}

.derecha {
    margin: auto;
    margin-right: 0;
    padding: .5rem;
}

.titulo {
    font-size: x-large;
    font-weight: 700;
}

h4 {
    font-weight: 500;
    font-size: smaller;

    margin: .2rem;
    margin-left: 0;
}

input,
select {
    color: gray;
    border-radius: 1rem;
    background-color: rgb(243, 243, 243);
    font-size: smaller;
    border: 1.5px solid lightgrey;
    font-size: medium;
    padding: 1rem;
    margin: .5rem;
    margin-left: 0;
}



.btn {
    background-color: var(--primario);
    color: white;
    border: none
}

.btnsmall {
    border: 2px gainsboro solid;
    background-color: white;
    color: #1e293b;
    width: fit-content;
    border-radius: .7rem;
    font-weight: 500;
    font-size: smaller;
    padding: .7rem;
}

.estadosmall {
    border: 2px gainsboro solid;
    background-color: white;
    color: #1e293b;
    width: fit-content;
    border-radius: .7rem;
    font-weight: 500;
    font-size: smaller;
    padding: .6rem;
}

.estverde {
    background-color: rgb(208, 255, 208);
    color: rgb(32, 202, 32);
    padding: .3rem .6rem .3rem .6rem;
}

.estamarillo {
    background-color: #f9fc6d;
    color: chocolate;
    padding: .3rem .6rem .3rem .6rem;
}

.estazul {
    background-color: lightskyblue;
    color: blue;
    padding: .3rem .6rem .3rem .6rem;
}

.alta {
    color: red;
    padding: .3rem .6rem .3rem .6rem;
}

.media {
    color: chocolate;
    padding: .3rem .6rem .3rem .6rem;
}

.baja {
    color: green;
    padding: .3rem .6rem .3rem .6rem;
}

.btnred {
    border-color: red;
    color: red;
}



.btn:hover {
    background-color: var(--prmario2);

}

.btnmain {
    background-color: var(--primario);
    color: white;
}

.btnmain:hover {
    background-color: var(--prmario2);
}

.btnsec {
    background-color: var(--primario);
    color: white;
}

.btnsec:hover {
    background-color: var(--prmario2);

}

a {
    text-decoration: none;
    color: inherit;
}

.bigertext {
    color: white;
    font-size: xxx-large;
}

.bigtext {
    color: var(--primario);
    font-weight: 600;
    font-size: x-large;
}

.fila {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    display: inline-flex;
    align-items: stretch;
    align-content: stretch;
    justify-content: center;
    align-items: center;
    overflow-wrap: normal;
    padding: 2rem;

}

.container {
    display: flex;
    gap: 10px;
    gap: 10px 20px;
    /* row-gap column gap */
    row-gap: 10px;
    column-gap: 20px;
}

.columna {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: stretch;
    align-content: stretch;

}

.azulborder {
    border: #24398A;
    border-width: .5rem;
    border-style: solid;
    border-radius: 3rem;
    padding: 1rem;
    width: 70%;
    height: 70%;
}

.azulCover {
    background-color: var(--secundario);
    border-radius: 2rem;
    padding: 32px;
    width: 90%;
    height: 86%;
}

.azulCover2 {
    background-color: var(--secundario);
    border-radius: 2rem;
    padding: 32px;
    width: 70%;
    height: 70%;
}

.azulbtnCover {
    background-color: var(--secundario);
    border-radius: 2rem;
    padding: 32px;
    width: 92%;
    height: 95%;
}

.azulbtnCover:hover {
    background-color: rgb(8, 8, 94);
}


.graybtnCover {
    background-color: rgb(233, 233, 233);
    border: .2rem solid gray;
    border-radius: 2rem;
    padding: 32px;
    width: 92%;
    height: 95%;
}

.graybtnCover:hover {
    background-color: rgb(187, 187, 187);
}

.whitebox {
    height: fit-content;
    width: fit-content;
    background-color: white;
    border-radius: 1rem;
    padding: 28px;
}



.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.bento-item {
    background-color: #1e293b;
    /* Replace with your colors */
    border-radius: 24px;
    padding: 24px;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-4 {
    grid-column: span 4;
}

.row-span-2 {
    grid-row: span 2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

*.bento-item:hover {
    -webkit-filter: brightness(80%);
}

.tablatop {
    padding: 1rem;
    width: 100%;
    border-bottom: 2px solid gainsboro;
    box-sizing: border-box;
    float: inline-start;
    font-weight: 600;
    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
    background-color: rgb(243, 243, 243);
}

.tablabot {
    padding: 1rem;
    width: 100%;
    border-top: 2px solid gainsboro;
    box-sizing: border-box;
    float: inline-start;
    font-weight: 600;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    margin-bottom: 1rem;
    background-color: rgb(243, 243, 243);
}

[hidden] {
    display: none !important;
}
/* ===== Pantallas de acceso (login, recuperar, nueva contraseña) =====
   Clases propias (auth-*) para no afectar a reportes/usuarios, que también cargan este archivo. */
.auth {
    --auth-ink: #14213d;
    --auth-muted: #4b5563;
    --auth-placeholder: #5f6673;
    --auth-line: #7b8497;
    --auth-field: #f4f5f8;
    --auth-error: #b42318;
    --auth-error-bg: #fef3f2;
    --auth-success: #067647;
    --auth-success-bg: #ecfdf3;
    box-sizing: border-box;
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 56px 32px;
    color: var(--auth-ink);
}

.auth ::selection {
    background: rgb(225 183 61 / .45);
}

.auth__frame {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 1040px);
    min-height: min(640px, calc(100vh - 112px));
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background: var(--secundario);
    border-radius: 2rem;
}

/* Contorno exterior de la marca. */
.auth__frame::before {
    content: "";
    position: absolute;
    inset: -26px;
    border: 5px solid var(--secundario);
    border-radius: 2.8rem;
    pointer-events: none;
}

.auth__card {
    box-sizing: border-box;
    width: 100%;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 18px 40px -20px rgb(8 16 54 / .55);
}

.auth .auth__title {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.auth .auth__lead {
    margin: 0 0 24px;
    font-size: .9375rem;
    line-height: 1.5;
    color: var(--auth-muted);
}

.auth__form {
    display: flex;
    flex-direction: column;
}

.auth__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.auth__field label {
    font-size: .9375rem;
    font-weight: 500;
}

.auth .auth__input {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    font: inherit;
    font-size: 1rem;
    color: var(--auth-ink);
    background: var(--auth-field);
    border: 1.5px solid var(--auth-line);
    border-radius: .75rem;
    transition: border-color .15s ease-out, background-color .15s ease-out;
}

.auth .auth__input::placeholder {
    color: var(--auth-placeholder);
}

.auth .auth__input:hover {
    border-color: #9aa3b8;
}

.auth .auth__input:focus-visible {
    outline: 3px solid rgb(36 57 138 / .3);
    outline-offset: 1px;
    border-color: var(--secundario);
    background: #fff;
}

.auth .auth__input:user-invalid {
    border-color: var(--auth-error);
}

.auth .auth__aside {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 20px;
}

.auth .auth__link {
    display: inline-block;
    padding-block: 6px;
    color: var(--secundario);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    border-radius: 4px;
}

.auth .auth__link:hover {
    text-decoration-thickness: 2px;
}

.auth .auth__link:focus-visible {
    outline: 3px solid rgb(36 57 138 / .3);
    outline-offset: 2px;
}

.auth .auth__message {
    align-self: stretch;
    margin: 0 0 16px;
    padding: 10px 12px;
    font-size: .9375rem;
    line-height: 1.45;
    border-radius: .625rem;
}

.auth .auth__message--error {
    color: var(--auth-error);
    background: var(--auth-error-bg);
}

.auth .auth__message--success {
    color: var(--auth-success);
    background: var(--auth-success-bg);
}

.auth .auth__message--info {
    padding: 0;
    color: var(--auth-muted);
}

.auth .auth__submit {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--auth-ink);
    background: var(--primario);
    border: 0;
    border-radius: .75rem;
    cursor: pointer;
    transition: background-color .15s ease-out;
}

.auth .auth__submit:hover {
    background: var(--prmario2);
}

.auth .auth__submit:focus-visible {
    outline: 3px solid var(--secundario);
    outline-offset: 2px;
}

.auth .auth__submit:disabled {
    cursor: progress;
    opacity: .7;
}

.auth a.auth__submit {
    box-sizing: border-box;
    display: block;
    text-align: center;
    text-decoration: none;
}

.auth a.auth__submit[hidden] {
    display: none;
}

.auth .auth__password {
    position: relative;
}

.auth .auth__password .auth__input {
    padding-right: 52px;
}

.auth .auth__reveal {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--auth-muted);
    background: transparent;
    border: 0;
    border-radius: .6rem;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth .auth__reveal:hover {
    color: var(--auth-ink);
    background: rgb(36 57 138 / .08);
}

.auth .auth__reveal:focus-visible {
    outline: 3px solid var(--secundario);
    outline-offset: -3px;
}

.auth .auth__reveal svg {
    width: 20px;
    height: 20px;
}

.auth .auth__footer {
    align-self: center;
    margin: 20px 0 0;
}

@media (max-width: 640px) {
    .auth {
        padding: 16px;
    }

    .auth__frame {
        min-height: calc(100dvh - 32px);
        padding: 24px 14px;
        border-radius: 1.5rem;
    }

    /* En teléfono el contorno doble solo le roba ancho al formulario. */
    .auth__frame::before {
        display: none;
    }

    .auth__card {
        padding: 28px 20px 24px;
    }
}
