* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.logo-container {
    text-align: left;
    margin-bottom: 30px;
}

.logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

h1 {
    text-align: center;
    color: #33477B;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 600;
}

.form-type-selector {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.radio-group {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    color: #FA4999;
    transition: color 0.3s;
}

.radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #FA4999;
}

.radio-group:hover {
    color: #FA4999;
}

.radio-group input[type="radio"]:checked + span {
    color: #FA4999;
    font-weight: 600;
}

.requisitos-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.requisitos-section h2 {
    margin-bottom: 12px;
}

.requisitos-intro {
    margin-bottom: 16px;
    color: #444;
    font-size: 0.95em;
    line-height: 1.5;
}

.requisitos-lista {
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.requisito-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.requisito-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.requisito-desc {
    margin-bottom: 10px;
}

.requisito-desc .requisito-leyenda {
    display: block;
    margin-top: 8px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    font-style: normal;
    font-size: 0.9em;
    color: #555;
}

.requisito-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.requisito-upload-multi {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.requisito-upload-multi .requisito-upload-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.requisito-upload-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #33477B;
    margin: 0;
}

/* Contenedor del input file personalizado */
.file-input-wrap {
    display: inline-flex;
    position: relative;
    cursor: pointer;
}

.file-input-wrap input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.file-input-visual {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    min-width: 200px;
    background: #fff;
    border: 2px dashed #b0b0b0;
    border-radius: 10px;
    font-size: 0.9em;
    color: #555;
    transition: border-color 0.2s, background 0.2s;
}

.file-input-visual::before {
    content: "";
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2333477B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.file-input-wrap:hover .file-input-visual {
    border-color: #33477B;
    background: #f8f9fa;
}

.file-input-wrap:focus-within .file-input-visual {
    border-color: #33477B;
    outline: none;
}

.requisitos-section input[type="file"] {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    max-width: 100%;
}

.property-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e0e0e0;
}

.property-section h2 {
    margin-bottom: 14px;
}

.property-section h3 {
    margin: 16px 0 10px 0;
}

/* Información comprimida: label + valor (solo texto, sin estilo de campo) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px;
}

.info-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 0;
}

.info-line .info-label {
    flex-shrink: 0;
    font-weight: 600;
    color: #33477B;
    font-size: 0.9em;
}

.info-line .info-value {
    font-size: 0.9em;
    color: #333;
    font-weight: 500;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    min-height: 0;
}

.info-group {
    margin-bottom: 20px;
    flex: 1;
}

.info-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #667eea;
    font-size: 0.95em;
}

.info-value {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    min-height: 20px;
    font-weight: 500;
}

.form-section {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #33477B;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #33477B;
    font-size: 1.2em;
    font-weight: normal;
}

h3 {
    color: #33477B;
    margin: 30px 0 20px 0;
    font-size: 16px;
    padding-left: 10px;
    border-left: 4px solid #33477B;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 0.95em;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #b0b0b0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.privacy-section {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.checkbox-privacy {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95em;
    color: #444;
    line-height: 1.6;
}

.checkbox-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
}

.checkbox-privacy span {
    flex: 1;
}

.checkbox-privacy:hover {
    color: #667eea;
}

.form-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn-submit,
.btn-reset {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit {
    background: #FA4999;
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(250, 73, 153, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-reset {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-reset:hover {
    background: #e9ecef;
    border-color: #b0b0b0;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8em;
    }

    .form-type-selector {
        flex-direction: column;
        gap: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
    }
}
