/************** Form container *********************/
.form-section {
    width: 100%;
    max-width: 1390px;
    min-height: 85vh; /* Ensures it takes up most of the screen height */
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    margin: 0 auto; /* Centers the section horizontally */
    font-family: var(--font-bagoss-regular);
    background: var(--surface-surface-suppressed, #bbcbeb);
    padding: 22px 22px;
}

/* Ensures form content is properly centered */
.form-container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    margin: 0 auto;
}

.title-form {
  color: var(--text-text-default, #1f2733);
  font-family: var(--font-bagoss-medium);
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 19px;
  margin-top: 52px;
  margin-bottom: 25px;
}

.subtitle {
    color: var(--text-text-default, #1f2733);
    font-family: var(--font-bagoss-regular);
    font-size: 18px;
    font-weight: 300;
    line-height: 7.8px;
    margin-bottom: 18px;
    margin-top: -1.6px;
}

/* Flex Container for Name and Email */
.flex_container {
    display: flex;
    gap: 16px;
    width: 100%;
    
    
}
.text-label{
    display: flex;
    gap: 16px;
    width: 100%;
    color: var(--text-text-default, #1f2733);

    font-family: var(--font-bagoss-regular);
    font-size: 18px;
    font-style: normal;
    margin: 8px 0px;
   
}

.flex_container div {
    width: 100%;
}

/* Inputs */
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    background: white;
}

/* Textarea adjustment */
textarea {
    min-height: 160px;
}
.input-field{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    background: white; 
}
/* Text area  */
.textarea-wrapper {
    position: relative; /* allows absolute positioning of the counter */
    width: 100%;        /* or a fixed width if you prefer */
    max-width: 1300px;   /* example max width */
  }
  
  .textarea-field {
    width: 100%;
    height: 150px; /* adjust as needed */
    box-sizing: border-box;
    padding: 1rem;
    /* Add extra bottom padding so text doesn’t overlap the counter */
    padding-bottom: 2.2rem; 
    font-size: 16px;
    resize: vertical; /* let the user resize vertically if you want */
  }
  
  .char-count {
    position: absolute;
    bottom: 8px;  /* position near the bottom inside the .textarea-wrapper */
    right: 10px;  /* position near the right side */
    font-size: 0.85rem;
    color: #73a2ffb4;
  }



/* Responsive adjustments */
@media (max-width: 768px) {
    .flex_container {
        flex-direction: column;
    }

    .form-section {
        padding: 24px;
    }

    .form-container {
        width: 100%;
        padding: 0 16px;
    }
}
/* Estilos para el botón de envío */
.submit-button {
    margin-top: 20px;
    width: 100%;
    max-width: 370px;
    background: #1D53BF;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover (cuando el usuario pasa el cursor) */
.submit-button:hover {
    transform: translateY(-3px);
}


/* Active (cuando se presiona) */
.submit-button:active {
    background: #1641a6;
}
/* Responsividad */
@media (max-width: 768px) {
    .submit-button {
        width: 100%;
    }
}




@media (max-width: 520px) {
    .subtitle {
        line-height: 26px;
        
    }
}