/*
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
*/

#juego-container {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
}

#pregunta {
    font-size: 1.5rem;
    color: #333;
    transition: opacity 0.5s;
}

.btn-success {
    animation: blink 0.3s ease-in-out;
}

.btn-danger {
    animation: shake 0.4s ease-in-out;
}

@keyframes blink {
    0% { background-color: #28a745; opacity: 0.7; }
    100% { background-color: #28a745; opacity: 1; }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

#vista-json {
    font-family: monospace;
    font-size: 0.85rem;
    color: #444;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 6px;
    margin-top: 12px;
    white-space: pre-wrap;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

h2, h4 {
    color: #1c1c1c;
    font-weight: bold;
}

table {
    font-size: 0.95rem;
}

table th {
    background-color: #f8f9fa;
    color: #333;
}

table td, table th {
    padding: 10px;
}

input[type='text'], select, .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type='text']:focus, select:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 4px rgba(13, 110, 253, 0.5);
}

.btn {
    border-radius: 6px;
}

.btn:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}