/* ======================
   BASE
====================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-image: url('img/backweb.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    min-height: 100vh;
}

/* ======================
   CONTENEDOR PRINCIPAL
====================== */
.page-center {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: clamp(180px, 35vh, 320px);
    padding-left: 12px;
    padding-right: 12px;
}

/* ======================
   CARD
====================== */
.consulta-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* HEADER */
.consulta-card .card-header {
    background-color: rgb(255, 122, 13);
    color: #000;
    font-weight: 600;
    font-size: 16px;
    padding: 12px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

/* BODY */
.consulta-card .card-body {
    padding: 20px;
}

/* LABEL */
.consulta-card label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* INPUT */
.consulta-card input.form-control {
    font-size: 15px;
    padding: 12px;
}

/* BUTTON */
.consulta-card button {
    font-size: 15px;
    padding: 10px;
    border-radius: 8px;
}

/* ======================
   SWEETALERT FIX
====================== */
.swal2-shown {
    padding-right: 0 !important;
}


/* ======================
   AJUSTE SOLO MÓVIL
====================== */
@media (max-width: 768px) {

    .consulta-card {
        max-width: 92vw;   /* más ancho */
    }

    .consulta-card .card-body {
        padding: 26px;     /* más aire */
    }

    .consulta-card label {
        font-size: 16px;   /* texto más visible */
    }

    .consulta-card input.form-control {
        font-size: 17px;   /* input cómodo */
        padding: 14px;
    }

    .consulta-card button {
        font-size: 16px;
        padding: 12px;
    }
}