/* ═══════════════════════════════════════════════════════════════
   OpusWebcam V3.0 - Module Validation
   Fichier: validation.css
   Description: Styles glassmorphiques pour la validation
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   HEADER DE VALIDATION
   ─────────────────────────────────────────────────────────────── */
.validation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.validation-header h4 {
    color: #fff !important;
    font-weight: 700;
    margin: 0;
}

.validation-header .text-muted,
.validation-info .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.validation-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.validation-stats {
    display: flex;
    gap: 32px;
}

#tab-validation .stat-item,
.validation-header .stat-item,
.validation-stats .stat-item {
    text-align: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    min-width: 100px;
}

#tab-validation .stat-value,
.validation-header .stat-value,
.validation-stats .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: block;
    color: #667eea;
    padding: 0 !important;
    margin: 0 !important;
}

#tab-validation .stat-label,
.validation-header .stat-label,
.validation-stats .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    background: transparent !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
    display: block;
}

.validation-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.validation-controls .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.validation-controls .btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.validation-controls .btn-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    border: none;
    color: #0a0e27;
}

.validation-controls .btn-success:hover {
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

/* ───────────────────────────────────────────────────────────────
   CONTAINER PRINCIPAL
   ─────────────────────────────────────────────────────────────── */
#validationCon {
    padding: 16px 0;
}

/* ───────────────────────────────────────────────────────────────
   GROUPE DE SESSION
   ─────────────────────────────────────────────────────────────── */
.scan-session {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.scan-session:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.session-time {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.session-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.session-actions {
    display: flex;
    gap: 8px;
}

.session-actions .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.session-actions .btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────────
   GRILLE HORIZONTALE DE CARTES
   ─────────────────────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ───────────────────────────────────────────────────────────────
   CARTE DE VALIDATION V3.0 - GLASSMORPHIC
   ─────────────────────────────────────────────────────────────── */
.validation-card-v2 {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.validation-card-v2:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

/* Badge de confiance */
.validation-card-v2 .confidence-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.confidence-indicator.excellent {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 4px 20px rgba(67, 233, 123, 0.5);
}

.confidence-indicator.good {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

.confidence-indicator.fair {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.5);
}

/* Image de la carte */
.card-preview {
    position: relative;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.card-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.validation-card-v2:hover .card-preview img {
    transform: scale(1.08);
}

/* Overlay au survol pour actions rapides */
.quick-actions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.validation-card-v2:hover .quick-actions-overlay {
    opacity: 1;
}

.quick-actions {
    display: flex;
    gap: 12px;
}

.quick-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.quick-action-btn.validate {
    background: rgba(67, 233, 123, 0.2);
    border-color: rgba(67, 233, 123, 0.5);
}

.quick-action-btn.validate:hover {
    background: rgba(67, 233, 123, 0.4);
    box-shadow: 0 0 25px rgba(67, 233, 123, 0.5);
}

.quick-action-btn.analyze {
    background: rgba(79, 172, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.5);
}

.quick-action-btn.analyze:hover {
    background: rgba(79, 172, 254, 0.4);
    box-shadow: 0 0 25px rgba(79, 172, 254, 0.5);
}

.quick-action-btn.correct {
    background: rgba(246, 211, 101, 0.2);
    border-color: rgba(246, 211, 101, 0.5);
}

.quick-action-btn.correct:hover {
    background: rgba(246, 211, 101, 0.4);
    box-shadow: 0 0 25px rgba(246, 211, 101, 0.5);
}

.quick-action-btn.delete {
    background: rgba(245, 87, 108, 0.2);
    border-color: rgba(245, 87, 108, 0.5);
}

.quick-action-btn.delete:hover {
    background: rgba(245, 87, 108, 0.4);
    box-shadow: 0 0 25px rgba(245, 87, 108, 0.5);
}

/* Informations de la carte */
.card-info-v2 {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-name-v2 {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-series-v2 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.625rem;
    color: rgba(79, 172, 254, 0.7);
    margin-top: 6px;
    background: rgba(79, 172, 254, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* ───────────────────────────────────────────────────────────────
   MODE COMPARAISON
   ─────────────────────────────────────────────────────────────── */
.comparison-mode .validation-card-v2 {
    height: 100%;
}

.comparison-images {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
}

.comparison-image {
    flex: 1;
    text-align: center;
}

.comparison-image img {
    max-width: 90%;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-vs {
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    margin: 0 12px;
}

/* ───────────────────────────────────────────────────────────────
   ACTIONS GROUPÉES
   ─────────────────────────────────────────────────────────────── */
.session-bulk-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.bulk-action-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.bulk-action-btn.validate-all {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #0a0e27;
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.bulk-action-btn.validate-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.5);
}

.bulk-action-btn.reject-all {
    background: rgba(245, 87, 108, 0.2);
    color: #f5576c;
    border: 1px solid rgba(245, 87, 108, 0.4);
}

.bulk-action-btn.reject-all:hover {
    background: rgba(245, 87, 108, 0.3);
    transform: translateY(-3px);
}

/* ───────────────────────────────────────────────────────────────
   ANIMATIONS
   ─────────────────────────────────────────────────────────────── */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.validation-card-v2 {
    animation: cardSlideIn 0.4s ease-out;
    animation-fill-mode: both;
}

.validation-card-v2:nth-child(1) { animation-delay: 0s; }
.validation-card-v2:nth-child(2) { animation-delay: 0.05s; }
.validation-card-v2:nth-child(3) { animation-delay: 0.1s; }
.validation-card-v2:nth-child(4) { animation-delay: 0.15s; }
.validation-card-v2:nth-child(5) { animation-delay: 0.2s; }
.validation-card-v2:nth-child(6) { animation-delay: 0.25s; }
.validation-card-v2:nth-child(7) { animation-delay: 0.3s; }
.validation-card-v2:nth-child(8) { animation-delay: 0.35s; }
.validation-card-v2:nth-child(9) { animation-delay: 0.4s; }
.validation-card-v2:nth-child(10) { animation-delay: 0.45s; }

/* ───────────────────────────────────────────────────────────────
   BADGE DE SESSION - QUALITÉ
   ─────────────────────────────────────────────────────────────── */
.session-quality {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.quality-indicator.excellent {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 0 12px rgba(67, 233, 123, 0.6);
}

.quality-indicator.good {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
}

.quality-indicator.poor {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 0 12px rgba(245, 87, 108, 0.6);
}

.quality-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* ───────────────────────────────────────────────────────────────
   MODAL DE PROGRESSION
   ─────────────────────────────────────────────────────────────── */
.progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.progress-modal-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 20px;
    min-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.progress-modal-content h5 {
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.progress-text {
    font-weight: 600;
    color: #fff;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.progress-bar .progress {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ───────────────────────────────────────────────────────────────
   MODAL D'ANALYSE HASH
   ─────────────────────────────────────────────────────────────── */
.analysis-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.analysis-modal.show {
    opacity: 1;
}

.analysis-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.analysis-modal-content {
    position: relative;
    background: rgba(20, 25, 50, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
}

.analysis-header {
    padding: 24px 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px 24px 0 0;
}

.analysis-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.analysis-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analysis-close-btn:hover {
    color: #fff;
    background: rgba(245, 87, 108, 0.3);
    border-color: rgba(245, 87, 108, 0.5);
    transform: rotate(90deg);
}

.analysis-body {
    padding: 30px;
}

.analysis-section {
    margin-bottom: 30px;
}

.analysis-section:last-child {
    margin-bottom: 0;
}

.analysis-section h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-section h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.analysis-preview {
    max-width: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hash-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hash-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.hash-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.hash-label {
    color: #fff;
    font-weight: 700;
    min-width: 80px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.hash-value {
    background: rgba(10, 14, 39, 0.8);
    color: #4facfe;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    word-break: break-all;
    flex: 1;
    border: 1px solid rgba(79, 172, 254, 0.3);
    box-shadow: 0 2px 10px rgba(79, 172, 254, 0.15);
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.match-item.best-match {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.4);
}

.match-rank {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    min-width: 45px;
    text-align: center;
}

.match-item.best-match .match-rank {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.match-info {
    flex: 1;
}

.match-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.match-set {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.match-confidence {
    display: flex;
    align-items: center;
    gap: 12px;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.confidence-fill.excellent {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.confidence-fill.good {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.confidence-fill.medium {
    background: linear-gradient(135deg, #f6d365, #fda085);
}

.confidence-fill.low {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.confidence-text {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 55px;
    text-align: right;
}

.analysis-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 24px 24px;
}

.analysis-footer .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.analysis-footer .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.analysis-footer .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.analysis-footer .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: #fff;
}

.analysis-footer .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────────
   EMPTY STATE
   ─────────────────────────────────────────────────────────────── */
.empty-state-v2,
.validation-empty,
#validationCon .alert {
    text-align: center;
    padding: 60px 30px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state-v2 i,
.validation-empty i {
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.5);
    margin-bottom: 20px;
}

.empty-state-v2 h5,
.validation-empty h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state-v2 p,
.validation-empty p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────────
   SCROLLBAR CUSTOM
   ─────────────────────────────────────────────────────────────── */
.analysis-modal-content::-webkit-scrollbar {
    width: 8px;
}

.analysis-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.analysis-modal-content::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.analysis-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}
