/* Hero Section */
.hero-register {
    background-image: url('../images/bujaldon-register.jpg');
    background-size: cover;
    background-position: center;
    height: 23.5625rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(106deg, rgba(0, 0, 0, 0.30) 25.42%, rgba(102, 102, 102, 0.00) 69.53%);
    pointer-events: none;
}

.hero-register p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0.05rem;
}

/* Steps Info */
.register-pasos h5 {
    color: #4F473D;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.875rem; /* 150% */
    letter-spacing: 0.0625rem;
}

.register-pasos p {
    color: #4F473D;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 125% */
    letter-spacing: 0.05rem;
}

/* Register Form Section */
.form-control-contact {
    width: 100%;
    padding: 0.875rem 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #747474;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #D9D9D9;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control-contact::placeholder {
    color: #747474;
    opacity: 1;
}

.form-control-contact:focus {
    border-bottom-color: #6E941E;
    outline: none;
    box-shadow: none;
}

.form-control-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 1px solid #D9D9D9;
    border-radius: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: #6E941E;
    border-color: #6E941E;
}

.form-check-label {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    color: #747474;
    cursor: pointer;
}

.form-check-label a {
    color: #6E941E;
    text-decoration: underline;
}

.form-check-label a:hover {
    color: #4F6E15;
}

/* Submit Button */
.btn-submit-contact {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 1.875rem;
    border: none;
    background-color: #F49200;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.btn-submit-contact:hover {
    background-color: #d67f00;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 146, 0, 0.3);
}

/* Inline checkboxes and radios */
.answers-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-inline,
.radio-inline {
    display: inline-block;
    margin-right: 0;
}

.checkbox-inline label,
.radio-inline label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-inline input[type="checkbox"],
.radio-inline input[type="radio"] {
    margin: 0;
}

/* Error Messages */
.contact-form-v2 .errors,
.contact-form-v2 ul {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
}

/* Success/Error Alerts */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.segmentation-section label{
    color: #747474;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 142.857% */
    letter-spacing: 0.04375rem;
}

.segmentation-section label.title{

    color: #4F473D;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.875rem; /* 150% */
    letter-spacing: 0.0625rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-register {
        height: auto;
        min-height: 500px;
    }
    
    .register-form-v2 {
        padding: 1.5rem;
    }
    
    .segmentation-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
}

.legal-conditions {
    margin-bottom: 1rem;
}

.legal-conditions > div:first-of-type {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.legal-conditions input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.legal-conditions label {
    flex: 1;
    cursor: pointer;
    color: #4F473D;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5rem;
}

.legal-conditions .errors {
    width: 100%;
    margin-left: 1.75rem;
    margin-top: 0.25rem;
}