/* ============================================
   FORMULARIO DE ASISTENCIA - ESTILOS ORIGINALES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f7;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

form {
    background-color: white;
    max-width: 700px;
    width: 100%;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 20px auto;
}

h2 {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

label {
    display: block;
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 5px;
    font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #dbdbdb;
    font-size: 15px;
    transition: border-color 0.2s;
    background-color: transparent;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-bottom-color: #0066cc;
}

textarea {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #dbdbdb;
    font-size: 15px;
    transition: border-color 0.2s;
    background-color: transparent;
    resize: vertical;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-bottom-color: #0066cc;
}

.radio-group {
    margin: 10px 0 5px 0;
}

.radio-item {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #0066cc;
}

.radio-item label {
    display: inline;
    margin: 0 0 0 8px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

input[type="file"] {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.button-group {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-submit,
.btn-reset {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit {
    background-color: #0066cc;
    color: white;
}

.btn-submit:hover {
    background-color: #0052a3;
}

.btn-reset {
    background-color: #f2f2f2;
    color: #333;
}

.btn-reset:hover {
    background-color: #e5e5e5;
}

.separator {
    height: 1px;
    background-color: #eaeaea;
    margin: 20px 0;
}

.asterisk {
    color: #cc0000;
    font-size: 12px;
    margin-left: 2px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

@media (max-width: 500px) {
    form {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        text-align: center;
    }
}