/* === Crypto Identity Intelligence === */

.cii-box {
    max-width: 520px;
    margin: 30px auto;
    padding: 24px;
    background: #0f172a; /* azul escuro */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    color: #e5e7eb;
    font-family: Arial, Helvetica, sans-serif;
}

/* Título opcional */
.cii-box h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
}

/* Input carteira */
#cii_wallet {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    outline: none;
    margin-bottom: 14px;
}

#cii_wallet::placeholder {
    color: #64748b;
}

#cii_wallet:focus {
    border-color: #38bdf8;
}

/* Botão */
#cii_analyze {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#cii_analyze:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(56,189,248,0.4);
}

/* Resultado */
#cii_result {
    margin-top: 18px;
    padding: 14px;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 8px;
    max-height: 320px;
    overflow: auto;
    font-size: 13px;
    white-space: pre-wrap;
}

/* Estados */
.cii-loading {
    color: #fbbf24;
    font-weight: bold;
}

.cii-error {
    color: #f87171;
    font-weight: bold;
}

.cii-success {
    color: #4ade80;
}

/* Badge (para versões futuras: risco, KYC, perfil) */
.cii-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
    margin-right: 6px;
}

.cii-badge.low {
    background: #064e3b;
    color: #6ee7b7;
}

.cii-badge.medium {
    background: #78350f;
    color: #fde68a;
}

.cii-badge.high {
    background: #7f1d1d;
    color: #fecaca;
}
