/* =========================
   RESET GENERAL
========================= */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont,
                 "SF Pro Text", "Segoe UI", sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #f2f2f7 !important; /* Forzado claro */
    color: #000 !important;
    min-height: 100vh;
}

/* =========================
   CONTENEDOR APP
========================= */

.container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff !important;
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

/* =========================
   TITULOS
========================= */

h1, h2 {
    margin-top: 0;
    font-weight: 600;
    color: #b30000;
    text-align: center;
}

/* =========================
   INPUTS IOS
========================= */

input,
select {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid #e5e5ea;
    background: #f9f9fb;
    font-size: 16px;
    outline: none;
    appearance: none;
}

input:focus,
select:focus {
    border: 1px solid #b30000;
    background: #fff;
}

/* =========================
   BOTONES IOS
========================= */

button {
    width: 100%;
    padding: 15px;
    margin-top: 16px;
    border-radius: 16px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    background: #b30000;
    color: #fff;
}

button:active {
    transform: scale(0.97);
    background: #8f0000;
}

/* =========================
   LINK ADMIN
========================= */

a {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #b30000;
    font-weight: 500;
    text-decoration: none;
}

/* =========================
   TABLAS ESTILO APP
========================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

thead {
    display: none;
}

tbody tr {
    display: block;
    background: #fff;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

tbody td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    text-align: right;
}

tbody td:first-child {
    font-weight: 600;
    text-align: left;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 768px) {
    .container {
        max-width: 700px;
    }
}


