/* ===== RESET ===== */
* {
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #3a3a3a, #111);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== CONTENEDORES ===== */
.container, .content, .card {
    width: 100%;
    max-width: 400px;
    background: #2a2a2a;
    padding: 22px 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ===== TITULOS ===== */
h2 {
    text-align: center;
    color: #ffcc00;
    margin-top: 0;
}

/* ===== FORM ===== */
label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
}

input, select {
    width: 100%;
    padding: 10px;
    font-size: 16px; /* evita zoom iOS */
    border-radius: 5px;
    border: none;
}

input:focus, select:focus {
    outline: none;
    border: 2px solid #ffcc00;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    margin-top: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-primario {
    background: #ffcc00;
    color: #000;
}
.btn-primario:hover {
    background: #e0b000;
}

.btn-secundario {
    background: #551919;
    color: #ff6666;
}
.btn-secundario:hover {
    background: #ff4444;
    color: #000;
}

/* ===== MENSAJES ===== */
.msg {
    text-align: center;
    margin-bottom: 10px;
    color: #ffcc00;
}

/* ===== TABLAS ===== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }
    /* ===== LOGO ===== */
.logo {
    width: 120px;          /* tamaño normal */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}
}
