/* calcularCVV.css */
#panelLeft { padding-top: 60px; }

/* 🔥 SOLUCIÓN: Anulamos la capa invisible del panel que bloquea los clics 🔥 */
#panelLeft::before {
    pointer-events: none !important;
}

.btn-introducir {
    position: absolute; top: 15px; left: 15px; z-index: 20;
    padding: 8px 14px; font-size: 0.72rem; font-weight: 600;
    background: rgba(0, 255, 255, 0.15); border: 2px solid var(--neon-blue);
    color: var(--neon-blue); border-radius: 8px; cursor: pointer;
    font-family: 'Courier New', monospace; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.3s; backdrop-filter: blur(10px);
}
.btn-introducir:hover { background: rgba(0, 255, 255, 0.3); box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); transform: translateY(-2px); }
.btn-introducir.modo-paste { border-color: var(--neon-green); color: var(--neon-green); background: rgba(0, 255, 159, 0.15); }
.btn-introducir.modo-paste:hover { background: rgba(0, 255, 159, 0.3); box-shadow: 0 0 20px rgba(0, 255, 159, 0.6); }

.country-badge {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    margin-bottom: 15px; background: linear-gradient(135deg, rgba(0, 255, 159, 0.08), rgba(0, 255, 255, 0.05));
    border: 1px solid var(--neon-green); border-radius: 12px; position: relative;
    z-index: 2; backdrop-filter: blur(10px); box-shadow: 0 0 20px rgba(0, 255, 159, 0.15);
    flex-wrap: wrap;
}
.country-flag { font-size: 2rem; line-height: 1; filter: drop-shadow(0 0 8px rgba(0, 255, 159, 0.5)); }
.country-text { display: flex; flex-direction: column; flex: 1; min-width: 120px; }
.country-title { color: var(--neon-green); font-weight: 700; font-size: 0.95rem; letter-spacing: 1.5px; text-shadow: 0 0 10px rgba(0, 255, 159, 0.6); }
.country-subtitle { color: rgba(255, 255, 255, 0.55); font-size: 0.7rem; letter-spacing: 0.5px; margin-top: 2px; }

/* 🔥 EL TEXTAREA AHORA SIEMPRE ES CLIQUEABLE 🔥 */
.paste-textarea {
    width: 100%; min-height: 270px; background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--neon-blue); border-radius: 12px; padding: 15px;
    color: white; font-family: 'Courier New', monospace; font-size: 0.9rem;
    resize: none; outline: none; margin-bottom: 20px; display: block;
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 99 !important;
    pointer-events: auto !important;
}
.paste-textarea:focus { border-color: var(--neon-green); box-shadow: inset 0 0 15px rgba(0, 255, 159, 0.2), 0 0 20px rgba(0, 255, 159, 0.3); }
.paste-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.loading {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: var(--neon-green);
    border-radius: 50%; animation: spinLoader 0.8s linear infinite;
    margin-left: 8px; vertical-align: middle;
}
@keyframes spinLoader { to { transform: rotate(360deg); } }

.result-line { font-size: 0.85rem; opacity: 0.9; margin-top: 6px; word-break: break-all; font-family: 'Courier New', monospace; font-weight: bold; }
.match-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; margin-left: 6px; letter-spacing: 0.5px; }
.match-badge.match { background: rgba(0, 255, 159, 0.25); color: var(--neon-green); border: 1px solid var(--neon-green); }
.match-badge.nomatch { background: rgba(255, 0, 51, 0.25); color: var(--neon-red); border: 1px solid var(--neon-red); }

@media (max-width: 768px) {
    .country-badge { flex-direction: column; text-align: center; gap: 10px; }
}