@font-face {
  font-family: 'Knockout1';
  src: url('../fonts/Knockout1.otf') format('opentype');
}

@font-face {
  font-family: 'DIN-Bold';
  src: url('../fonts/DIN-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'DIN';
  src: url('../fonts/DIN-Regular.otf') format('opentype');
}


/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.container {
    display: flex;
    padding: 9%;
    flex-direction: column;
    gap: 60px;
    align-self: stretch;
    max-width: 800px;
    background: var(--blanco, #FFF);
    /* margin: auto; */
    transform: translateX(-50%);
    /* translate: -50%; */
    left: 50%;
    position: relative;
    width: 100%;
}

h2 {
    color: var(--azul, #005AA0);
    text-align: center;
    font-family: "Knockout1";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    align-self: stretch;
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 640px;
    margin: 0 auto;
    max-width: 100%;
}

div {
    display: flex;
    flex-direction: column;
}

label {
    color: var(--dark, #1D1D1B);
    font-family: "DIN-Bold";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 4px;
}

input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    color: var(--dark, #1D1D1B);
    font-family: "DIN";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-radius: 8px;
    border: 2px solid var(--azul_claro, #E9ECF7);
    background: var(--blanco, #FFF);
    padding: 8px;
    width: 100%;
}

button {
    background: var(--azul, #005AA0);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: auto;
    min-width: 200px;
}

button:hover {
    background: #0056b3;
}

#btn_entrar {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    background: var(--azul, #005AA0);
    color: var(--blanco, #FFF);
    text-align: center;
    font-family: "DIN";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 360px;
    margin: auto;
    margin-top: 30px;
}

.logo-esquina {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 100px; /* ajusta el tamaño según sea necesario */
    height: auto;
    z-index: 1000;
    opacity: 0.9;
}

/*
.btn-accion {
    display: inline-block;
    background: #C51F3F;
    color: #FFF;
    padding: 10px 80px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    width: 100%;     
    max-width: 400px;
}

.btn-accion:hover {
    background: #A81A37;
}*/

.btn-volver{
    display: flex;
    width: 155px;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    border: 2px solid var(--azul, #005AA0);
    background: var(--blanco, #FFF);
    color: var(--azul, #005AA0);
    text-align: center;
    font-family: "DIN";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.btn-volver:hover{
    color: white;
}

.btn-download{
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    background: var(--azul, #005AA0);
    color: var(--blanco, #FFF);
    text-align: center;
    font-family: "DIN";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    width: 155px;
}

section{
    width: 100%;
    background: var(--azul, #005AA0);
    display: flex;
    min-height: 100%;
}

.d-flex, .d-flex1{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

input[type="radio"] {
  display: none;
}

footer{
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--verde, #4EBAAF);
}

footer p{
    margin: 0;
    color: var(--dark, #1D1D1B);
    font-family: "DIN";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

footer p strong{
    color: var(--dark, #1D1D1B);
    font-family: "DIN-Bold";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.col-1{
    width: 230px;
    max-width: 100%;
}

.col-2{
    width: 367px;
    max-width: 100%;
}

.border-inactive{
    border-radius: 8px;
    border: 1px solid var(--azul_claro, #E9ECF7);
}

.border-active{
    border-radius: 8px;
    border: 1px solid var(--verde, #4EBAAF);
}

.img-input{
    display: flex;
    width: 210px;
    padding: 20px;
    height: 61px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pl-20{
    padding-left: 20px;
}

#fecha_perfusion{
    position: relative;
}

/* Transparente pero clickeable */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 2rem;
  height: 100%;
  cursor: pointer;
}

/* Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

/* Contenedor */
.input-date-wrapper {
  position: relative;
  display: inline-block;
}

.input-date-wrapper input[type="date"] {
  padding-right: 2.5rem;
}

/* Ícono personalizado (ejemplo con SVG) */
.input-date-wrapper::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('../img/icon-calendar.svg') no-repeat center center;
  background-size: contain;
  pointer-events: none; /* permite que el clic pase al input */
}

@media (max-width:793px){
    .d-flex{
        flex-direction: column;
    }

    .d-flex .col-1, .d-flex .col-2{
        width: 100%;
    }
}

@media (max-width: 638px){
    .d-flex1{
        flex-direction: column;
    }
}

.icon-check{
    display: flex;
    width: 52px;
    justify-content: center;
    align-items: center;
}

.align-center{
    align-items: center;
}

.container-1{
    padding-top: 150px !important;
    justify-content: flex-start !important;
    gap: 0;
}

.btn-right{
    position: absolute;
    right: 30px;    
    top: 30px;
    margin: 0;
    margin-left: auto;
}

.btn-create{
    margin: 20px 10px;
    max-width: 200px;
    margin-left: auto;
}

#formUsuario{
    margin-top: 20px;
}