:root {
    --color-bg: #1e1b16;
    --color-surface: #3b2f25;
    --color-accent: #facc15;
    --color-text-primary: #fef3c7;
    --color-text-secondary: #d6b77b;
    --color-button: #fff3c4;
    --color-button-text: #1e1b16;
    --color-highlight: #ffcc33;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-size: 16px;
}

/* Layout Colors */
.mobile-bar-item,
.stats-card,
.auth-card,
.mobile-quorum-card,
.mobile-history-item,
.admin-card,
table {
    background-color: var(--color-surface);
}

.vote-btn,
.mobile-vote-btn,
.btn-admin {
    background-color: var(--color-button);
    color: var(--color-button-text);
}

.mobile-nav-item.active,
.nav-pills .nav-link.active,
.desktop-header h1,
.auth-title {
    color: var(--color-accent);
}

.winner-highlight {
    border-color: var(--color-highlight) !important;
}

#decideBtn:active {
    transform: scale(0.95);
}

#result.reveal {
    opacity: 1;
    animation: celebrate 1s ease-in-out;
    background: rgba(72, 187, 120, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid #48bb78;
}

@keyframes celebrate {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

#placeList li {
    padding: 0.5rem;
    background: rgba(72, 187, 120, 0.8);
    border-radius: 0.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#placeList li:hover {
    transform: scale(1.05);
}

#placeList li button {
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem; /* Ajusta el tamaño del ícono de papelera */
    color: #ef4444; /* Rojo para el ícono de papelera */
}

#placeList li button:hover {
    color: #dc2626; /* Rojo más oscuro al pasar el ratón */
}

#placeList li,
#rankingList li {
    font-size: 1.1rem; /* Ajusta el tamaño del texto si es necesario */
}

#rankingList li {
    padding: 0.5rem;
    text-align: center;
}

#rankingList li.top-voted {
    background: rgba(72, 187, 120, 0.8); /* Green highlight */
    font-weight: bold;
    border-radius: 0.5rem;
}

input[type="text"] {
    background: #edf2f7;
}

