/* Importar fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; 
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
}

h1 {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

h2 {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    font-size: 1.2rem;
    margin-top: 0;
    font-weight: 400;
    margin-bottom: 40px;
}


fieldset {
    border: none;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

legend {
    font-weight: 600;
    color: #3b82f6;
    font-size: 1.1rem;
    padding: 0 10px;
    margin-bottom: 20px;
}


table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

td {
    padding: 5px;
    vertical-align: middle;
}

h5 {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
}


input[type='text'], 
input[type='email'], 
input[type='password'], 
select, 
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f1f5f9;
    font-size: 1rem;
    color: #334155;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}


input[type='submit'] {
    background-color: #2563eb;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

input[type='submit']:hover {
    background-color: #1d4ed8;
}


input[type='radio'], input[type='checkbox'] {
    margin-right: 8px;
    accent-color: #2563eb; 
}