/* Step 1: Common Properties
  These styles are required to make icons render reliably */
.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa {
    line-height: 1; /* Elimina espacios verticales */
    vertical-align: middle; /* Alinea correctamente con el texto */
    margin: 0; /* Elimina márgenes */
    padding: 0; /* Elimina padding extra */
    display: inline-block; /* Asegura consistencia */
}


body {
    background-color: #fcea9d;

    font-family: helvetica, Arial, verdana;
}

@keyframes parpadeo {
    0% { border-color: red; }
    50% { border-color: transparent; }
    100% { border-color: red; }
}

.input-error {
    animation: parpadeo 1s infinite;
    border: 2px solid red;
}

.oculto {
    display: none !important;
}

#supercontenedor {
    z-index: 5;
    position: relative;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
}

#tituloBiriBiri {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
}

#tituloBiriBiri img {
    width: 100%;
}

#loadingCapa {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;

}

#capaImagen {
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #000000bb;

}

#loadingCapa img {
    max-width: 100%;
    max-height: 100%;
}

#capaInputs {
    display: flex;
    flex-direction: column;
}

#cabeceraResumen {
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
    width: 100%;
    margin-top: 20px;

    color: #fff;
    background-color: #fff;
    font-size: 20px;

}

#cabeceraResumen .fila {
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    align-content: center;
}

#cabeceraResumen .fila > div {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 50%;
    padding: 10px 0;
    font-weight: bold;
}

#cabeceraResumen .fila .nombre {
    text-transform: uppercase;
    background-color: #06a297;
}

#cabeceraResumen .fila .resumenPrecio,
#datos button#meDebe {

    background-color: #06a29766;
    color: #097e85;
    font-size: 18px;
}

#cabeceraResumen .fila .resumenPrecio.rojo,
#datos button#debo {
    background-color: #fc494266;
    color: #e10068;
}

#crearRegistro {
    box-sizing: border-box;
    position: fixed;
    bottom: 10px;
    left: calc(50%);
    display: flex;
    justify-content: center;
    align-content: center;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    padding: 10px;
    background-color: #06a297;
    border-radius: 1000px;
}

#crearPagina {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 85px;
    height: 85px;
    background-color: #fece03;
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#crearPagina i {
    position: absolute;
    bottom: 14px;
    right: 7px;
    pointer-events: none;
    font-size: 30px;
    color: #f9495d;
}

#crearRegistro i {
    pointer-events: none;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}

#contenido {
    position: relative;
}

#nuevoRegistro {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcea9d;
}

#datos {
    padding: 20px;
}

#datos legend {
    margin-bottom: 25px;
}

#datos legend.center {
    display: flex;
    justify-content: space-around;
}

#datos button {
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: bold;
    border-color: transparent;
}

#datos button.activo {
    border: 2px solid #fff;
}

#datos input {
    box-sizing: border-box;
    width: 100%;
    background-color: #f9eec0;
    border: 2px solid #fff;
    padding: 5px 10px;
    color: #666;
    font-weight: bold;
    font-size: 15px;
}

#datos input::placeholder {
    color: #bbb;
    font-weight: bold;
}

#superContenedor {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;

    display: flex;
    padding: 20px;
}

#botoneraRegistro {
    position: fixed;
    bottom: 80px;
    left: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.botonAccion {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 40px;
}


.botonAccion i {
    font-weight: bold;
    font-size: 30px;
    color: #fff;

}

#botonGuardar {
    background-color: #06a297;
}

#botonCancelar {
    background-color: #fc494266;
}

#listadoRegistros {
    margin-top: 40px;
}

.filaRegistro {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    background-color: #097e85;
    color: #fff;
    border: 2px solid #fff;
    border-top-width: 1px;
    border-bottom-width: 1px;
}

.filaRegistro.rojo {
    background-color: #e10068;
}

.filaRegistro .usuario {
    width: 20px;
}

.filaRegistro .fecha {
    width: 100px;
}

.filaRegistro .descripcion {
    width: 150px;
}

.filaRegistro .importe {
    box-sizing: border-box;
    width: 70px;
    padding-right: 20px;
    text-align: right;
}

.filaRegistro .botones {
    display: flex;
    justify-content: space-between;
    width: 50px;
    font-size: 20px;
}

.filaRegistro .botones i {
    cursor: pointer;
}

