/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 23 abr 2025, 1:14:57
    Author     : vixto
*/

:root {
    --color-bg: #1e1e2f;
    --color-text: #f0f0f0;
    --color-accent: #ffb400;
    --color-secondary: #4aa3df;
    --color-danger: #e74c3c;

    --font-main: 'Segoe UI', 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #324e58;
    color: #f2f2f2;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
}

h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}
h1, h2 {
    color: #ffb400; /* Acento llamativo */
}

p, .input-hint {
    color: #f2f2f2;
}

input[type="text"]::placeholder {
    color: #bbbbbb;
}
h1, h2, p, .input-hint {
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
#boton-jugar {
    background-color: #ffb400;
    color: #1e1e2f; /* fondo oscuro del sitio */
    font-weight: normal;
    font-family: fantasy;
    font-size: unset;
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 2rem;
}

input[type="text"],
input[type="password"],
button {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 5px solid black;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
}

input {
    background-color: #2a2a40;
    color: var(--color-text);
    border: 1px solid #444;
}

button {
    margin-top: 2em;
    background-color: var(--color-accent);
    color: #1e1e2f;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #ffaa00;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.input-hint {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Elementos reutilizables */
.card {
    background: #2c2c44;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}
.ranking-table {
    background: #4359e054;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Ajustes para móviles */
@media (max-width: 600px) {

    .container {
        padding: 1rem;
    }

    .mensajePropio,
    .mensaje_bd,
    .mensaje_bd_impar,
    .mensajeTrivial,
    .mensajeTrivialGanador,
    .mensajeTrivialr,
    #mensajeCambiaSala {
        padding: 0.65em 0.75em;
        font-size: 1.5rem;
        border-radius: 10px;
        margin: 0.4em auto;
        max-width: 95%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
}
#traductor-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 999;
    background-color: rgba(30, 30, 47, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

#google_translate_element select {
    background-color: #2c2c44;
    color: #f2f2f2;
    border: none;
    padding: 0.3rem;
    border-radius: 6px;
    font-family: inherit;
}
#selector-idioma {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 999;
    background-color: rgba(30, 30, 47, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#selector-idioma select {
    background-color: #2c2c44;
    color: #f2f2f2;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}
