body {
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
}

header, footer {
    text-align: center;
    padding: 10px 0;
    background: #111;
    border-bottom: 1px solid #333;
}

a {
    color: #ff5555;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    background: #ff3333;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}
.btn:hover {
    background: #ff6666;
}

input[type="text"], input[type="date"], input[type="password"], select {
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    width: 100%;
    max-width: 320px;
}

form {
    margin: 10px 0;
}
label {
    display: block;
    margin-top: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.table th, .table td {
    border: 1px solid #333;
    padding: 6px 8px;
    text-align: left;
}
.table th {
    background: #111;
}

.nav {
    margin-bottom: 15px;
}
.nav a {
    margin-right: 10px;
}
.msg {
    padding: 8px;
    margin: 10px 0;
    background: #132;
    border-left: 3px solid #5c5;
}
.error {
    background: #311;
    border-left-color: #f55;
}
/* ===== ESTILOS PÚBLICO MÓVIL / TIPO APP ===== */

.app-header {
    text-align: center;
    padding: 10px 0;
    background: #000;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-header h1 {
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-subtitle {
    font-size: 12px;
    color: #aaa;
}

/* Contenido con espacio para la barra de abajo */
.app-content {
    padding: 10px;
    padding-bottom: 70px; /* espacio para bottom bar */
}

/* Bottom nav tipo app móvil */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #111;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 20;
}

.bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #ccc;
    text-decoration: none;
}

.bottom-nav a span {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.bottom-nav a.active {
    color: #ff5555;
}

/* Card del evento */
.event-card {
    border-radius: 10px;
    background: #111;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #222;
}

.event-card h2 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.event-card small {
    color: #aaa;
}

/* Título de categoría */
.cat-title {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #ff5555;
}

/* Card ganador público (usa la misma clase vehiculo-card de antes) */
.vehiculo-card.public {
    max-width: 100%;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}
