/**
 * NOXAI Token Scanner - Styles pour le Rapport d'Analyse
 * Design casino professionnel cohérent avec le reste de l'application
 */

/* Container principal du rapport */
.report-container {
    background: linear-gradient(135deg, rgba(25, 27, 45, 0.9), rgba(30, 32, 50, 0.9));
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    position: relative;
    transform: translateZ(0);
}

.report-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.2), 
        rgba(255, 165, 0, 0.6), 
        rgba(255, 215, 0, 0.2)
    );
    z-index: 1;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* En-tête du rapport */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 22, 35, 0.8);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.report-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.report-timestamp {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Contenu du token */
.token-container {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 32, 50, 0.5);
}

.token-identity {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.token-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    position: relative;
    background: rgba(20, 22, 35, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.token-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-name-container h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.token-address {
    font-family: monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.copy-icon {
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.copy-icon:hover {
    opacity: 1;
    color: rgba(255, 215, 0, 0.9);
}

/* Badge sécurisé */
.badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge.safe {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #ffffff;
    animation: pulseSafe 2s infinite alternate;
}

@keyframes pulseSafe {
    0% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); }
    100% { box-shadow: 0 0 12px rgba(76, 175, 80, 0.8); }
}

.badge.warning {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: #000000;
}

.badge.danger {
    background: linear-gradient(135deg, #FF5252, #D32F2F);
    color: #ffffff;
    animation: pulseDanger 2s infinite alternate;
}

@keyframes pulseDanger {
    0% { box-shadow: 0 0 5px rgba(255, 82, 82, 0.5); }
    100% { box-shadow: 0 0 12px rgba(255, 82, 82, 0.8); }
}

.glow-badge {
    position: relative;
    overflow: hidden;
}

.glow-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    animation: glint 3s infinite;
}

@keyframes glint {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(30deg); }
    50% { opacity: 0.5; transform: translate(0%, 0%) rotate(30deg); }
}

/* Liste des vérifications de sécurité */
.security-checks {
    padding: 15px 20px;
    background: rgba(25, 27, 40, 0.7);
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.security-item:last-child {
    border-bottom: none;
}

.security-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.security-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.security-value.safe {
    color: #4CAF50;
    font-weight: 600;
}

.security-value.warning {
    color: #FFC107;
    font-weight: 600;
}

.security-value.danger {
    color: #FF5252;
    font-weight: 600;
}

.security-value i {
    font-size: 14px;
}

.fa-check-circle {
    color: #4CAF50;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.fa-exclamation-circle {
    color: #FFC107;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.fa-times-circle {
    color: #FF5252;
    text-shadow: 0 0 5px rgba(255, 82, 82, 0.5);
}

/* Section des actions rapides */
.quick-actions {
    display: flex;
    padding: 15px 20px;
    gap: 10px;
    background: rgba(20, 22, 35, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-action {
    background: rgba(30, 32, 50, 0.7);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    max-width: 33.333%;
}

.btn-action i {
    font-size: 14px;
}

.btn-action:hover {
    background: rgba(40, 42, 60, 0.9);
    color: #ffffff;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section d'analyse NOX AI */
.ai-analysis-section {
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 32, 50, 0.8), rgba(25, 27, 45, 0.8));
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.ai-analysis-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.ai-analysis-section h4 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-analysis-section h4 i {
    color: #8C52FF;
}

.ai-analysis-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.5) rgba(30, 32, 50, 0.5);
}

.ai-analysis-content::-webkit-scrollbar {
    width: 6px;
}

.ai-analysis-content::-webkit-scrollbar-track {
    background: rgba(30, 32, 50, 0.5);
    border-radius: 3px;
}

.ai-analysis-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 215, 0, 0.5);
    border-radius: 3px;
}

.ai-analysis-content code {
    background: rgba(20, 22, 35, 0.7);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: #FFD700;
}

.ai-analysis-content.vip-locked {
    position: relative;
}

.ai-analysis-content.vip-locked::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(25, 27, 45, 0), rgba(25, 27, 45, 0.95));
    pointer-events: none;
}

.ai-crown-icon {
    color: #FFD700;
    font-size: 18px;
    margin-right: 8px;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

.vip-section {
    background: linear-gradient(135deg, rgba(35, 37, 55, 0.8), rgba(30, 32, 50, 0.8));
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vip-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-unlock-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-unlock-vip i {
    font-size: 14px;
}

.btn-unlock-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #FFD700, #FF8C00);
}

/* Score de risque */
.risk-score {
    background: linear-gradient(135deg, rgba(25, 27, 40, 0.8), rgba(30, 32, 45, 0.8));
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.risk-score::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.risk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.risk-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.risk-value {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Digital', monospace;
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    letter-spacing: 1px;
}

.risk-value.warning {
    color: #FFC107;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.3);
}

.risk-value.danger {
    color: #FF5252;
    text-shadow: 0 0 8px rgba(255, 82, 82, 0.4);
    border-color: rgba(255, 82, 82, 0.3);
}

.risk-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.risk-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease-in-out;
}

.risk-fill.warning {
    background: linear-gradient(90deg, #FFC107, #FF9800);
}

.risk-fill.danger {
    background: linear-gradient(90deg, #FF5252, #D32F2F);
}

.risk-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations et effets spéciaux */
.premium-effect {
    position: relative;
    overflow: hidden;
}

.premium-effect::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { top: -100%; left: -100%; }
    100% { top: 100%; left: 100%; }
}

.digital-counter {
    font-family: 'Digital', monospace;
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    padding: 0 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 215, 0, 0.9);
}

/* Responsive design */
@media (max-width: 768px) {
    .report-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .quick-actions {
        flex-wrap: wrap;
    }

    .btn-action {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .token-identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .token-logo {
        margin-bottom: 10px;
    }

    .vip-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-unlock-vip {
        width: 100%;
        justify-content: center;
    }
}
