/* Character Analysis Module Custom Styles */

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important;
}

.character-item:hover {
    transform: translateX(5px);
    background-color: #f8f9fa !important;
}

/* Rank Circle */
.rank-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-number {
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Category Tags */
.category-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-tag:hover {
    transform: scale(1.05);
}

/* Insight Card */
.insight-card {
    border-left: 4px solid;
    background: linear-gradient(90deg, rgba(155,89,182,0.05) 0%, rgba(255,255,255,1) 100%);
}

/* Pulse Dot Animation */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Glass Card Effect */
.glass-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Profile Page Styles */
.profile-hero {
    background: linear-gradient(135deg, rgba(155,89,182,0.1) 0%, rgba(52,152,219,0.1) 100%);
    border-radius: 20px;
    padding: 2rem;
}

.stat-box {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #7F8C8D;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.need-indicator {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: width 0.5s ease;
}

.verse-card {
    border-left: 4px solid #9B59B6;
    background: linear-gradient(90deg, rgba(155,89,182,0.05) 0%, white 100%);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.verse-card:hover {
    transform: translateX(5px);
}

.role-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin: 2px;
}

.insight-box {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 15px;
    padding: 1.5rem;
}

/* Network Page Styles */
.network-stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid;
    transition: transform 0.2s ease;
}

.network-stat-card:hover {
    transform: translateY(-3px);
}

.relationship-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 4px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.relationship-chip:hover {
    transform: scale(1.05);
}

.pair-row {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(155,89,182,0.03) 0%, white 100%);
    border-left: 3px solid;
    transition: all 0.2s ease;
}

.pair-row:hover {
    transform: translateX(5px);
    background: linear-gradient(90deg, rgba(155,89,182,0.08) 0%, white 100%);
}

.network-legend-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background 0.2s ease;
}

.network-legend-item:hover {
    background: rgba(0,0,0,0.02);
}

/* General Improvements */
.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #9B59B6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8E44AD;
}

/* ============================================
   VERSE EXPLORER ENHANCED UX STYLES
   ============================================ */

/* Floating Action Bar */
#floating-action-bar {
    transition: all 0.3s ease;
}

#floating-action-bar:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2) !important;
    transform: translateY(-2px);
}

#floating-action-bar button {
    transition: all 0.2s ease;
}

#floating-action-bar button:hover {
    transform: scale(1.1);
}

/* Comparison Panel */
.comparison-mini-card {
    transition: all 0.2s ease;
}

.comparison-mini-card:hover {
    transform: translateX(3px);
}

/* Insight Strip */
.insight-strip {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.insight-strip .need-bar {
    transition: height 0.3s ease;
}

/* Significance Meter Animation */
.significance-meter {
    transition: width 0.5s ease;
}

/* Quick Stats Bar */
.quick-stats-bar {
    background: linear-gradient(90deg, rgba(155,89,182,0.05) 0%, rgba(52,152,219,0.05) 100%);
}

/* Verse Card Enhancements */
.verse-card-enhanced {
    transition: all 0.3s ease;
}

.verse-card-enhanced:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
}

/* Section Headers Interactive */
.section-header-interactive {
    cursor: pointer;
    transition: all 0.2s ease;
}

.section-header-interactive:hover {
    background-color: rgba(155,89,182,0.1) !important;
}

/* Compare Button */
.btn-compare {
    border-color: #9B59B6;
    color: #9B59B6;
    transition: all 0.2s ease;
}

.btn-compare:hover {
    background-color: #9B59B6;
    color: white;
}

/* Semantic Intensity Bars */
.semantic-bar {
    transition: width 0.3s ease;
}

/* Need Profile Mini Bars */
.need-mini-bar {
    transition: height 0.3s ease;
}

/* Priority Badge Pulse for High Priority */
.priority-badge-high {
    animation: priorityPulse 2s infinite;
}

@keyframes priorityPulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Quick Action Buttons */
.quick-action-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Comparison Mode Active State */
.comparison-mode-active {
    border: 2px solid #9B59B6 !important;
    box-shadow: 0 0 10px rgba(155,89,182,0.3) !important;
}

/* Mobile Responsive Floating Action Bar */
@media (max-width: 768px) {
    #floating-action-bar {
        flex-direction: row !important;
        bottom: 15px !important;
        right: 15px !important;
        padding: 10px !important;
    }

    #floating-action-bar button {
        width: 35px !important;
        height: 35px !important;
    }
}
