
:root {
    --primario: #164f53;
    --primario-claro: #287c78;
    --menta: #ddf0ea;
    --fondo: #f3f7f7;
    --blanco: #ffffff;
    --texto: #243b44;
    --secundario: #648080;
    --borde: #dce6e5;
    --peligro: #b42318;
    --radio: 14px;
    --sombra: 0 5px 22px rgba(20, 67, 70, .07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--fondo);
    color: var(--texto);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--primario-claro);
}

.barra {
    background: var(--primario);
    color: white;
}

.barra-contenido {
    max-width: 1200px;
    margin: auto;
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.marca {
    color: white;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
}

.navegacion {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.navegacion a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.navegacion .volver-pagina {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 8px;
    color: white;
    font-weight: 700;
}

.navegacion .volver-pagina:hover,
.navegacion .volver-pagina:focus-visible {
    background: rgba(255, 255, 255, .14);
    text-decoration: none;
}

.navegacion .volver-pagina:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.pagina {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
    min-height: 65vh;
}

.hero {
    background: var(--menta);
    padding: 36px;
    border-radius: var(--radio);
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--primario);
    margin: 8px 0;
}

.tarjeta {
    background: white;
    padding: 25px;
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    margin-bottom: 20px;
}

.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(
        auto-fit, minmax(220px, 1fr)
    );
    gap: 18px;
}

.boton {
    display: inline-block;
    padding: 11px 18px;
    border: none;
    border-radius: 9px;
    background: var(--primario);
    color: white;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.boton:hover {
    background: var(--primario-claro);
    color: white;
}

.boton-secundario {
    background: #64748b;
}

.campo {
    margin-bottom: 18px;
}

.campo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--borde);
    border-radius: 9px;
    font: inherit;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primario-claro);
    outline-offset: 1px;
}

.tabla-contenedor {
    overflow-x: auto;
}

.tabla {
    width: 100%;
    border-collapse: collapse;
}

.tabla th,
.tabla td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--borde);
}

.tabla th {
    background: var(--menta);
    color: var(--primario);
}

.error {
    color: var(--peligro);
}

.pie {
    text-align: center;
    padding: 22px;
    color: var(--secundario);
    font-size: 13px;
}

@media (max-width: 650px) {
    .pagina {
        padding: 0 14px;
    }

    .hero,
    .tarjeta {
        padding: 20px;
    }
}

/* ===================================
   MODULO VETERINARIO
=================================== */

.vet-encabezado {
    background: linear-gradient(
        120deg,
        #ddf0ea,
        #edf8f5
    );
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vet-encabezado h1 {
    color: var(--primario);
    font-size: 30px;
    margin: 8px 0;
}

.vet-encabezado p {
    color: #557477;
    margin-bottom: 0;
}

.vet-etiqueta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primario-claro);
}

.vet-icono {
    background: white;
    border-radius: 16px;
    padding: 20px;
    font-size: 32px;
}

.vet-barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.vet-barra h2 {
    color: var(--primario);
    margin: 0;
}

.vet-subtexto {
    color: var(--secundario);
    margin: 5px 0;
    font-size: 14px;
}

.vet-busqueda {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.vet-busqueda input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid var(--borde);
    border-radius: 9px;
    font-size: 15px;
}

.vet-vacio {
    text-align: center;
    padding: 35px;
    color: var(--secundario);
}

.vet-aviso {
    color: var(--secundario);
    font-size: 12px;
    margin-top: 20px;
}

.tabla tbody tr:hover {
    background: #f5faf8;
}

@media (max-width: 650px) {
    .vet-encabezado {
        padding: 20px;
    }

    .vet-encabezado h1 {
        font-size: 24px;
    }

    .vet-icono {
        display: none;
    }

    .vet-busqueda {
        flex-direction: column;
    }

    .vet-busqueda input {
        width: 100%;
    }
}

/* =====================================
   VETCARE - EXPEDIENTE CLINICO
===================================== */

.exp-banner {
    background: linear-gradient(
        120deg, #ddf0ea, #edf8f5
    );
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.exp-volver {
    display: inline-block;
    color: var(--primario);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 25px;
}

.exp-volver:hover {
    text-decoration: underline;
}

.exp-perfil {
    display: flex;
    align-items: center;
    gap: 22px;
}

.exp-perfil h1 {
    color: var(--primario);
    font-size: 34px;
    margin: 5px 0;
}

.exp-perfil p {
    color: #557477;
    margin: 4px 0;
}

.exp-avatar {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: white;
    font-size: 42px;
    flex-shrink: 0;
}

.exp-resumen {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.exp-dato {
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
}

.exp-dato span {
    display: block;
    color: #648080;
    font-size: 13px;
    margin-bottom: 5px;
}

.exp-dato strong {
    color: var(--primario);
}

.exp-demo {
    background: #fff7e6;
    color: #805600;
    padding: 12px 16px;
    border-radius: 9px;
    margin-bottom: 20px;
    font-size: 13px;
}

.exp-accesos {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.exp-acceso {
    background: white;
    padding: 20px;
    border: 1px solid var(--borde);
    border-radius: 14px;
    box-shadow: var(--sombra);
}

.exp-acceso-icono {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--menta);
    font-size: 23px;
}

.exp-acceso h3 {
    color: var(--primario);
    font-size: 16px;
    margin: 14px 0 5px;
}

.exp-acceso p {
    color: var(--secundario);
    font-size: 13px;
    margin: 0;
}

.exp-panel {
    margin-bottom: 22px;
}

.exp-panel-titulo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.exp-panel-titulo h2 {
    color: var(--primario);
    font-size: 21px;
    margin: 0;
}

.exp-panel-titulo p {
    color: var(--secundario);
    font-size: 14px;
    margin: 6px 0 0;
}

.exp-contador {
    background: var(--menta);
    color: var(--primario);
    border-radius: 30px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 600;
}

.exp-estado {
    display: inline-block;
    background: #edf1f2;
    color: #52636b;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.exp-vencida {
    background: #fdeceb;
    color: #b42318;
}

.exp-vigente {
    background: #e9f7ee;
    color: #176b3a;
}

.exp-vacio {
    background: #f8faf9;
    border: 1px dashed var(--borde);
    border-radius: 10px;
    text-align: center;
    padding: 30px 18px;
    color: var(--secundario);
    font-size: 14px;
}

.exp-notas {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exp-nota {
    display: flex;
    gap: 15px;
}

.exp-nota-marca {
    width: 5px;
    border-radius: 10px;
    background: var(--primario-claro);
    flex-shrink: 0;
}

.exp-nota-cuerpo {
    flex: 1;
    min-width: 0;
    background: #f8faf9;
    border-radius: 10px;
    padding: 18px;
}

.exp-nota-fecha {
    color: var(--primario-claro);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
}

.exp-nota-texto {
    margin: 0 0 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.exp-nota-autor {
    color: var(--secundario);
    font-size: 13px;
    margin: 0;
}

.exp-secciones {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 900px) {
    .exp-accesos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .exp-banner {
        padding: 20px;
    }

    .exp-perfil h1 {
        font-size: 26px;
    }

    .exp-avatar {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .exp-resumen,
    .exp-secciones {
        grid-template-columns: 1fr;
    }

    .exp-accesos {
        grid-template-columns: 1fr 1fr;
    }

    .exp-acceso {
        padding: 15px;
    }

    .exp-panel-titulo h2 {
        font-size: 18px;
    }
}

/* ==========================================
   VETCARE - ADMINISTRACIÓN DE USUARIOS
========================================== */

.vc-usuarios {
    max-width: 1200px;
    margin: 35px auto 60px;
    color: var(--texto);
}

/* ENCABEZADO */

.vc-usuarios-hero {
    background: linear-gradient(125deg, #164f53, #287c78);
    border-radius: 22px;
    padding: 36px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    color: white;
    box-shadow: 0 12px 30px rgba(22, 79, 83, .13);
}

.vc-usuarios-hero-contenido {
    max-width: 700px;
}

.vc-usuarios-etiqueta {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    color: #bde9db;
    margin-bottom: 15px;
}

.vc-usuarios-hero h1 {
    color: white;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
}

.vc-usuarios-hero p {
    color: #e1f2ed;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

.vc-usuarios-hero-icono {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .20);
    font-size: 49px;
}

/* TARJETAS DE ESTADÍSTICAS */

.vc-usuarios-estadisticas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.vc-usuarios-stat {
    background: white;
    border: 1px solid #e3edeb;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 5px 20px rgba(20, 67, 70, .045);
}

.vc-usuarios-stat-icono {
    width: 57px;
    height: 57px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
}

.vc-usuarios-stat-icono.total {
    background: #e0f1ee;
    color: #164f53;
}

.vc-usuarios-stat-icono.activos {
    background: #e1f5e9;
    color: #16804a;
}

.vc-usuarios-stat-icono.bloqueados {
    background: #fff0ec;
    color: #b42318;
}

.vc-usuarios-stat-titulo {
    display: block;
    font-size: 13px;
    color: #648080;
    font-weight: 600;
    margin-bottom: 5px;
}

.vc-usuarios-stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #243b44;
    line-height: 1.15;
}

.vc-usuarios-stat small {
    display: block;
    font-size: 12px;
    color: #809397;
    margin-top: 5px;
}

/* ALERTAS */

.vc-usuarios-alerta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 19px;
    border-radius: 13px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}

.vc-usuarios-alerta.exito {
    background: #e0f5e9;
    color: #16683b;
    border: 1px solid #c2e9d0;
}

.vc-usuarios-alerta.error {
    background: #fff0ed;
    color: #a52b20;
    border: 1px solid #f5d4ce;
}

.vc-usuarios-alerta > span {
    font-size: 20px;
    font-weight: 800;
}

/* PANEL PRINCIPAL */

.vc-usuarios-panel {
    background: white;
    border: 1px solid #e2ebea;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 7px 28px rgba(20, 67, 70, .05);
}

.vc-usuarios-panel-header {
    padding: 29px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vc-usuarios-panel-etiqueta {
    display: block;
    font-size: 11px;
    letter-spacing: 1.4px;
    color: #287c78;
    font-weight: 800;
    margin-bottom: 9px;
}

.vc-usuarios-panel-header h2 {
    color: #164f53;
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 8px;
}

.vc-usuarios-panel-header p {
    margin: 0;
    color: #648080;
    font-size: 14px;
}

.vc-usuarios-contador {
    background: #ddf0ea;
    color: #164f53;
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

/* TABLA */

.vc-usuarios-tabla-contenedor {
    width: 100%;
    overflow-x: auto;
}

.vc-usuarios-tabla {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: white;
    margin: 0;
}

.vc-usuarios-tabla thead {
    background: #f0f7f5;
}

.vc-usuarios-tabla th {
    padding: 17px 19px;
    color: #55787a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid #e1eae8;
}

.vc-usuarios-tabla td {
    padding: 19px;
    border-bottom: 1px solid #edf2f1;
    vertical-align: middle;
    font-size: 13px;
}

.vc-usuarios-tabla tbody tr {
    transition: background .2s ease;
}

.vc-usuarios-tabla tbody tr:hover {
    background: #f8fbfa;
}

.vc-usuarios-tabla tbody tr:last-child td {
    border-bottom: none;
}

/* IDENTIDAD DEL USUARIO */

.vc-usuarios-identidad {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vc-usuarios-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #ddf0ea, #c5e7de);
    color: #164f53;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
}

.vc-usuarios-identidad-texto strong {
    display: block;
    color: #243b44;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.vc-usuarios-identidad-texto small {
    display: block;
    color: #91a1a4;
    margin-top: 4px;
    font-size: 11px;
}

/* ROL Y FECHA */

.vc-usuarios-rol {
    display: inline-block;
    background: #e8f2f7;
    color: #326582;
    padding: 8px 12px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 12px;
}

.vc-usuarios-fecha {
    color: #597178;
    font-weight: 500;
}

/* ESTADOS */

.vc-usuarios-estado {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 30px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.vc-usuarios-estado.activo {
    background: #e1f6e9;
    color: #147647;
}

.vc-usuarios-estado.bloqueado {
    background: #ffedea;
    color: #b42318;
}

.vc-usuarios-estado-punto {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* BOTONES DE ACCIÓN */

.vc-usuarios-form-accion {
    margin: 0;
}

.vc-usuarios-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}

.vc-usuarios-btn.bloquear {
    background: #fff0ed;
    color: #b42318;
    border-color: #f8d8d1;
}

.vc-usuarios-btn.bloquear:hover {
    background: #b42318;
    color: white;
}

.vc-usuarios-btn.desbloquear {
    background: #e0f5e9;
    color: #157647;
    border-color: #c5e8d2;
}

.vc-usuarios-btn.desbloquear:hover {
    background: #157647;
    color: white;
}

.vc-usuarios-btn:focus-visible,
.vc-usuarios-volver:focus-visible {
    outline: 3px solid #8dcac1;
    outline-offset: 3px;
}

.vc-usuarios-cuenta-propia {
    display: inline-block;
    color: #87999c;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ESTADO VACÍO */

.vc-usuarios-vacio {
    text-align: center;
    padding: 50px 20px;
}

.vc-usuarios-vacio-icono {
    font-size: 42px;
    margin-bottom: 15px;
}

.vc-usuarios-vacio h3 {
    color: #164f53;
    font-size: 19px;
    margin-bottom: 8px;
}

.vc-usuarios-vacio p {
    color: #648080;
    margin: 0;
}

/* PIE DEL PANEL */

.vc-usuarios-panel-footer {
    padding: 17px 30px;
    background: #fbfdfc;
    border-top: 1px solid #edf2f1;
}

.vc-usuarios-panel-footer span {
    color: #789092;
    font-size: 12px;
}

/* VOLVER */

.vc-usuarios-navegacion {
    margin-top: 25px;
}

.vc-usuarios-volver {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: white;
    color: #164f53;
    text-decoration: none;
    padding: 13px 19px;
    border: 1px solid #dce6e5;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    transition: all .2s ease;
}

.vc-usuarios-volver:hover {
    background: #ddf0ea;
    color: #164f53;
    border-color: #b7dcd2;
}

/* DISEÑO RESPONSIVE */

@media (max-width: 900px) {
    .vc-usuarios-estadisticas {
        grid-template-columns: 1fr;
        gap: 13px;
    }
}

@media (max-width: 650px) {
    .vc-usuarios {
        margin: 20px auto 40px;
    }

    .vc-usuarios-hero {
        padding: 25px;
    }

    .vc-usuarios-hero-icono {
        display: none;
    }

    .vc-usuarios-panel-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 23px;
    }

    .vc-usuarios-panel-footer {
        padding: 17px 23px;
    }

    .vc-usuarios-stat {
        padding: 18px;
    }

    .vc-usuarios-hero h1 {
        font-size: 27px;
    }
}
/* ==========================================
   VETCARE - REGISTRAR VETERINARIO
========================================== */

.vc-vet-crear {
    max-width: 1050px;
    margin: 35px auto 60px;
    color: #243b44;
}

/* ENCABEZADO */

.vc-vet-crear-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 34px 40px;
    border-radius: 22px;
    background: linear-gradient(125deg, #164f53, #287c78);
    color: white;
    box-shadow: 0 12px 30px rgba(22, 79, 83, .12);
    margin-bottom: 25px;
}

.vc-vet-crear-etiqueta {
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 800;
    color: #bde9db;
    margin-bottom: 14px;
}

.vc-vet-crear-hero h1 {
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
}

.vc-vet-crear-hero p {
    color: #e1f2ed;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 550px;
}

.vc-vet-crear-hero-icono {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 26px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
}

/* PANEL */

.vc-vet-crear-panel {
    background: white;
    border: 1px solid #e0eae8;
    border-radius: 21px;
    box-shadow: 0 8px 30px rgba(20, 67, 70, .055);
    overflow: hidden;
}

.vc-vet-crear-panel-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 30px 35px;
    border-bottom: 1px solid #edf2f1;
    background: #fbfdfc;
}

.vc-vet-crear-panel-icono {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 17px;
    background: #ddf0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.vc-vet-crear-subetiqueta {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    color: #287c78;
    margin-bottom: 7px;
}

.vc-vet-crear-panel-header h2 {
    font-size: 23px;
    font-weight: 800;
    color: #164f53;
    margin: 0 0 7px;
}

.vc-vet-crear-panel-header p {
    font-size: 13px;
    color: #648080;
    margin: 0;
}

/* FORMULARIO */

.vc-vet-crear-formulario {
    padding: 35px;
}

.vc-vet-crear-seccion {
    margin-bottom: 35px;
}

.vc-vet-crear-seccion-titulo {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.vc-vet-crear-numero {
    width: 41px;
    height: 41px;
    border-radius: 12px;
    background: #e2f1ed;
    color: #164f53;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
}

.vc-vet-crear-seccion-titulo h3 {
    color: #164f53;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 5px;
}

.vc-vet-crear-seccion-titulo p {
    color: #84979a;
    font-size: 12px;
    margin: 0;
}

/* CUADRÍCULA */

.vc-vet-crear-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 23px;
}

.vc-vet-crear-campo {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.vc-vet-crear-campo label {
    color: #35535a;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 9px;
}

.vc-vet-crear-campo input {
    width: 100%;
    min-height: 49px;
    background: #f9fbfa;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    padding: 12px 15px;
    font-size: 14px;
    color: #243b44;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                background .2s ease;
}

.vc-vet-crear-campo input::placeholder {
    color: #9baeb0;
}

.vc-vet-crear-campo input:hover {
    border-color: #b4d0ca;
}

.vc-vet-crear-campo input:focus {
    outline: none;
    border-color: #287c78;
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

.vc-vet-crear-campo input.input-validation-error {
    border-color: #d34438;
    background: #fffafa;
}

/* VALIDACIONES */

.vc-vet-crear-validacion {
    display: block;
    color: #b42318;
    font-size: 12px;
    margin-top: 7px;
}

.vc-vet-crear-validacion:empty {
    display: none;
}

.vc-vet-crear-error:not(:empty) {
    padding: 14px 18px;
    margin-bottom: 25px;
    background: #fff0ed;
    border: 1px solid #f3d3cb;
    color: #b42318;
    border-radius: 12px;
    font-size: 13px;
}

.vc-vet-crear-error ul {
    margin: 0;
    padding-left: 20px;
}

/* AVISO */

.vc-vet-crear-aviso {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f0f7f5;
    border: 1px solid #d9ece6;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 30px;
}

.vc-vet-crear-aviso-icono {
    font-size: 25px;
    flex-shrink: 0;
}

.vc-vet-crear-aviso strong {
    display: block;
    color: #164f53;
    font-size: 13px;
    margin-bottom: 6px;
}

.vc-vet-crear-aviso p {
    color: #648080;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

/* BOTONES */

.vc-vet-crear-acciones {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 26px;
    border-top: 1px solid #edf2f1;
}

.vc-vet-crear-cancelar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    background: white;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    color: #557579;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.vc-vet-crear-cancelar:hover {
    background: #f0f7f5;
    color: #164f53;
    text-decoration: none;
}

.vc-vet-crear-guardar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    background: #164f53;
    border: 1px solid #164f53;
    color: white;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease,
                transform .2s ease;
}

.vc-vet-crear-guardar:hover {
    background: #287c78;
    border-color: #287c78;
    transform: translateY(-2px);
}

.vc-vet-crear-guardar:focus-visible,
.vc-vet-crear-cancelar:focus-visible {
    outline: 3px solid #8fcbbf;
    outline-offset: 3px;
}

/* PIE */

.vc-vet-crear-pie {
    text-align: center;
    color: #8a9d9e;
    font-size: 12px;
    padding: 23px;
}

/* RESPONSIVE */

@media (max-width: 700px) {
    .vc-vet-crear {
        margin: 20px auto 35px;
    }

    .vc-vet-crear-hero {
        padding: 28px 24px;
    }

    .vc-vet-crear-hero-icono {
        display: none;
    }

    .vc-vet-crear-panel-header {
        padding: 24px;
    }

    .vc-vet-crear-formulario {
        padding: 24px;
    }

    .vc-vet-crear-grid {
        grid-template-columns: 1fr;
    }

    .vc-vet-crear-acciones {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .vc-vet-crear-cancelar,
    .vc-vet-crear-guardar {
        width: 100%;
    }
}
/* ==========================================
   VETCARE - LISTADO DE VETERINARIOS
========================================== */

/* RESUMEN */

.vc-vets-resumen {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 24px 0;
    padding: 24px 28px;
    background: white;
    border: 1px solid #e0eae8;
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(20, 67, 70, .045);
}

.vc-vets-resumen-icono {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddf0ea;
    border-radius: 17px;
    font-size: 30px;
}

.vc-vets-resumen-etiqueta {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #648080;
    margin-bottom: 5px;
}

.vc-vets-resumen strong {
    display: block;
    color: #164f53;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.vc-vets-resumen small {
    display: block;
    color: #829899;
    font-size: 12px;
    margin-top: 3px;
}

/* BOTÓN REGISTRAR */

.vc-vets-btn-nuevo {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    background: #164f53;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid #164f53;
    border-radius: 12px;
    white-space: nowrap;
    transition: .2s ease;
}

.vc-vets-btn-nuevo:hover {
    background: #287c78;
    color: white;
    text-decoration: none;
}

/* BÚSQUEDA */

.vc-vets-busqueda {
    padding: 22px 30px 25px;
    border-top: 1px solid #edf2f1;
    border-bottom: 1px solid #edf2f1;
}

.vc-vets-form-busqueda {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.vc-vets-busqueda-campo {
    flex: 1;
    min-width: 0;
}

.vc-vets-label {
    display: block;
    margin-bottom: 9px;
    color: #35535a;
    font-size: 12px;
    font-weight: 800;
}

.vc-vets-input-contenedor {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    background: #f9fbfa;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    padding: 0 15px;
    transition: .2s ease;
}

.vc-vets-input-contenedor:focus-within {
    border-color: #287c78;
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .1);
}

.vc-vets-input-contenedor > span {
    color: #648080;
    font-size: 26px;
    line-height: 1;
}

.vc-vets-input-contenedor input {
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    border: none;
    outline: none;
    background: transparent;
    color: #243b44;
    font-size: 13px;
    font-family: inherit;
}

.vc-vets-input-contenedor input::placeholder {
    color: #94a7a8;
}

/* BOTONES DE BÚSQUEDA */

.vc-vets-btn-buscar,
.vc-vets-btn-limpiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.vc-vets-btn-buscar {
    background: #164f53;
    color: white;
    border: 1px solid #164f53;
}

.vc-vets-btn-buscar:hover {
    background: #287c78;
}

.vc-vets-btn-limpiar {
    background: white;
    color: #557579;
    border: 1px solid #dce6e5;
}

.vc-vets-btn-limpiar:hover {
    background: #ddf0ea;
    color: #164f53;
    text-decoration: none;
}

.vc-vets-resultado-texto {
    margin: 13px 0 0;
    color: #648080;
    font-size: 12px;
}

.vc-vets-resultado-texto strong {
    color: #164f53;
}

/* TABLA */

.vc-vets-tabla {
    min-width: 1030px;
}

.vc-vets-dato {
    font-size: 13px;
    color: #557179;
    white-space: nowrap;
}

.vc-vets-correo {
    display: inline-block;
    max-width: 200px;
    overflow-wrap: anywhere;
    font-size: 12px;
    color: #557179;
}

/* BOTONES DE ACCIÓN */

.vc-vets-acciones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vc-vets-form-eliminar {
    display: inline-flex;
    margin: 0;
}

.vc-vets-btn-editar,
.vc-vets-btn-eliminar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.vc-vets-btn-editar {
    background: #e0f1ee;
    color: #164f53;
    border: 1px solid #c9e4dd;
}

.vc-vets-btn-editar:hover {
    background: #164f53;
    color: white;
    text-decoration: none;
}

.vc-vets-btn-eliminar {
    background: #fff0ed;
    color: #b42318;
    border: 1px solid #f8d8d1;
}

.vc-vets-btn-eliminar:hover {
    background: #b42318;
    color: white;
}

/* ESTADO VACÍO */

.vc-vets-vacio-enlace {
    margin-top: 20px;
}

.vc-vets-vacio-enlace.vc-vets-btn-nuevo {
    margin-left: 0;
}

/* ACCESIBILIDAD */

.vc-vets-btn-nuevo:focus-visible,
.vc-vets-btn-buscar:focus-visible,
.vc-vets-btn-limpiar:focus-visible,
.vc-vets-btn-editar:focus-visible,
.vc-vets-btn-eliminar:focus-visible {
    outline: 3px solid #8fcbbf;
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 700px) {

    .vc-vets-resumen {
        flex-wrap: wrap;
        padding: 20px;
    }

    .vc-vets-btn-nuevo {
        width: 100%;
        margin-left: 0;
    }

    .vc-vets-busqueda {
        padding: 20px;
    }

    .vc-vets-form-busqueda {
        flex-wrap: wrap;
    }

    .vc-vets-busqueda-campo {
        flex-basis: 100%;
    }

    .vc-vets-btn-buscar,
    .vc-vets-btn-limpiar {
        flex: 1;
    }

}

/* Panel izquierdo */

.vc-login-presentacion {
    background: linear-gradient(
        145deg,
        #164f53,
        #287c78
    );
    color: white;
    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
}

.vc-login-logo {
    font-size: 43px;
    margin-bottom: 30px;
}

.vc-login-etiqueta {
    color: #c6e8e1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.vc-login-presentacion h1 {
    font-size: 36px;
    line-height: 1.2;
    margin: 15px 0;
    color: white;
}

.vc-login-descripcion {
    color: #e0f0ed;
    font-size: 16px;
    line-height: 1.7;
}

.vc-login-beneficios {
    margin-top: 25px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
}

.vc-login-beneficios p {
    margin: 10px 0;
    color: white;
    font-size: 14px;
}

.vc-login-pie {
    margin-top: 35px;
    font-size: 12px;
    color: #c6e8e1;
}

/* Panel derecho */

.vc-login-formulario {
    padding: 55px 48px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vc-login-icono {
    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    border-radius: 15px;
    background: var(--menta);
    font-size: 27px;
    margin-bottom: 20px;
}

.vc-login-etiqueta-form {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primario-claro);
}

.vc-login-formulario h2 {
    color: var(--primario);
    margin: 8px 0;
    font-size: 29px;
}

.vc-login-subtitulo {
    color: var(--secundario);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.vc-login-campo {
    margin-bottom: 20px;
}

.vc-login-campo label {
    display: block;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 8px;
    font-size: 14px;
}

.vc-login-campo input {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;

    border: 1px solid var(--borde);
    border-radius: 10px;
    background: #fbfdfc;

    font: inherit;
}

.vc-login-campo input:focus {
    border-color: var(--primario-claro);
    outline: 2px solid rgba(40, 124, 120, .15);
}

.vc-login-boton {
    width: 100%;
    min-height: 49px;
    font-size: 15px;
    margin-top: 10px;
}

.vc-login-error {
    color: var(--peligro);
    font-size: 13px;
}

.vc-login-error:not(:empty) {
    display: block;
    margin: 8px 0;
}

.vc-login-seguridad {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 26px;
    padding: 14px;

    background: #f3f8f7;
    border-radius: 10px;
}

.vc-login-seguridad p {
    color: var(--secundario);
    font-size: 12px;
    margin: 0;
}

.vc-login-volver {
    display: inline-block;
    align-self: center;
    margin-top: 25px;
    color: var(--primario-claro);
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

.vc-login-volver:hover {
    text-decoration: underline;
}

/* Adaptacion a celulares */

@media (max-width: 800px) {
    .vc-login {
        grid-template-columns: 1fr;
        margin: 20px auto;
    }

    .vc-login-presentacion {
        padding: 30px;
    }

    .vc-login-presentacion h1 {
        font-size: 27px;
    }

    .vc-login-logo {
        margin-bottom: 12px;
    }

    .vc-login-beneficios,
    .vc-login-pie {
        display: none;
    }

    .vc-login-formulario {
        padding: 35px 25px;
    }
}

@media (max-width: 400px) {
    .vc-login-presentacion,
    .vc-login-formulario {
        padding: 25px 18px;
    }
}


/* ==========================================
   VETCARE - PANEL DE ADMINISTRACIÓN
========================================== */

.vc-admin {
    max-width: 1200px;
    margin: 35px auto 60px;
    color: var(--texto);
}

/* BIENVENIDA */

.vc-admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 48px;
    border-radius: 24px;
    background: linear-gradient(120deg, #164f53, #287c78);
    color: white;
    box-shadow: 0 12px 35px rgba(22, 79, 83, .14);
    overflow: hidden;
}

.vc-admin-hero-texto {
    max-width: 730px;
}

.vc-admin-etiqueta {
    display: inline-block;
    color: #bde9db;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 16px;
}

.vc-admin-hero h1 {
    font-size: clamp(29px, 4vw, 43px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin: 0 0 17px;
}

.vc-admin-hero p {
    color: #e0f0ec;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 24px;
}

.vc-admin-hero p strong {
    color: white;
}

.vc-admin-hero-icono {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    border-radius: 36px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    transform: rotate(-7deg);
}

.vc-admin-sesion {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.vc-admin-sesion-punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #87e6ac;
}

/* TÍTULOS */

.vc-admin-seccion-titulo {
    margin: 39px 0 23px;
}

.vc-admin-subtitulo {
    color: #287c78;
    letter-spacing: 1.5px;
    font-weight: 800;
    font-size: 11px;
}

.vc-admin-seccion-titulo h2 {
    font-size: 27px;
    font-weight: 800;
    color: #164f53;
    margin: 9px 0;
}

.vc-admin-seccion-titulo p {
    color: #648080;
    font-size: 14px;
    margin: 0;
}

/* TARJETAS DE MÓDULOS */

.vc-admin-modulos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vc-admin-tarjeta {
    background: white;
    border: 1px solid #e0eae8;
    border-radius: 20px;
    padding: 29px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 22px rgba(20, 67, 70, .045);
    transition: transform .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
}

.vc-admin-tarjeta:hover {
    transform: translateY(-5px);
    border-color: #add6ca;
    box-shadow: 0 16px 35px rgba(20, 67, 70, .11);
    text-decoration: none;
}

.vc-admin-tarjeta:focus-visible {
    outline: 3px solid #89c9bd;
    outline-offset: 3px;
}

.vc-admin-tarjeta-icono {
    width: 63px;
    height: 63px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    margin-bottom: 25px;
}

.vc-admin-tarjeta-icono.usuarios {
    background: #ddf0ea;
}

.vc-admin-tarjeta-icono.especies {
    background: #fff0dd;
}

.vc-admin-tarjeta-icono.mascotas {
    background: #e6ecfa;
}

.vc-admin-tarjeta-categoria {
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: #287c78;
}

.vc-admin-tarjeta h3 {
    font-size: 20px;
    font-weight: 800;
    color: #164f53;
    margin: 11px 0;
}

.vc-admin-tarjeta p {
    color: #648080;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

.vc-admin-tarjeta-contenido {
    flex: 1;
}

.vc-admin-tarjeta-enlace {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #edf2f1;
    padding-top: 21px;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 800;
    color: #287c78;
}

.vc-admin-tarjeta-enlace span {
    font-size: 22px;
    transition: transform .2s;
}

.vc-admin-tarjeta:hover .vc-admin-tarjeta-enlace span {
    transform: translateX(5px);
}

/* PARTE INFERIOR */

.vc-admin-inferior {
    margin-top: 27px;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 22px;
}

.vc-admin-informacion,
.vc-admin-cuenta {
    background: white;
    border: 1px solid #e0eae8;
    border-radius: 19px;
    padding: 27px;
}

.vc-admin-informacion {
    display: flex;
    align-items: flex-start;
    gap: 19px;
}

.vc-admin-info-icono {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #ddf0ea;
    font-size: 25px;
}

.vc-admin-informacion h3 {
    color: #164f53;
    font-size: 17px;
    margin: 2px 0 10px;
    font-weight: 800;
}

.vc-admin-informacion p {
    color: #648080;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.vc-admin-cuenta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.vc-admin-cuenta-etiqueta {
    color: #648080;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.vc-admin-cuenta strong {
    color: #164f53;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.vc-admin-cuenta form {
    margin-top: auto;
    padding-top: 13px;
}

.vc-admin-cerrar {
    background: #fff0ed;
    border: 1px solid #f5d8d1;
    color: #b42318;
    padding: 11px 16px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.vc-admin-cerrar:hover {
    color: white;
    background: #b42318;
}

.vc-admin-cerrar:focus-visible {
    outline: 3px solid #f2b4aa;
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .vc-admin-modulos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vc-admin-inferior {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .vc-admin {
        margin: 20px auto 40px;
    }

    .vc-admin-hero {
        padding: 30px 25px;
    }

    .vc-admin-hero-icono {
        display: none;
    }

    .vc-admin-modulos {
        grid-template-columns: 1fr;
    }

    .vc-admin-tarjeta {
        min-height: auto;
    }

    .vc-admin-seccion-titulo h2 {
        font-size: 23px;
    }

    .vc-admin-informacion {
        flex-direction: column;
    }
}

/* ========================================
   VETCARE - ACCESO DENEGADO
======================================== */

.vc-denegado {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 18px;
}

.vc-denegado-tarjeta {
    width: 100%;
    max-width: 610px;
    background: #ffffff;
    border: 1px solid #e0eae8;
    border-radius: 25px;
    padding: 50px 48px;
    text-align: center;
    box-shadow: 0 18px 55px rgba(20, 67, 70, .08);
}

/* ICONO PRINCIPAL */

.vc-denegado-icono {
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    border-radius: 28px;
    background: #fff0ed;
    border: 1px solid #f8ded8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* TEXTOS */

.vc-denegado-etiqueta {
    display: block;
    color: #287c78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 20px;
}

.vc-denegado-codigo {
    display: inline-block;
    background: #fff0ed;
    color: #b42318;
    padding: 9px 17px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.vc-denegado h1 {
    color: #164f53;
    font-size: clamp(27px, 4vw, 37px);
    font-weight: 800;
    margin: 0 0 17px;
}

.vc-denegado-descripcion {
    max-width: 430px;
    margin: 0 auto 28px;
    color: #648080;
    line-height: 1.8;
    font-size: 15px;
}

/* INFORMACIÓN DE SEGURIDAD */

.vc-denegado-informacion {
    background: #f0f7f5;
    border: 1px solid #dcece7;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    text-align: left;
}

.vc-denegado-info-icono {
    font-size: 24px;
    flex-shrink: 0;
}

.vc-denegado-informacion p {
    color: #587778;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* BOTONES */

.vc-denegado-acciones {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.vc-denegado-btn-principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #164f53;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease,
                transform .2s ease;
}

.vc-denegado-btn-principal:hover {
    background: #287c78;
    color: white;
    transform: translateY(-2px);
}

.vc-denegado-btn-principal:focus-visible {
    outline: 3px solid #89c9bd;
    outline-offset: 3px;
}

/* PIE */

.vc-denegado-pie {
    border-top: 1px solid #edf2f1;
    margin-top: 35px;
    padding-top: 23px;
    color: #8a9d9e;
    font-size: 12px;
}

.vc-denegado-pie strong {
    color: #164f53;
}

/* RESPONSIVE */

@media (max-width: 650px) {
    .vc-denegado {
        padding: 25px 12px;
    }

    .vc-denegado-tarjeta {
        padding: 35px 23px;
        border-radius: 19px;
    }

    .vc-denegado-icono {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }

    .vc-denegado-informacion {
        padding: 16px;
    }

    .vc-denegado-btn-principal {
        width: 100%;
    }
}


/* MENSAJES DEL SISTEMA VETCARE */

.vc-usuarios-alerta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 13px;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.vc-usuarios-alerta.exito {
    background: #e0f5e9;
    color: #16683b;
    border: 1px solid #c2e9d0;
}

.vc-usuarios-alerta.error {
    background: #fff0ed;
    color: #a52b20;
    border: 1px solid #f5d4ce;
}

/* ==========================================
   VETCARE - REGISTRO DE MASCOTAS
========================================== */

/* SELECTORES */

.vc-vet-crear-campo select {
    width: 100%;
    min-height: 49px;
    padding: 12px 15px;
    background: #f9fbfa;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    color: #243b44;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: .2s ease;
}

.vc-vet-crear-campo select:focus {
    outline: none;
    border-color: #287c78;
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

.vc-vet-crear-campo select.input-validation-error {
    border-color: #d34438;
    background: #fffafa;
}

/* TEXTO DE AYUDA */

.vc-mascota-ayuda {
    display: block;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.5;
    color: #789092;
}

/* FOTOGRAFÍA */

.vc-vet-crear-campo input[type="file"] {
    background: #f9fbfa;
    padding: 10px;
    height: auto;
}

.vc-vet-crear-campo input[type="file"]::file-selector-button {
    background: #ddf0ea;
    color: #164f53;
    border: none;
    border-radius: 8px;
    padding: 9px 13px;
    margin-right: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* VISTA PREVIA */

.vc-mascota-foto-preview {
    min-height: 175px;
    border: 2px dashed #c8dfd9;
    background: #f8fbfa;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-mascota-foto-preview img:not([hidden]) {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: contain;
}

.vc-mascota-foto-preview img[hidden] {
    display: none;
}

.vc-mascota-foto-preview #fotoPlaceholder {
    text-align: center;
    padding: 20px;
}

.vc-mascota-foto-preview #fotoPlaceholder[hidden] {
    display: none;
}

.vc-mascota-foto-preview #fotoPlaceholder span {
    display: block;
    font-size: 38px;
    margin-bottom: 10px;
}

.vc-mascota-foto-preview #fotoPlaceholder p {
    color: #789092;
    font-size: 12px;
    margin: 0;
}


/* VETCARE - NOTAS CLÍNICAS */

.vc-vet-crear-campo textarea {
    width: 100%;
    min-height: 180px;
    padding: 15px;
    background: #f9fbfa;
    color: #243b44;
    border: 1px solid #dce6e5;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    box-sizing: border-box;
}

.vc-vet-crear-campo textarea:focus {
    outline: none;
    background: white;
    border-color: #287c78;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

.vc-vet-crear-campo textarea.input-validation-error {
    border-color: #b42318;
}
/* ACCIÓN DE REGISTRO DE VACUNAS */

.exp-vacuna-acciones {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 20px;
}

@media (max-width: 650px) {
    .exp-vacuna-acciones .boton {
        width: 100%;
        text-align: center;
    }
}


/* OBSERVACIONES DE VACUNAS */

.exp-vacuna-nota {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f0f7f5;
    border-left: 3px solid #287c78;
    border-radius: 7px;
    color: #557579;
    font-size: 12px;
    line-height: 1.6;
    max-width: 320px;
    overflow-wrap: anywhere;
}

.exp-vacuna-nota strong {
    color: #164f53;
}

/* ==========================================
   VETCARE - ADMINISTRACIÓN DE CATÁLOGOS
========================================== */

/* Contenedor principal */
.vc-admin-contenedor {
    max-width: 1050px;
    margin: 35px auto;
    padding: 0 20px;
}

/* Encabezado */
.vc-admin-encabezado {
    margin-bottom: 28px;
}

.vc-admin-etiqueta {
    color: #287c78;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.vc-admin-encabezado h1 {
    color: #243b44;
    font-size: 30px;
    margin: 10px 0;
}

.vc-admin-encabezado p {
    color: #789092;
}

/* Panel del formulario */
.vc-admin-panel {
    background: #fff;
    border: 1px solid #dce6e5;
    border-radius: 15px;
    padding: 30px;
}

/* Campos del formulario */
.vc-admin-panel .vc-vet-crear-campo {
    margin-bottom: 22px;
}

.vc-admin-panel .vc-vet-crear-campo label {
    display: block;
    margin-bottom: 9px;
    color: #243b44;
    font-size: 14px;
    font-weight: 600;
}

.vc-admin-panel .vc-vet-crear-campo input,
.vc-admin-panel .vc-vet-crear-campo textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    background: #f9fbfa;
    color: #243b44;
    font: inherit;
    box-sizing: border-box;
}

.vc-admin-panel .vc-vet-crear-campo input:focus,
.vc-admin-panel .vc-vet-crear-campo textarea:focus {
    outline: none;
    border-color: #287c78;
    background: white;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

/* Botones */
.vc-admin-acciones {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.vc-admin-boton-secundario {
    display: inline-block;
    padding: 12px 20px;
    background: #edf3f1;
    border-radius: 9px;
    color: #164f53;
    text-decoration: none;
    font-weight: 600;
}

.vc-admin-boton-secundario:hover {
    background: #dcebe7;
}

/* Adaptación a pantallas pequeñas */
@media (max-width: 650px) {
    .vc-admin-contenedor {
        padding: 0 15px;
    }

    .vc-admin-panel {
        padding: 20px;
    }

    .vc-admin-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .vc-admin-acciones .boton,
    .vc-admin-boton-secundario {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

}


/* ==========================================
   VETCARE - ADMINISTRACIÓN DE CATÁLOGOS
========================================== */

.vc-admin-contenedor {
    max-width: 1120px;
    margin: 40px auto;
    padding: 0 22px;
}

/* ENCABEZADO */

.vc-admin-encabezado {
    margin-bottom: 28px;
}

.vc-admin-etiqueta {
    display: block;
    margin-bottom: 10px;
    color: #287c78;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.vc-admin-encabezado h1 {
    margin: 0 0 10px;
    color: #243b44;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 800;
}

.vc-admin-encabezado p {
    margin: 0;
    color: #789092;
    line-height: 1.6;
}

/* PANEL PRINCIPAL */

.vc-admin-panel {
    padding: 28px;
    background: white;
    border: 1px solid #dce6e5;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(22, 79, 83, .05);
}

.vc-admin-panel-formulario {
    max-width: 760px;
}

/* BUSCADOR Y BOTONES */

.vc-admin-barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}

.vc-admin-buscador {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vc-admin-buscador input {
    min-height: 46px;
    min-width: 220px;
    padding: 11px 15px;
    background: #f9fbfa;
    border: 1px solid #dce6e5;
    border-radius: 10px;
    color: #243b44;
    font: inherit;
}

.vc-admin-buscador input:focus {
    outline: none;
    background: white;
    border-color: #287c78;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

.vc-admin-boton-secundario {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 11px 18px;
    background: #eaf3f0;
    color: #164f53;
    border: none;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.vc-admin-boton-secundario:hover {
    background: #d9ebe5;
    color: #164f53;
}

/* TABLA */

.vc-admin-tabla-contenedor {
    overflow-x: auto;
}

.vc-admin-tabla {
    width: 100%;
    border-collapse: collapse;
    color: #243b44;
    font-size: 14px;
}

.vc-admin-tabla th {
    padding: 15px;
    background: #f0f7f5;
    color: #164f53;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
}

.vc-admin-tabla td {
    padding: 17px 15px;
    border-bottom: 1px solid #e8efed;
    vertical-align: middle;
}

.vc-admin-tabla tbody tr:hover {
    background: #f9fbfa;
}

/* ESTADOS */

.vc-admin-estado {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.vc-admin-estado.activo {
    background: #ddf0ea;
    color: #176b52;
}

.vc-admin-estado.inactivo {
    background: #f1f2f3;
    color: #697b80;
}

/* ACCIONES DE TABLA */

.vc-admin-tabla-acciones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vc-admin-enlace-editar {
    color: #287c78;
    font-weight: 700;
    text-decoration: none;
}

.vc-admin-enlace-editar:hover {
    text-decoration: underline;
}

.vc-admin-boton-estado {
    padding: 7px 11px;
    background: white;
    border: 1px solid #dce6e5;
    border-radius: 8px;
    color: #557579;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.vc-admin-boton-estado:hover {
    background: #f0f7f5;
}

/* CAMPOS DEL FORMULARIO */

.vc-admin-panel .vc-vet-crear-campo {
    margin-bottom: 24px;
}

.vc-admin-panel .vc-vet-crear-campo label {
    display: block;
    margin-bottom: 9px;
    color: #243b44;
    font-size: 14px;
    font-weight: 700;
}

.vc-admin-panel .vc-vet-crear-campo input,
.vc-admin-panel .vc-vet-crear-campo textarea {
    display: block;
    width: 100%;
    padding: 13px 15px;
    background: #f9fbfa;
    border: 1px solid #dce6e5;
    border-radius: 11px;
    color: #243b44;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.vc-admin-panel .vc-vet-crear-campo textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.vc-admin-panel .vc-vet-crear-campo input:focus,
.vc-admin-panel .vc-vet-crear-campo textarea:focus {
    outline: none;
    background: white;
    border-color: #287c78;
    box-shadow: 0 0 0 4px rgba(40, 124, 120, .10);
}

/* VALIDACIONES Y MENSAJES */

.vc-admin-validacion {
    display: block;
    margin-top: 7px;
    color: #b42318;
    font-size: 12px;
}

.vc-admin-validacion:empty {
    display: none;
}

.vc-admin-alerta {
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #eaf6ef;
    border-left: 4px solid #287c78;
    border-radius: 8px;
    color: #176b52;
    font-weight: 600;
}

.vc-admin-alerta.error {
    background: #fff0ed;
    border-left-color: #b42318;
    color: #b42318;
}

/* ACCIONES Y ESTADO VACÍO */

.vc-admin-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.vc-admin-vacio {
    padding: 42px 15px;
    text-align: center;
    color: #789092;
}

.vc-admin-vacio span {
    font-size: 36px;
}

.vc-admin-vacio h3 {
    margin: 12px 0 6px;
    color: #243b44;
}

.vc-admin-tabla-acciones form {
    margin: 0;
}

.vc-admin-pie {
    margin-top: 24px;
}

/* DISEÑO RESPONSIVO */

@media (max-width: 650px) {
    .vc-admin-contenedor {
        padding: 0 15px;
        margin: 25px auto;
    }

    .vc-admin-panel {
        padding: 18px;
    }

    .vc-admin-barra,
    .vc-admin-buscador {
        flex-direction: column;
        align-items: stretch;
    }

    .vc-admin-buscador input {
        min-width: 0;
        width: 100%;
    }

    .vc-admin-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .vc-admin-acciones .boton,
    .vc-admin-acciones .vc-admin-boton-secundario {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
