/*
====================================
PET QR SYSTEM - ESTILOS GENERALES
====================================
*/

* {
    box-sizing: border-box;
}

body {
    background: #f4f6f8;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}


/*
====================================
CONTENEDOR PRINCIPAL
====================================
*/

.petqr-container {
    max-width: 500px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.10);
}


/*
====================================
FOTO MASCOTA
====================================
*/

.petqr-photo {
    text-align: center;
    margin-bottom: 20px;
}

.petqr-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff7a00;
}


/*
====================================
NOMBRE
====================================
*/

.petqr-name {
    text-align: center;
    font-size: 32px;
    margin: 10px 0;
    color: #222;
}


/*
====================================
ESTADO MASCOTA
====================================
*/

.petqr-status {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.petqr-status-activo {
    background: #e9f8ee;
    color: #1f7a3e;
}

.petqr-status-perdido {
    background: #fff1f0;
    color: #d93025;
}


/*
====================================
MENSAJE DEL TUTOR
====================================
*/

.petqr-message {
    background: #f8f8f8;
    border-left: 5px solid #ff7a00;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.5;
}


/*
====================================
BOTONES CONTACTO
====================================
*/

.petqr-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.petqr-btn {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: .2s;
    display: block;
    cursor: pointer;
    border: none;
}

.petqr-btn:hover {
    transform: scale(1.03);
}

.petqr-btn-call {
    background: #0077cc;
}

.petqr-btn-whatsapp {
    background: #25d366;
}


/*
====================================
ALERTA MÉDICA
====================================
*/

.petqr-alert {
    background: #fff4db;
    color: #7c5700;
    border: 2px solid #ffcc66;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: bold;
}


/*
====================================
DETALLES
====================================
*/

.petqr-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
}

.petqr-details div {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.petqr-details div:last-child {
    border-bottom: none;
}


/*
====================================
AYUDA DE UBICACIÓN (NARANJA)
====================================
*/

.petqr-location-help {
    margin-top: 35px;
    background: linear-gradient(180deg, #fff8f1 0%, #fff1e3 100%);
    border: 2px solid #ff8a00;
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.18);
}


.petqr-location-help h3 {
    margin: 0 0 15px;
    color: #ff7a00;
    font-size: 24px;
    font-weight: 800;
}


.petqr-location-help p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}


/*
BOTÓN COMPARTIR UBICACIÓN
*/

.petqr-btn-location {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: #ff7a00;
    color: #fff !important;

    padding: 14px 28px;
    margin-top: 12px;

    border: none;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;

    transition: .3s;
}


.petqr-btn-location:hover {
    background: #e66d00;
    transform: translateY(-2px);
}


/*
====================================
UBICACIÓN COMPARTIDA (VERDE)
====================================
*/

.petqr-location-success {
    margin-top: 35px;
    background: linear-gradient(180deg, #f2fff6 0%, #e6faee 100%);
    border: 2px solid #2ecc71;
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.18);
    animation: petqrFadeIn .4s ease;
}


.petqr-location-success h3 {
    margin: 0 0 15px;
    color: #27ae60;
    font-size: 24px;
    font-weight: 800;
}


.petqr-location-success p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}


/*
====================================
ANIMACIONES
====================================
*/

@keyframes petqrFadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*
====================================
RESPONSIVE MÓVIL
====================================
*/

@media (max-width: 600px) {

    .petqr-container {
        margin: 10px;
        padding: 20px;
        border-radius: 16px;
    }

    .petqr-name {
        font-size: 28px;
    }

    .petqr-actions {
        flex-direction: column;
    }

}

/* Éxito activación */

.petqr-success-card {
    background: #eafaf1;
    border: 2px solid #28a745;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.petqr-success-card h2 {
    margin-top: 0;
    color: #1e7e34;
}

.petqr-success-card p {
    margin: 10px 0;
    line-height: 1.5;
}

.petqr-success-list {
    margin-top: 15px;
}






/* ==================================================
   ACTIVACIÓN PLACA NUEVA
================================================== */

.petqr-welcome {
    max-width: 650px;
    margin: 40px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.petqr-welcome h1 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #222;
}

.petqr-welcome p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}


/* Beneficios */

.petqr-benefits {
    margin: 25px 0;
    text-align: left;
}

.petqr-benefits div {
    background: #fff7ef;
    border-left: 5px solid #ff8a00;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 16px;
}


/* Botón activar placa */

.petqr-btn-location {
    background: #ff8a00;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: 0.3s;
}

.petqr-btn-location:hover {
    background: #e57700;
    transform: translateY(-2px);
}



/* ==================================================
   FORMULARIO ACTIVAR MASCOTA
================================================== */

.petqr-container form {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}


/* Campos */

.petqr-field {
    margin-bottom: 22px;
}


.petqr-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}


.petqr-field input,
.petqr-field select,
.petqr-field textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
}


.petqr-field input:focus,
.petqr-field select:focus,
.petqr-field textarea:focus {
    border-color: #ff8a00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,138,0,0.2);
}


/* Checkboxes */

.petqr-checkbox {
    margin-bottom: 20px;
    font-size: 16px;
}


.petqr-checkbox input {
    margin-right: 8px;
}


/* Botón enviar */

.petqr-submit {
    width: 100%;
    background: #ff8a00;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}


.petqr-submit:hover {
    background: #e57700;
    transform: translateY(-2px);
}



/* ==================================================
   RESPONSIVE MÓVIL
================================================== */

@media(max-width: 600px) {

    .petqr-welcome,
    .petqr-container form {
        margin: 20px;
        padding: 25px;
    }


    .petqr-welcome h1 {
        font-size: 24px;
    }

}



/* ==================================================
   MI PANEL - DASHBOARD MASCOTAS
================================================== */

.petqr-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}


/* CABECERA */

.petqr-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}


.petqr-dashboard-header h1 {
    margin: 0;
    font-size: 32px;
    color: #222;
}


/* BOTÓN ACTIVAR PLACA */

.petqr-btn-small {
    background: #ff8a00;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
    display: inline-block;
}


.petqr-btn-small:hover {
    background: #e57700;
    transform: translateY(-2px);
}


/* TARJETA MASCOTA */

.petqr-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    text-align: center;
}


.petqr-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
    color: #222;
}


/* ÚLTIMO ESCANEO */

.petqr-last-scan {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px;
    margin: 18px 0 25px;
    color: #555;
    font-size: 15px;
}


/* BOTONES DE ACCIÓN */

.petqr-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


/* BOTÓN GENERAL */

.petqr-btn-card {
    background: #fff7ef;
    color: #ff8a00 !important;
    padding: 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: .25s;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    border: 2px solid #ffe0ba;
}


.petqr-btn-card:hover {
    background: #ff8a00;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.petqr-btn-card:hover {
    background: #e57700;
    transform: translateY(-2px);
}


/* BOTÓN PELIGRO - MASCOTA PERDIDA */

.petqr-btn-danger {
    background: #fff0f1;
    color: #dc3545 !important;
    border: 2px solid #ffc2c8;
}


.petqr-btn-danger:hover {
    background: #dc3545;
    color: white !important;
}


.petqr-btn-danger:hover {
    background: #b52a37;
}


/* BOTÓN ÉXITO - MASCOTA ENCONTRADA */

.petqr-btn-success {
    background: #eefaf1;
    color: #28a745 !important;
    border: 2px solid #b9e7c4;
}


.petqr-btn-success:hover {
    background: #28a745;
    color: white !important;
}


.petqr-btn-success:hover {
    background: #218838;
}


/* ESTADO VACÍO */

.petqr-empty {
    max-width: 600px;
    margin: 60px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    text-align: center;
}


.petqr-empty h2 {
    margin-bottom: 25px;
    color: #333;
}


/* RESPONSIVE MÓVIL */

@media (max-width: 600px) {

    .petqr-dashboard {
        margin-top: 25px;
        padding: 0 15px;
    }


    .petqr-dashboard-header {
        flex-direction: column;
        text-align: center;
    }


    .petqr-dashboard-header h1 {
        font-size: 26px;
    }


    .petqr-actions-grid {
        grid-template-columns: 1fr;
    }


    .petqr-card {
        padding: 20px;
    }

}



/* ==================================================
   GRID DE MASCOTAS
================================================== */

.petqr-dashboard-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* Tablet */

@media (max-width: 900px) {

    .petqr-dashboard-list {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Móvil */

@media (max-width: 600px) {

    .petqr-dashboard-list {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   FOTO MASCOTA EN TARJETAS
================================================== */

.petqr-card-photo {
    margin-bottom: 18px;
}

.petqr-card-photo img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ff8a00;
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
}

/* ==================================================
   NOMBRE DE MASCOTA EN TARJETA
================================================== */

.petqr-pet-name {
    font-size: 26px;
    margin: 12px 0;
    color: #222;
    line-height: 1.3;
}


/* ==================================================
   EDITAR MASCOTA PREMIUM
================================================== */


/* Tarjeta de foto */

.petqr-current-photo {

    background: #fffaf5;
    border-radius: 25px;
    padding: 35px 25px;
    margin-bottom: 35px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}


/* Foto circular */

.petqr-current-photo img {

    width: 220px;
    height: 220px;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
    border: 6px solid #ff8a00;

    display: block;

    margin: 0 auto 20px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);
}


/* Texto foto actual */

.petqr-photo-text {

    display: inline-block;

    background: #fff1e2;

    color: #333;

    padding: 12px 25px;

    border-radius: 50px;

    font-size: 17px;

    font-weight: 700;

    margin-top: 5px;
}


/* Título cambiar foto */

.petqr-photo-label {

    display: block;

    text-align: center;

    font-size: 18px;

    font-weight: 700;

    color: #333;

    margin-bottom: 15px;

    margin-top: 5px;
}


/* Selector archivo */

input[type="file"] {

    width: 100%;

    padding: 15px;

    background: #ffffff;

    border: 2px solid #ffd2a3;

    border-radius: 18px;

    cursor: pointer;

    box-sizing: border-box;
}


/* Botón seleccionar */

input[type="file"]::file-selector-button {

    background: #ff8a00;

    color: #ffffff;

    border: none;

    padding: 12px 18px;

    border-radius: 12px;

    margin-right: 15px;

    cursor: pointer;

    font-weight: 700;

    transition: .3s;
}


input[type="file"]::file-selector-button:hover {

    background: #e57700;
}















/*
==================================================
PET QR V1.1 - REFACTORIZACIÓN CSS
LIMPIEZA Y MEJORAS
==================================================
*/


/*
====================================
BOTÓN PRINCIPAL PET QR
====================================
*/

.petqr-btn-primary {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: fit-content;
    margin: 0 auto;

    background: #ff8a00;
    color: #ffffff !important;

    padding: 14px 28px;

    border: none;
    border-radius: 14px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: .3s;
}


.petqr-btn-primary:hover {

    background: #e57700;

    transform: translateY(-2px);
}



/*
====================================
BOTÓN DE RESCATE GPS
====================================
*/

.petqr-btn-location {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(180deg, #ff8a00 0%, #ff7000 100%);
    color: #ffffff !important;

    padding: 15px 30px;

    border: none;
    border-radius: 50px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;

    box-shadow:
        0 6px 15px rgba(255,122,0,.35);
}


.petqr-btn-location:hover {

    background: linear-gradient(180deg, #ff7000 0%, #e45f00 100%);

    transform: translateY(-3px);

    box-shadow:
        0 10px 20px rgba(255,122,0,.45);
}


/*
====================================
BOTONES DE TARJETAS - MI PANEL
====================================
*/


/*
BOTÓN BASE
*/

.petqr-btn-card {

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 52px;

    padding: 14px 12px;

    border-radius: 16px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition: all .25s ease;

    border: 2px solid #ffe0ba;

    background: #fff7ef;

    color: #ff8a00 !important;

}


.petqr-btn-card:hover {

    background: #ff8a00;

    color: #ffffff !important;

    transform: translateY(-3px);

    box-shadow: 0 6px 14px rgba(255,138,0,.30);

}



/*
BOTÓN PELIGRO
Mascota perdida
*/

.petqr-btn-danger {

    background: #fff2f3;

    color: #dc3545 !important;

    border-color: #ffc8cf;

}


.petqr-btn-danger:hover {

    background: #dc3545;

    color: white !important;

    box-shadow: 0 6px 14px rgba(220,53,69,.30);

}



/*
BOTÓN ÉXITO
Mascota encontrada
*/

.petqr-btn-success {

    background: #eefaf1;

    color: #28a745 !important;

    border-color: #bfe8c8;

}


.petqr-btn-success:hover {

    background: #28a745;

    color: white !important;

    box-shadow: 0 6px 14px rgba(40,167,69,.30);

}


/*
====================================
FORMULARIO OFICIAL PET QR
====================================
*/

.petqr-form {

    max-width: 600px;

    margin: 30px auto;

    background: #ffffff;

    padding: 35px;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);

}



/*
====================================
CAMPOS OFICIALES DE FORMULARIO
====================================
*/


/* Bloque de cada campo */

.petqr-field {

    margin-bottom: 22px;

}


/* Títulos de los campos */

.petqr-field label {

    display: block;

    margin-bottom: 8px;

    font-size: 15px;

    font-weight: 700;

    color: #333;

}


/* Inputs, select y textarea */

.petqr-field input,
.petqr-field select,
.petqr-field textarea {

    width: 100%;

    padding: 14px;

    border: 1px solid #dddddd;

    border-radius: 14px;

    font-size: 16px;

    background: #ffffff;

    transition: .25s;

}


/* Cuando el usuario hace clic */

.petqr-field input:focus,
.petqr-field select:focus,
.petqr-field textarea:focus {

    outline: none;

    border-color: #ff8a00;

    box-shadow:
        0 0 0 4px rgba(255,138,0,.18);

}


/*
====================================
CHECKBOXES OFICIALES PET QR
====================================
*/


.petqr-checkbox {

    margin-bottom: 22px;

}


.petqr-checkbox label {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #fff7ef;

    border: 2px solid #ffe0ba;

    border-radius: 14px;

    padding: 14px 16px;

    cursor: pointer;

    font-size: 16px;

    font-weight: 600;

    color: #333;

    transition: .25s;

}


/* Efecto al pasar mouse */

.petqr-checkbox label:hover {

    background: #fff1e2;

    transform: translateY(-1px);

}


/* Tamaño del checkbox */

.petqr-checkbox input[type="checkbox"] {

    width: 20px;

    height: 20px;

    cursor: pointer;

    accent-color: #ff8a00;

    flex-shrink: 0;

}


/*
====================================
BOTÓN OFICIAL DE FORMULARIOS
====================================
*/

.petqr-submit {

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(180deg, #ff8a00 0%, #ff7300 100%);

    color: #ffffff;

    border: none;

    border-radius: 16px;

    padding: 16px 20px;

    font-size: 17px;

    font-weight: 800;

    cursor: pointer;

    transition: all .25s ease;

    box-shadow:
        0 8px 18px rgba(255, 138, 0, .30);

}


/* Animación al pasar el mouse */

.petqr-submit:hover {

    background: linear-gradient(180deg, #ff7300 0%, #e46000 100%);

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(255, 138, 0, .40);

}


/* Efecto al presionar */

.petqr-submit:active {

    transform: translateY(-1px);

}


/*
====================================
ENCABEZADOS PREMIUM DE FORMULARIOS
====================================
*/


.petqr-form-title {

    text-align: center;

    font-size: 28px;

    font-weight: 800;

    color: #222;

    margin-bottom: 10px;

}


.petqr-form-description {

    text-align: center;

    font-size: 17px;

    color: #666;

    line-height: 1.6;

    margin-bottom: 30px;

}


/*
====================================
ANIMACIONES PREMIUM DE FORMULARIOS
====================================
*/


/* Aparición suave */

.petqr-form,
.petqr-current-photo,
.petqr-welcome {

    animation: petqrFadeUp .5s ease;
}


/* Animación subir y aparecer */

@keyframes petqrFadeUp {

    from {

        opacity: 0;

        transform: translateY(15px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*
====================================
ANIMACIONES PREMIUM - TARJETAS PANEL
====================================
*/


.petqr-card {

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

    border: 2px solid transparent;

}


/* Cuando el usuario pasa el cursor */

.petqr-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0,0,0,.15);

    border-color: #ffd2a3;

}



/*
====================================
MICROINTERACCIONES PREMIUM - BOTONES
====================================
*/


/*
Transición más fluida
*/

.petqr-btn-card {

    position: relative;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;

}


/*
Efecto de elevación
*/

.petqr-btn-card:hover {

    transform: translateY(-4px) scale(1.02);

}


/*
Efecto al hacer clic
*/

.petqr-btn-card:active {

    transform: scale(0.97);

}


/*
Brillo sutil al pasar el cursor
*/

.petqr-btn-card::after {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transition: .45s;

}


.petqr-btn-card:hover::after {

    left: 140%;

}


/*
====================================
MICROINTERACCIONES PREMIUM - FOTOS
====================================
*/


/*
Fotos del panel de mascotas
*/

.petqr-card-photo img {

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


/*
Efecto al pasar el cursor
*/

.petqr-card:hover .petqr-card-photo img {

    transform: scale(1.08);

    border-color: #ff6a00;

    box-shadow:
        0 12px 25px rgba(255,122,0,.35);

}


/*
Foto principal en editar mascota
*/

.petqr-current-photo img {

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


.petqr-current-photo:hover img {

    transform: scale(1.03);

    border-color: #ff6a00;

    box-shadow:
        0 15px 35px rgba(255,122,0,.35);

}


/*
====================================
FLUIDEZ GENERAL DE LA APLICACIÓN
====================================
*/


/*
Transiciones suaves en elementos interactivos
*/

.petqr-btn-primary,
.petqr-submit,
.petqr-btn-small,
.petqr-btn-card,
.petqr-btn-location,
.petqr-field input,
.petqr-field textarea,
.petqr-field select,
.petqr-checkbox label,
.petqr-card,
.petqr-card-photo img,
.petqr-current-photo img {

    transition:
        all .25s ease;

}

/*
====================================
EXPERIENCIA TÁCTIL MÓVIL
====================================
*/


.petqr-btn-primary,
.petqr-submit,
.petqr-btn-small,
.petqr-btn-card,
.petqr-btn-location {

    -webkit-tap-highlight-color: transparent;

    touch-action: manipulation;

}


/*
====================================
DESPLAZAMIENTO SUAVE
====================================
*/

html {

    scroll-behavior: smooth;

}


/*
====================================
ACTIVACIÓN EXITOSA PREMIUM
====================================
*/


.petqr-success-page {

    max-width: 650px;

    margin: 40px auto;

    text-align: center;

}


.petqr-success-card {

    background: linear-gradient(180deg, #f1fff6 0%, #e8faef 100%);

    border: 2px solid #38c172;

    border-radius: 25px;

    padding: 40px 35px;

    box-shadow:
        0 12px 35px rgba(56,193,114,.20);

    animation: petqrFadeUp .5s ease;

}


/*
Icono de éxito
*/

.petqr-success-icon {

    font-size: 60px;

    margin-bottom: 15px;

}


/*
Título
*/

.petqr-success-card h1 {

    margin: 0 0 15px;

    font-size: 34px;

    color: #1d7a43;

    font-weight: 800;

}


/*
Mensaje principal
*/

.petqr-success-card > p {

    font-size: 18px;

    color: #555;

    line-height: 1.6;

}


/*
Lista de beneficios
*/

.petqr-success-list {

    margin: 30px 0;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


/*
Cada beneficio
*/

.petqr-success-item {

    background: #ffffff;

    padding: 15px 18px;

    border-radius: 14px;

    color: #333;

    font-weight: 600;

    box-shadow:
        0 5px 12px rgba(0,0,0,.06);

}


/*
Botón administrar mascotas
*/

.petqr-success-actions {

    margin-top: 30px;

}


/*
Móvil
*/

@media (max-width: 600px) {

    .petqr-success-card {

        padding: 30px 20px;

    }


    .petqr-success-card h1 {

        font-size: 28px;

    }


    .petqr-success-icon {

        font-size: 50px;

    }

}


/*
====================================
CONFIRMACIÓN FOTO SELECCIONADA
====================================
*/

.petqr-file-success {

    margin-top: 12px;

    background: #eefaf1;

    border: 2px solid #38c172;

    color: #1d7a43;

    padding: 14px;

    border-radius: 14px;

    text-align: center;

    font-weight: 700;

    animation: petqrFadeUp .3s ease;

}




