/* --- ---ESTILOS GENERALES--- --- */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- ---NAVBAR--- --- */
.navbar {
    background-color: #004ede;
    padding: 15px 20px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0; /* Evita que el navbar se comprima */
    z-index: 100; /* Asegura que el navbar esté por encima de los íconos */
}

.navbar-title {
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    margin-top: -12px;
}

.navbar .navbar-brand {
    margin-left: auto;
}

.navbar .navbar-brand img {
    height: 70px;
    width: 70px;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.navbar-logo {
    height: 60px;
    width: auto;
    margin-right: 10px;
    margin-left: 70px;
}

.Navbar {
    display: flex;
    align-items: center;
}

/* --- SECCIÓN PRINCIPAL --- */
.seccion-compras {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 0 80px 0;
    flex: 1;
    position: relative;
}

.contenedor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto; 
    max-width: 1200px;
    flex-wrap: nowrap;
    gap: 40px;
    padding: 10px 20px;
    position: relative;
    z-index: 2;
}

.contenedor > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    height: 300px;
    width: 400px;
    border-radius: 20px;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.15);
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

/* Brillo metálico tipo cuchillo */
.contenedor > div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50px;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.9) 55%,
        rgba(255, 255, 255, 0.4) 70%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%);
    transform: skewX(-25deg);
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    animation: metallicShine 6s ease-in-out infinite;
    filter: blur(0.5px);
}

/* Delays diferentes para cada contenedor */
.contenedor > div:nth-child(1)::before {
    animation-delay: 0s;
}

.contenedor > div:nth-child(2)::before {
    animation-delay: 2s;
}

.contenedor > div:nth-child(3)::before {
    animation-delay: 4s;
}

/* Animación de brillo metálico */
@keyframes metallicShine {
    0%, 90%, 100% {
        opacity: 0;
        left: -150%;
    }
    10% {
        opacity: 1;
        left: -50%;
    }
    15% {
        opacity: 1;
        left: 0%;
    }
    20% {
        opacity: 0.8;
        left: 50%;
    }
    25% {
        opacity: 0;
        left: 150%;
    }
}

/* Segundo brillo más sutil que sigue al primero */
.contenedor > div::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 30px;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.2) 70%,
        transparent 100%);
    transform: skewX(-25deg);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    animation: metallicShine 6s ease-in-out infinite;
    animation-delay: 0.3s;
    filter: blur(1px);
}

/* Delays para el segundo brillo */
.contenedor > div:nth-child(1)::after {
    animation-delay: 0.3s;
}

.contenedor > div:nth-child(2)::after {
    animation-delay: 2.3s;
}

.contenedor > div:nth-child(3)::after {
    animation-delay: 4.3s;
}

/* Efecto hover - brillo inmediato */
.contenedor > div:hover {
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
    transform: scale(1.025);
    background-color: #f9f9ff;
}

/* Brillo instantáneo en hover */
.contenedor > div:hover::before {
    animation: quickMetallicShine 0.8s ease-out;
}

.contenedor > div:hover::after {
    animation: quickMetallicShine 0.8s ease-out;
    animation-delay: 0.1s;
}

/* Animación rápida para hover */
@keyframes quickMetallicShine {
    0% {
        opacity: 0;
        left: -150%;
    }
    30% {
        opacity: 1;
        left: -30%;
    }
    60% {
        opacity: 1;
        left: 30%;
    }
    100% {
        opacity: 0;
        left: 150%;
    }
}

/* Brillo adicional en los bordes del contenedor */
.contenedor > div {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(200, 200, 200, 0.3);
    position: relative;
}

/* Reflejo metálico en el borde superior */
.contenedor > div {
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
}

/* Sombra interior para efecto metálico */
.contenedor > div {
    box-shadow: 
        0px 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Títulos con efecto metálico sutil */
.añadir h2,
.editar h2,
.cambiar-estado h2 {
    color: #2c2c2c;
    font-size: 26px;
    margin: 0;
    padding: 10px 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.contenedor > div p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.contenedor > div > form,
.contenedor > div > form > input,
.contenedor > div > form > select,
.contenedor > div > form > label {
    display: none !important;
}

/* Variación de intensidad para cada contenedor */
.contenedor > div:nth-child(1) {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 50%, #f0f2f5 100%);
}

.contenedor > div:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 50%, #e8ebf0 100%);
}

.contenedor > div:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, #f2f4f8 50%, #e5e9f0 100%);
}

/* Responsivo */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .contenedor > div {
        width: 90%;
        max-width: 400px;
    }
    
    /* Brillo más pequeño en móviles */
    .contenedor > div::before,
    .contenedor > div::after {
        width: 30px;
    }
}

/* Íconos flotantes ✅🟢💬 - SOLO EN LA SECCIÓN PRINCIPAL */
.floating-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 48px;
    opacity: 0.25;
    color: #ed1717; /* Color rojo del footer */
    animation: float 12s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

/* Posicionamiento en las orillas - SOLO DENTRO DE LA SECCIÓN */
.floating-icon:nth-child(1)  { top: 10%; left: 10%;  animation-delay: 0s;  animation-duration: 10s; }
.floating-icon:nth-child(2)  { top: 15%; left: 50%;  animation-delay: 1s;  animation-duration: 12s; }
.floating-icon:nth-child(3)  { top: 10%; right: 15%; animation-delay: 2s;  animation-duration: 11s; }

/* Posicionamiento en las orillas - DERECHA */
.floating-icon:nth-child(4)  { top: 30%; right: 5%; animation-delay: 3s;  animation-duration: 13s; }
.floating-icon:nth-child(5)  { top: 50%; right: 3%; animation-delay: 4s;  animation-duration: 10s; }
.floating-icon:nth-child(6)  { top: 70%; right: 8%; animation-delay: 5s;  animation-duration: 14s; }

/* Posicionamiento en las orillas - INFERIOR */
.floating-icon:nth-child(7)  { bottom: 10%; left: 20%;  animation-delay: 6s;  animation-duration: 9s; }
.floating-icon:nth-child(8)  { bottom: 15%; left: 55%;  animation-delay: 7s;  animation-duration: 12s; }
.floating-icon:nth-child(9)  { bottom: 10%; right: 25%; animation-delay: 8s;  animation-duration: 11s; }

/* Posicionamiento en las orillas - IZQUIERDA */
.floating-icon:nth-child(10) { top: 35%; left: 3%;  animation-delay: 9s;  animation-duration: 13s; }
.floating-icon:nth-child(11) { top: 60%; left: 5%;  animation-delay: 10s; animation-duration: 12s; }
.floating-icon:nth-child(12) { top: 45%; left: 8%;  animation-delay: 11s; animation-duration: 10s; }

/* Animación de flotación */
@keyframes float {
    0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.25; }
    25%  { transform: translateY(-15px) rotate(2deg) scale(1.1); opacity: 0.35; }
    50%  { transform: translateY(-25px) rotate(-1deg) scale(1.05); opacity: 0.15; }
    75%  { transform: translateY(-10px) rotate(3deg) scale(1.15); opacity: 0.3; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.25; }
}

/* Responsive - Solo para íconos flotantes */
@media (max-width: 768px) {
    .floating-icon {
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
    
    /* Ajustar posiciones para móviles */
    .floating-icon:nth-child(4), .floating-icon:nth-child(5), .floating-icon:nth-child(6) {
        right: 2%;
    }
    
    .floating-icon:nth-child(10), .floating-icon:nth-child(11), .floating-icon:nth-child(12) {
        left: 2%;
    }
}

@media (max-width: 576px) {
    .floating-icon {
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
}

/* --- ---ESTILOS DEL FOOTER--- --- */
.sena-footer {
    background-color: #ed1717;
    padding: 30px 0 10px; /* Reducimos el padding inferior */
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Evita que el footer se comprima */
    margin-top: auto; /* Empuja el footer al fondo */
    z-index: 100; /* Asegura que el footer esté por encima de los íconos */
}

.sena-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    z-index: 1;
    animation: wave 8s infinite linear;
}

.sena-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 59, 59, 0) 70%);
    animation: pulse 7s infinite ease-in-out;
    z-index: 0;
}

.finance-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.finance-particle {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.finance-coin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffd700, #dd6b20);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.finance-coin::after {
    content: "$";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    font-size: 12px;
}

.finance-bill {
    width: 40px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(160deg, #ff7e7e, #c53030);
    box-shadow: 0 0 5px rgba(197, 48, 48, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.finance-bill::before, .finance-bill::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
}

.finance-bill::before {
    width: 60%;
    height: 2px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}

.finance-bill::after {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd700;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.finance-card {
    width: 35px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(135deg, #991b1b, #b91c1c, #dc2626);
    box-shadow: 0 0 6px rgba(153, 27, 27, 0.5);
}

.finance-card::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 3px;
    background-color: rgba(255, 215, 0, 0.7);
    top: 25%;
    left: 15%;
}

.finance-card::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ffd700;
    bottom: 20%;
    right: 15%;
}

.finance-transfer {
    width: 20px;
    height: 20px;
    position: relative;
}

.finance-transfer::before, .finance-transfer::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
}

.finance-transfer::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.finance-transfer::after {
    width: 8px;
    height: 8px;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
}

.finance-security {
    width: 18px;
    height: 22px;
    border-radius: 2px 2px 50% 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
}

.finance-security::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: bold;
}

/* Posicionamiento y animación para cada elemento */
.finance-particle:nth-child(1) {
    bottom: 10%;
    left: 5%;
    animation: finance-float 12s infinite ease-in-out;
}

.finance-particle:nth-child(2) {
    bottom: 20%;
    left: 15%;
    animation: finance-float 8s infinite ease-in-out 1s;
}

.finance-particle:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation: finance-float 14s infinite ease-in-out 0.5s;
}

.finance-particle:nth-child(4) {
    bottom: 15%;
    left: 35%;
    animation: finance-float 10s infinite ease-in-out 2s;
}

.finance-particle:nth-child(5) {
    bottom: 25%;
    left: 45%;
    animation: finance-float 15s infinite ease-in-out 1.5s;
}

.finance-particle:nth-child(6) {
    bottom: 10%;
    left: 55%;
    animation: finance-float 11s infinite ease-in-out 3s;
}

.finance-particle:nth-child(7) {
    bottom: 20%;
    left: 65%;
    animation: finance-float 9s infinite ease-in-out 0.7s;
}

.finance-particle:nth-child(8) {
    bottom: 30%;
    left: 75%;
    animation: finance-float 13s infinite ease-in-out 2.5s;
}

.finance-particle:nth-child(9) {
    bottom: 15%;
    left: 85%;
    animation: finance-float 10.5s infinite ease-in-out 1.2s;
}

.finance-particle:nth-child(10) {
    bottom: 25%;
    left: 95%;
    animation: finance-float 12.5s infinite ease-in-out 0.3s;
}

@keyframes finance-float {
    0% {
        transform: translateY(20px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
        transform: translateY(0) rotate(15deg) scale(1);
    }
    40% {
        transform: translateY(-20px) translateX(10px) rotate(30deg) scale(1.1);
    }
    60% {
        transform: translateY(-40px) translateX(-10px) rotate(15deg) scale(1);
    }
    80% {
        opacity: 0.7;
        transform: translateY(-60px) translateX(5px) rotate(0deg) scale(0.9);
    }
    100% {
        transform: translateY(-80px) scale(0.8);
        opacity: 0;
    }
}

.finance-flows {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.flow-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.flow-line:nth-child(1) {
    width: 20%;
    height: 1px;
    bottom: 20%;
    left: 0;
    animation: flow-pulse 4s infinite linear;
}

.flow-line:nth-child(2) {
    width: 30%;
    height: 1px;
    bottom: 30%;
    left: 25%;
    animation: flow-pulse 3s infinite linear 1s;
}

.flow-line:nth-child(3) {
    width: 40%;
    height: 1px;
    bottom: 40%;
    right: 0;
    animation: flow-pulse 5s infinite linear 0.5s;
}

.flow-line:nth-child(4) {
    width: 1px;
    height: 25%;
    bottom: 0;
    left: 20%;
    animation: flow-pulse 3.5s infinite linear 0.7s;
}

.flow-line:nth-child(5) {
    width: 1px;
    height: 35%;
    bottom: 10%;
    left: 50%;
    animation: flow-pulse 4.5s infinite linear 1.2s;
}

.flow-line:nth-child(6) {
    width: 1px;
    height: 20%;
    bottom: 0;
    right: 30%;
    animation: flow-pulse 3s infinite linear 2s;
}

.flow-node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.7);
    transform: translate(-50%, -50%);
    animation: node-glow 2s infinite alternate;
}

.flow-node:nth-child(7) {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.2s;
}

.flow-node:nth-child(8) {
    bottom: 30%;
    left: 50%;
    animation-delay: 0.8s;
}

.flow-node:nth-child(9) {
    bottom: 40%;
    right: 30%;
    animation-delay: 0.5s;
}

@keyframes flow-pulse {
    0% {
        opacity: 0.1;
        transform: translateX(-5px) scaleX(0.95);
    }
    50% {
        opacity: 0.5;
        transform: translateX(5px) scaleX(1.05);
    }
    100% {
        opacity: 0.1;
        transform: translateX(-5px) scaleX(0.95);
    }
}

@keyframes node-glow {
    from {
        box-shadow: 0 0 2px rgba(255, 215, 0, 0.3);
        background-color: rgba(255, 215, 0, 0.5);
    }
    to {
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
        background-color: rgba(255, 215, 0, 0.9);
    }
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.footer-column a {
    position: relative;
    transition: transform 0.3s ease;
}

.footer-column a:hover {
    transform: translateX(5px);
}

.footer-column a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.footer-column a:hover::after {
    width: 100%;
}

.social-links a {
    display: flex;
    align-items: center;
}

.social-links a i {
    margin-right: 8px;
    transition: transform 0.5s ease;
}

.social-links a:hover i {
    transform: rotate(360deg) scale(1.2);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 140px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 10px; /* Reducimos el padding inferior */
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.footer-column {
    width: 100%;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
    animation: expand 3s infinite alternate;
}

@keyframes expand {
    from {
        width: 20px;
    }
    to {
        width: 100%;
    }
}

.footer-column p, .footer-column a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-links a {
    margin-bottom: 10px;
}

.certification-logos, .gov-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.footer-logos img {
    max-height: 40px;
    max-width: 100%;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.footer-logos img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .contenedor {
        flex-direction: column;
        align-items: center;
    }
    
    .contenedor > div {
        width: 90%;
        max-width: 400px;
    }
}

/* --- ESTILOS DE FORMULARIO Y TAGS --- */
.card {
  display: none;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
}

.card.active {
  display: block;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.error {
  color: red;
  font-size: 0.9em;
}

button {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 10px;
}

/* --- CHECKBOX TAGS ESTILO "PILL" --- */
.checkbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  margin-top: 40px;     /* Espacio superior */
  margin-bottom: 40px;  /* Espacio inferior */
}

.checkbox-tags label {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-tags input[type="checkbox"] {
  display: none;
}

/* Versión con span después del input */
.checkbox-tags input[type="checkbox"]:checked + span {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  border-radius: 20px;
  padding: 8px 12px;
}

/* Versión moderna con :has (no compatible con todos los navegadores) */
.checkbox-tags label:has(input:checked) {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
