body {
    display: flex;
    margin: 0;
}
#form-container {
    display: flex;
    justify-content: space-between;
    width: 300px; /* ajusta según tus necesidades */
}

#form-container div {
    width: 48%; /* ajusta según tus necesidades */
}
#signature-canvas {
    border: 1px dashed red;
}

#contrato-form {
    width: 80%;
    padding: 20px;
    background-color: #fff; /* Ajusta según tus preferencias */
}

.TextDeclaracionJurada{
    background-color:  #222b51;
    color: #ffffff;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

#form-container,
.row,
#signature-container {
    margin-bottom: 20px; /* Ajusta según el espacio que desees entre secciones */
}
#form-container {
    display: flex;
    justify-content: space-between;
    width: 300px; /* ajusta según tus necesidades */
}

#signature-canvas {
    border: 1px dashed red;
}

#contrato-form {
    width: 100%; /* Ajusta el ancho según tus preferencias */
    position: relative;
    top: 0px;
}

#form-container,
.row,
#signature-container {
    margin-bottom: 20px; /* Ajusta según el espacio que desees entre secciones */
}

.contrarotitulo{
    text-align: center;
}

.EnviarBotton{
    align-items: center;
}


.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    margin-left: -1px;
    border-radius: 0 0.25rem 0.25rem 0;
}

#TiempoServicio {
    border-radius: 0.25rem 0 0 0.25rem;
}


/* Center the button within the container */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px; /* Adjust this value to move the button down */
}

/* Customize the button */
.enviar-boton {
    padding: 15px 30px;
    font-size: 1.25rem;
    border-radius: 8px;
    background-color: #FFD700; /* Set background color to yellow */
    color: #000; /* Set text color to black for better contrast */
    border: none; /* Remove default border */

}

/* Hover effect */
.enviar-boton:hover {
    background-color: #FFC700; /* Slightly darker yellow on hover */
    transform: scale(1.05);
}

/* Active effect */
.enviar-boton:active {
    background-color: #FFB700; /* Even darker yellow when active */
    transform: scale(1);
}


.terms-modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semitransparente */
    overflow: hidden; /* Evita que el contenido fuera del modal sea desplazable */
  }
  
  .terms-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 80%; /* Limita la altura del modal */
    overflow-y: auto; /* Habilita el scroll vertical */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Sombra */
  }
  
  .terms-close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }
  
  .terms-title {
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
  }
  
  .terms-section-title {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: bold;
  }
  
  .terms-label {
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .terms-accept-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .terms-accept-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  