@charset "utf-8";
/* CSS Document */

* {
    box-sizing: border-box;
}

.form-main-container {
    background-color: #f5f5f5;
    margin: 0;
    border-radius: 10px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 2rem;
}

.title-header {
    background-color: #dc3545;
    color: white !important;
    padding: 20px 30px;
    margin: 0;
}

.title-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: white !important;
}

.title-subtitle {
    background-color: #b4b4b2;
    color: white !important;
    margin: 10px 0;
}

.title-subtitle h2 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: white !important;
    line-height: 1.2 !important;
}

#form-complete {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
    align-items: flex-start;
}

.input-row>div {
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

label a {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4da2fe !important;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    height: 48px;
    /* Altura fija para todos los inputs */
    background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.info-text {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: auto;
    height: auto;
}

.option-section {
    margin-top: 10px;
}

.test-dates {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.section-title {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.date-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.date-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.date-option input[type="radio"] {
    margin-right: 12px;
    margin-top: 2px;
    width: auto;
    height: auto;
}

.test-dates__description{
    margin-top: 15px;
}

.description__text{
    font-size: .9rem;
    line-height: 20px;
}

.required {
    color: red;
}

.file-upload-container {
    margin-top: 5px;
}

.file-upload-wrapper {
    position: relative;
}

.file-display {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: white;
    height: 48px;
    padding: 0;
    overflow: hidden;
}

#file-name {
    flex: 1;
    display: inline-block;
    padding: 12px;
    color: #666;
    font-size: 14px !important;
}

.file-button-form {
    background-color: #f8f9fa;
    border: none;
    border-left: 1px solid #ddd;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px !important;
    color: #333 !important;
    height: 100%;
    display: inline-block !important;
}

.file-button-form:hover {
    background-color: #e9ecef;
}
.file-button-form:focus{
        background-color: #000!important;
        color: white !important;
}

input[type="file"] {
    width: 100%;
    padding: 10px !important;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

input[type="file"]:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.file-info {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.g-recaptcha {
    margin: 20px 0;
}

.btn-submit-form {
    width: 100% ! Important;
    padding: 0.5rem ! Important;
    background-color: #000 ! Important;
    color: #fff ! Important;
    border: 2px solid #fff ! Important;
    font-size: 15px ! Important;
    font-weight: bold ! Important;
    cursor: pointer ! Important;
    transition: background-color 0.3s ! Important;
}

.btn-submit-form:hover {
    background-color: #333 ! Important;
}

/* Responsive design */
@media (max-width: 768px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}