/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    min-height: 100vh;
    color: var(--text-color);
}

/* Container Principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Login y Registro */
.main-box,
.login-box,
.register-box {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    width: 100%;
    max-width: 550px;
}

.register-box {
    max-width: 550px;
}

.main-box {
    max-width: 700px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.logo p {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-top: 10px;
}

/* Texto de Bienvenida */
.welcome-text {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-text h2 {
    color: var(--text-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.welcome-text p {
    color: #7f8c8d;
    font-size: 1em;
}

/* Sección de Información */
.info-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
}

.info-section h3 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.3em;
}

/* Grid de Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.benefit-card p {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Botones */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-logout {
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--primary-color);
    color: var(--white);
}


/* Footer del Formulario */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: #7f8c8d;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Mensajes de Error y Éxito */
.error-message,
.success-message {
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
}

.error-message {
    background: #fadbd8;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.success-message {
    background: #d4edda;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Header del Dashboard */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 80px;
    width: auto;
}

.header h1 {
    color: var(--primary-color);
    font-size: 1.8em;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info span {
    font-weight: 600;
    color: var(--text-color);
}

/* Dashboard */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.points-summary {
    margin-bottom: 30px;
}

.points-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.points-card h2 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.points-display {
    font-size: 4em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.points-info {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Grid de Contenido */
.content-grid {
    display: grid;
    gap: 30px;
}

.section {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.section h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

/* Info de Canje */
.info-canje {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.info-canje p {
    margin: 0;
    color: #856404;
    font-weight: 600;
    font-size: 1em;
}

.seccion-info {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-style: italic;
}

/* Tablas */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: var(--light-bg);
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    font-weight: 600;
    color: var(--text-color);
}

table tbody tr:hover {
    background: #f8f9fa;
}

.loading {
    text-align: center;
    color: #7f8c8d;
    padding: 20px;
}

/* Grid de Premios */
.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.premio-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.premio-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.premio-card h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.premio-card .puntos-requeridos {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    margin: 15px 0;
}

.premio-card .descripcion {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

/* Estado de Canjes */
.estado {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
}

.estado.pendiente {
    background: #fff3cd;
    color: #856404;
}

.estado.completado {
    background: #d4edda;
    color: #155724;
}

.estado.entregado {
    background: #d1ecf1;
    color: #0c5460;
}

/* Selector Tipo de Cliente */
.tipo-cliente-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.tipo-option {
    flex: 1;
    cursor: pointer;
}

.tipo-option input[type="radio"] {
    display: none;
}

.tipo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    background: var(--light-bg);
}

.tipo-option:hover .tipo-content {
    border-color: var(--primary-color);
}

.tipo-option.selected .tipo-content {
    border-color: var(--primary-color);
    background: #fef5f5;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.tipo-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.tipo-label {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.1em;
}

.tipo-desc {
    font-size: 0.85em;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Badge Tipo de Cliente */
.badge-tipo-cliente {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 10px;
}

.badge-tipo-cliente.natural {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-tipo-cliente.empresa {
    background: #fff3e0;
    color: #f57c00;
}

.user-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Badge Tipo de Premio */
.badge-tipo-premio {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.badge-tipo-premio.canje {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-tipo-premio.descuento {
    background: #fce4ec;
    color: #c2185b;
}

.badge-tipo-premio-mini {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 700;
}

.badge-tipo-premio-mini.canje {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-tipo-premio-mini.descuento {
    background: #fce4ec;
    color: #c2185b;
}

/* Tipo de Entrega */
.tipo-entrega {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 600;
}

.tipo-entrega.presencial {
    background: #e3f2fd;
    color: #1565c0;
}

.tipo-entrega.delivery {
    background: #fff8e1;
    color: #ff8f00;
}

.tipo-entrega.na {
    background: #f5f5f5;
    color: #757575;
}

.premio-entrega {
    font-size: 0.8em;
    color: #7f8c8d;
    margin-top: 10px;
    font-style: italic;
}

/* Info Validación Factura */
.info-validacion {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.info-validacion p {
    margin: 0;
    color: #2e7d32;
    font-size: 0.9em;
    text-align: center;
}

/* Estado Factura */
.estado-factura {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.estado-factura.verificada {
    background: #e8f5e9;
    color: #2e7d32;
}

.estado-factura.duplicada {
    background: #ffebee;
    color: #c62828;
}

/* Grid de Sucursales */
.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.sucursal-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    overflow: hidden;
}

.sucursal-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.sucursal-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.sucursal-card h4 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 15px;
}

.sucursal-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sucursal-telefono {
    font-size: 1.1em;
    margin: 0;
}

.sucursal-telefono a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.sucursal-telefono a:hover {
    text-decoration: underline;
}

.sucursal-direccion {
    color: #7f8c8d;
    font-size: 0.95em;
    margin: 5px 0;
}

.btn-maps {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
}

.btn-maps:hover {
    background: #3367d6;
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE - Mobile First
   ======================================== */

/* Tablets y pantallas medianas */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .main-box,
    .register-box {
        padding: 25px 20px;
    }

    .logo-img {
        max-width: 180px;
    }

    .welcome-text h2 {
        font-size: 1.3em;
    }

    .header-logo {
        height: 60px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .user-info {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .user-details {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .badge-tipo-cliente {
        margin-left: 0;
    }

    .btn-logout {
        width: 100%;
    }

    .dashboard {
        padding: 20px 15px;
    }

    .points-card {
        padding: 20px;
    }

    .points-card h2 {
        font-size: 1.1em;
    }

    .points-display {
        font-size: 3em;
    }

    .section {
        padding: 20px 15px;
    }

    .section h3 {
        font-size: 1.1em;
    }

    .premios-grid {
        grid-template-columns: 1fr;
    }

    .premio-card {
        padding: 18px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .tipo-cliente-selector {
        flex-direction: column;
    }

    .tipo-content {
        padding: 15px;
    }

    .tipo-icon {
        font-size: 2em;
    }

    .sucursales-grid {
        grid-template-columns: 1fr;
    }

    /* Tabla responsiva - cards en móvil */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table th,
    table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }

    .info-canje p {
        font-size: 0.9em;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .main-box,
    .register-box {
        padding: 20px 15px;
        border-radius: 8px;
    }

    .logo-img {
        max-width: 150px;
    }

    .welcome-text h2 {
        font-size: 1.1em;
    }

    .welcome-text p {
        font-size: 0.9em;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 16px; /* Previene zoom en iOS */
    }

    .btn-primary {
        padding: 14px;
        font-size: 1em;
    }

    .header-logo {
        height: 50px;
    }

    .points-display {
        font-size: 2.5em;
    }

    .points-info {
        font-size: 0.85em;
    }

    .premio-card .puntos-requeridos {
        font-size: 1.3em;
    }

    .premio-card .descripcion {
        font-size: 0.85em;
    }

    .sucursal-card {
        padding: 20px;
    }

    .sucursal-card h4 {
        font-size: 1.1em;
    }

    .btn-maps {
        width: 100%;
        padding: 12px;
    }

    /* Ocultar algunas columnas en móvil muy pequeño */
    .hide-mobile {
        display: none;
    }
}

/* ========================================
   SECCIONES INDEX - Sucursales y Redes
   ======================================== */

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Sucursales mejoradas para index */
.sucursales-section {
    background: linear-gradient(135deg, #fff9f9 0%, #fff 100%);
    border-radius: 12px;
    padding: 30px 20px;
    margin-top: 30px;
}

.sucursal-card .sucursal-nombre {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 8px;
}

.sucursal-card .sucursal-direccion {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.sucursal-card .sucursal-telefono {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none;
    margin-bottom: 15px;
}

.sucursal-card .sucursal-telefono:hover {
    text-decoration: underline;
}

.sucursal-card .sucursal-horario {
    display: block;
    color: #27ae60;
    font-size: 0.85em;
    margin: 10px 0 15px 0;
    font-weight: 500;
}

.sucursal-card .sucursal-horario i {
    margin-right: 5px;
}

.btn-ver-mapa {
    display: inline-block;
    padding: 10px 20px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85em;
    transition: all 0.3s;
}

.btn-ver-mapa:hover {
    background: #3367d6;
    transform: scale(1.05);
}

/* Imagen de sucursal */
.sucursal-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.sucursal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sucursal-card:hover .sucursal-img img {
    transform: scale(1.08);
}

.sucursal-contenido {
    padding: 20px;
    text-align: center;
}

/* Responsive para sucursales con imagen */
@media (max-width: 480px) {
    .sucursales-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sucursal-img {
        height: 150px;
    }

    .sucursal-contenido {
        padding: 15px;
    }

    .sucursal-card .sucursal-nombre {
        font-size: 1em;
    }

    .sucursal-card .sucursal-direccion {
        font-size: 0.85em;
    }

    .btn-ver-mapa {
        width: 100%;
        padding: 12px;
    }
}

/* ========================================
   FOOTER UNIFICADO CON REDES SOCIALES
   ======================================== */
.footer-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
    text-align: center;
}

.footer-redes {
    margin-bottom: 25px;
}

.footer-redes h3 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.redes-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4em;
    transition: all 0.3s ease;
}

.red-social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.red-social.facebook {
    background: #1877f2;
    color: white;
}

.red-social.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.red-social.whatsapp {
    background: #25d366;
    color: white;
}

.red-social.tiktok {
    background: #000000;
    color: white;
}

.footer-copy {
    padding: 20px;
    border-top: 1px solid var(--light-bg);
}

.footer-copy p {
    color: #7f8c8d;
    font-size: 0.85em;
    margin: 0;
}

/* Footer compacto para páginas internas */
.footer-compact {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--light-bg);
}

.footer-compact .redes-grid {
    margin-bottom: 15px;
}

.footer-compact .red-social {
    width: 40px;
    height: 40px;
    font-size: 1.1em;
}

.footer-compact p {
    color: #7f8c8d;
    font-size: 0.8em;
    margin: 0;
}

/* Responsive para footer y redes */
@media (max-width: 768px) {
    .footer-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .footer-redes h3 {
        font-size: 1.1em;
    }

    .redes-grid {
        gap: 15px;
    }

    .red-social {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .red-social {
        width: 42px;
        height: 42px;
        font-size: 1.1em;
    }

    .footer-copy p {
        font-size: 0.75em;
    }
}
.red-social.tiktok {
    background: transparent;
    color: #000000; /* Ícono negro */
    border: 2px solid #000000; /* Borde negro opcional */
}

.red-social.tiktok:hover {
    background: #000000;
    color: #FFFFFF;
}

/* ========================================
   AVISO DE CLIENTE SIMILAR - CARD DESIGN
   ======================================== */
.aviso-similar-card {
    background: linear-gradient(135deg, #fef9e7 0%, #fdeaa8 100%);
    border: 2px solid #f39c12;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    animation: slideInCard 0.4s ease-out;
}

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.aviso-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.aviso-card-icon {
    font-size: 2em;
    color: #e67e22;
}

.aviso-card-header h3 {
    margin: 0;
    color: #d35400;
    font-size: 1.3em;
    font-weight: 700;
}

.aviso-card-desc {
    color: #7f5200;
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* Lista de clientes similares */
.similares-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.similar-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.similar-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.similar-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.similar-avatar i {
    color: white;
    font-size: 1.4em;
}

.similar-info {
    flex: 1;
}

.similar-nombre {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.05em;
    margin-bottom: 4px;
}

.similar-datos {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.similar-datos span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.similar-datos i {
    color: #bdc3c7;
    font-size: 0.9em;
}

.similar-badges {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.badge-match {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-match.telefono {
    background: #e8f4fd;
    color: #2980b9;
}

.badge-match.nombre {
    background: #f5eef8;
    color: #8e44ad;
}

.badge-match.dni {
    background: #fef5e7;
    color: #d35400;
}

.badge-match i {
    font-size: 0.85em;
}

/* Nota informativa */
.aviso-card-nota {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    font-size: 0.85em;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.aviso-card-nota i {
    color: #3498db;
    margin-top: 2px;
}

.aviso-card-nota.aviso-dni {
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
}

.aviso-card-nota.aviso-dni i {
    color: #e74c3c;
}

/* Botones de accion */
.aviso-card-botones {
    display: flex;
    gap: 12px;
}

.btn-ir-cuenta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.btn-ir-cuenta:hover {
    background: linear-gradient(135deg, #219a52, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-no-soy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: white;
    color: #7f8c8d;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-no-soy:hover {
    background: #f8f9fa;
    border-color: #95a5a6;
    color: #5d6d7e;
}

/* Responsive */
@media (max-width: 480px) {
    .aviso-similar-card {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .aviso-card-header h3 {
        font-size: 1.1em;
    }

    .aviso-card-botones {
        flex-direction: column;
    }

    .btn-ir-cuenta,
    .btn-no-soy {
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .similar-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .similar-datos {
        justify-content: center;
    }

    .similar-badges {
        justify-content: center;
    }
}

/* Hint para campos del formulario */
.form-hint {
    display: block;
    font-size: 0.8em;
    color: #7f8c8d;
    margin-top: 5px;
    font-style: italic;
}
