* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 600px;
}

h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

/* Estilos de index.html */
.input-group {
    display: flex;
    flex-direction: column;
}

input[type="text"] {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s;
}

input[type="text"]:focus {
    border-color: #3498db;
}

.hint {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 8px;
    text-align: center;
}

/* Estilos de test.html */
.pregunta-box {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.pregunta-box h3 {
    font-size: 16px;
    color: #34495e;
    margin-bottom: 12px;
}

.opcion-label {
    display: block;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: #fafafa;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.opcion-label:hover {
    background: #f0f0f0;
}

.opcion-label input[type="radio"] {
    margin-right: 10px;
}

button.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

button.btn-primary:hover {
    background-color: #219150;
}