/* Avatar API v2 Custom Styles */

/* ====== THEME TOGGLE STYLES ====== */
:root {
    --color-bg-primary: #0a0e1e;
    --color-bg-secondary: #1a1530;
    --color-bg-tertiary: #0f1425;
    --color-text-primary: #b0e0e6;
    --color-text-secondary: #00ffff;
    --color-accent-1: #00ffff;
    --color-accent-2: #aa44ff;
    --color-accent-3: #00ff64;
    --color-border: rgba(0, 255, 255, 0.3);
    --color-shadow: rgba(0, 255, 255, 0.2);
}

body.light-mode {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #e9ecef;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #212529;
    --color-accent-1: #0066cc;
    --color-accent-2: #7b3ff2;
    --color-accent-3: #198754;
    --color-border: rgba(0, 102, 204, 0.4);
    --color-shadow: rgba(0, 102, 204, 0.2);
}

/* General Improvements */
html,
body,
.neon-dark-body {
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 25%, var(--color-bg-tertiary) 50%, var(--color-bg-secondary) 75%, var(--color-bg-primary) 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    color: var(--color-text-primary) !important;
    transition: background 0.5s ease, color 0.5s ease !important;
}

html::before,
body::before,
.neon-dark-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.5s ease !important;
}

body.light-mode::before {
    opacity: 0 !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: var(--color-text-secondary) !important;
    cursor: pointer !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3) !important;
}

.theme-toggle-btn:hover {
    color: var(--color-accent-1) !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6) !important;
    transform: scale(1.1) rotate(20deg) !important;
}

.theme-toggle-btn i {
    transition: transform 0.5s ease !important;
}

.theme-toggle-btn i.rotating {
    transform: rotate(360deg) !important;
}

body.light-mode .theme-toggle-btn {
    color: #0066cc !important;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.3) !important;
}

body.light-mode .theme-toggle-btn:hover {
    color: #0052a3 !important;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5) !important;
}

.navbar-brand {
    font-weight: 600;
}

/* Navigation Enhancements - Light Mode Overrides */
.navbar {
    transition: all 0.5s ease !important;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 102, 204, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .navbar .navbar-brand {
    color: #0066cc !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

body.light-mode .nav-link {
    color: #212529 !important;
    font-weight: 500 !important;
}

body.light-mode .nav-link:hover {
    color: #0066cc !important;
    text-shadow: none !important;
}

/* Container Styling for Dark Theme */
.container {
    background: transparent !important;
}

/* Avatar Logo Styles */
.hero-avatar-logo {
    max-height: 40px;
    max-width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: avatarGlow 2s ease-in-out infinite alternate;
}

.hero-avatar-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.6)) !important;
}

.feature-avatar-logo {
    max-height: 40px;
    max-width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-avatar-logo:hover {
    transform: scale(1.2);
    filter: hue-rotate(180deg) drop-shadow(0 0 15px rgba(23, 162, 184, 0.8)) !important;
}

.avatar-card-logo {
    max-height: 40px;
    max-width: 40px;
    transition: transform 0.2s ease;
}

.avatar-main-logo {
    max-height: 40px;
    max-width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card:hover .avatar-main-logo {
    transform: scale(1.1);
}

.navbar-logo {
    max-height: 40px;
    max-width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.8)) !important;
}

.btn-icon {
    max-height: 40px;
    max-width: 40px;
}

/* Avatar Glow Animation */
@keyframes avatarGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.6));
    }
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Avatar Cards */
.avatar-card {
    transition: transform 0.2s;
}

.avatar-card:hover {
    transform: translateY(-2px);
}

.avatar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    margin: 0 auto 1rem;
}

.avatar-icon i {
    font-size: 1.5rem;
}

/* Status Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25em 0.5em;
}

/* Knowledge Items */
.knowledge-item {
    border-left: 4px solid #007bff;
    transition: border-color 0.3s;
}

.knowledge-item.status-completed {
    border-left-color: #28a745;
}

.knowledge-item.status-processing {
    border-left-color: #ffc107;
}

.knowledge-item.status-failed {
    border-left-color: #dc3545;
}

/* Chat Interface */
.chat-container {
    height: calc(100vh - 76px); /* Adjust for navbar */
}

.chat-sidebar {
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    height: 100%;
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.message-bubble.user {
    background: linear-gradient(135deg, #007bff, #0056b3);
    margin-left: auto;
    color: white;
}

.message-bubble.assistant {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.message-timestamp {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Search Results */
.search-result {
    border-left: 3px solid #28a745;
    background-color: #f8fff9;
    transition: background-color 0.3s;
}

.search-result:hover {
    background-color: #e8f5e8;
}

.similarity-score {
    background: linear-gradient(45deg, #28a745, #20c997);
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s, background-color 0.3s;
}

.file-upload-area:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.file-upload-area.drag-over {
    border-color: #28a745;
    background-color: #f8fff9;
}

/* Loading Animations */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: #6c757d;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    } 
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-container {
        height: calc(100vh - 60px);
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .avatar-icon {
        width: 50px;
        height: 50px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card .stats-icon {
    font-size: 2rem;
    opacity: 0.8;
}

/* Form Enhancements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: #ffffff;
}

.entity-btn {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
    border: none;
    color: #ffffff;
}

.entity-btn:hover {
    background: linear-gradient(135deg, #5a32a3, #4c2a85);
    color: #ffffff;
}

/* Navigation Enhancements */
.navbar {
    background: rgba(10, 15, 25, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    z-index: 1000 !important;
}

.navbar .navbar-brand {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

.nav-link {
    transition: color 0.3s;
    color: #b0e0e6 !important;
}

.nav-link:hover {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

/* Footer */
.footer {
    background: rgba(10, 15, 25, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 255, 255, 0.15) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
    color: #b0e0e6 !important;
    margin-top: auto !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 1rem !important;
    z-index: 999 !important;
}

.footer p {
    color: #b0e0e6 !important;
    margin: 0 !important;
}

body.light-mode .footer {
    background: rgba(245, 245, 245, 0.9) !important;
    border-top: 1px solid rgba(52, 152, 219, 0.2) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .footer p {
    color: #2c3e50 !important;
}

/* Sidebar Enhancements */
.list-group-item {
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #007bff;
}

.list-group-item.active {
    background-color: #e3f2fd;
    border-left-color: #007bff;
    color: #007bff;
}

/* Modal Enhancements */
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: #ffffff;
}

.modal-header {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
    color: #ffffff;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    color: #ffffff;
    font-weight: 600;
}

.modal-body {
    background-color: #ffffff;
    color: #333333;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(202 205 208 / 75%) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    background: linear-gradient(90deg, #007bff, #28a745);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Floating Action Menu */
.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-menu.center {
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%);
}

.floating-menu-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1001;
}

.floating-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.floating-menu-toggle.active {
    transform: rotate(45deg) scale(1.2);
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
}

.floating-menu.center .floating-menu-toggle.active {
    transform: rotate(45deg) scale(1.2);
}

.floating-menu-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.floating-menu-items.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop for center mode */
.floating-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.floating-menu-item {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    transform: scale(0) translate(-50%, -50%);
    opacity: 0;
}

/* Cardinal positioning around center - Norte, Sur, Este, Oeste */
.floating-menu-items.active .floating-menu-item:nth-child(1) { 
    /* Norte - Crear Avatar */
    transform: scale(1) translate(-50%, -50%) translate(0, -80px);
    opacity: 1;
    transition-delay: 0.1s;
}
.floating-menu-items.active .floating-menu-item:nth-child(2) { 
    /* Este - Subir Documento */
    transform: scale(1) translate(-50%, -50%) translate(80px, 0);
    opacity: 1;
    transition-delay: 0.2s;
}
.floating-menu-items.active .floating-menu-item:nth-child(3) { 
    /* Sur - Nuevo Chat */
    transform: scale(1) translate(-50%, -50%) translate(0, 80px);
    opacity: 1;
    transition-delay: 0.3s;
}
.floating-menu-items.active .floating-menu-item:nth-child(4) { 
    /* Oeste - Documentación API */
    transform: scale(1) translate(-50%, -50%) translate(-80px, 0);
    opacity: 1;
    transition-delay: 0.4s;
}

.floating-menu-item:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.6);
    color: white;
    text-decoration: none;
}

.floating-menu-item[data-action="create-avatar"] {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.4);
}

.floating-menu-item[data-action="create-avatar"]:hover {
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.6);
}

.floating-menu-item[data-action="upload-document"] {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
}

.floating-menu-item[data-action="upload-document"]:hover {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.6);
}

.floating-menu-item[data-action="new-chat"] {
    background: linear-gradient(135deg, #17a2b8, #138496);
    box-shadow: 0 3px 10px rgba(23, 162, 184, 0.4);
}

.floating-menu-item[data-action="new-chat"]:hover {
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.6);
}

.floating-menu-item[data-action="api-docs"] {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.4);
}

.floating-menu-item[data-action="api-docs"]:hover {
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.6);
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

/* Responsive adjustments for floating menu */
@media (max-width: 768px) {
    .floating-menu {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-menu-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-menu-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Cardinal positioning for mobile - smaller radius */
    .floating-menu-items.active .floating-menu-item:nth-child(1) { 
        /* Norte - Crear Avatar */
        transform: scale(1) translate(-50%, -50%) translate(0, -60px);
    }
    .floating-menu-items.active .floating-menu-item:nth-child(2) { 
        /* Este - Subir Documento */
        transform: scale(1) translate(-50%, -50%) translate(60px, 0);
    }
    .floating-menu-items.active .floating-menu-item:nth-child(3) { 
        /* Sur - Nuevo Chat */
        transform: scale(1) translate(-50%, -50%) translate(0, 60px);
    }
    .floating-menu-items.active .floating-menu-item:nth-child(4) { 
        /* Oeste - Documentación API */
        transform: scale(1) translate(-50%, -50%) translate(-60px, 0);
    }
}

/* Pulse animation for the toggle button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.8), 0 0 0 10px rgba(0, 123, 255, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    }
}

.floating-menu-toggle:not(.active):hover {
    animation: pulse 2s infinite;
}

/* ====== AVATAR VIEWER MODAL - NEON CYBERPUNK STYLE ====== */

/* Modal Container */
#avatarViewerModal .modal-content,
.avatar-viewer-modal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), 0 0 60px rgba(138, 43, 226, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Modal Header */
#avatarViewerModal .modal-header,
.avatar-viewer-modal .modal-header {
    padding: 16px 24px !important;
    background: rgba(20, 20, 30, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid rgba(0, 255, 255, 0.4) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2) !important;
}

#avatarViewerModal .modal-title,
.avatar-viewer-modal .modal-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(138, 43, 226, 0.4) !important;
    letter-spacing: 1px !important;
}

#avatarViewerModal .btn-close,
.avatar-viewer-modal .btn-close {
    filter: brightness(0) saturate(100%) invert(85%) sepia(60%) saturate(1000%) hue-rotate(350deg) drop-shadow(0 0 5px rgba(255, 200, 0, 0.8)) !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

/* Modal Body - Main Container - 2 Columns */
#avatarViewerModal .modal-body,
.avatar-viewer-modal .modal-body {
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
    height: 550px !important;
    gap: 0 !important;
}

/* Left Column - Video Avatar (iframe) - Tabbed Interface */
#avatarViewerModal .avatar-viewer-left,
.avatar-viewer-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%) !important;
    backdrop-filter: blur(8px) !important;
    padding: 0 !important;
    position: relative !important;
    border-right: 2px solid rgba(0, 255, 255, 0.3) !important;
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1) !important;
}

/* Bootstrap Tab Navigation Customization */
#avatarViewerModal .avatar-viewer-tabs,
.avatar-viewer-tabs {
    border-bottom: 2px solid rgba(0, 255, 255, 0.5) !important;
    background: rgba(10, 15, 30, 0.5) !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-item,
.avatar-viewer-tabs .nav-item {
    flex: 1;
    width: 50%;
    border-right: 1px solid rgba(0, 255, 255, 0.2) !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-item:last-child,
.avatar-viewer-tabs .nav-item:last-child {
    border-right: none !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-link,
.avatar-viewer-tabs .nav-link {
    padding: 14px 20px !important;
    background: transparent !important;
    border: none !important;
    color: rgba(0, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-link:hover,
.avatar-viewer-tabs .nav-link:hover {
    color: #00ffff !important;
    background: rgba(0, 255, 255, 0.08) !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-link.active,
.avatar-viewer-tabs .nav-link.active {
    color: #00ffff !important;
    background: rgba(0, 255, 255, 0.15) !important;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8) !important;
    box-shadow: inset 0 -3px 0 0 #00ffff !important;
    border-bottom: 3px solid #00ffff !important;
}

#avatarViewerModal .avatar-viewer-tabs .nav-link i,
.avatar-viewer-tabs .nav-link i {
    margin-right: 0 !important;
    font-size: 14px !important;
}

/* Light Mode - Avatar Viewer Tabs */
body.light-mode #avatarViewerModal .avatar-viewer-tabs .nav-link,
body.light-mode .avatar-viewer-tabs .nav-link {
    color: #212529 !important;
    background: transparent !important;
    border-bottom: 3px solid transparent !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

body.light-mode #avatarViewerModal .avatar-viewer-tabs .nav-link:hover,
body.light-mode .avatar-viewer-tabs .nav-link:hover {
    color: #0066cc !important;
    background: rgba(0, 102, 204, 0.08) !important;
}

body.light-mode #avatarViewerModal .avatar-viewer-tabs .nav-link.active,
body.light-mode .avatar-viewer-tabs .nav-link.active {
    color: #0066cc !important;
    background: rgba(0, 102, 204, 0.1) !important;
    text-shadow: none !important;
    box-shadow: inset 0 -3px 0 0 #0066cc !important;
    border-bottom: 3px solid #0066cc !important;
}

body.light-mode #avatarViewerModal .avatar-viewer-tab-content,
body.light-mode .avatar-viewer-tab-content {
    background: rgba(248, 249, 250, 0.5) !important;
}

/* Bootstrap Tab Content Container */
#avatarViewerModal .avatar-viewer-tab-content,
.avatar-viewer-tab-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 16px !important;
    background: rgba(10, 15, 30, 0.2) !important;
}

/* Bootstrap Tab Panes */
#avatarViewerModal .avatar-viewer-tab-content .tab-pane,
.avatar-viewer-tab-content .tab-pane {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

#avatarViewerModal .avatar-viewer-tab-content .tab-pane.show,
.avatar-viewer-tab-content .tab-pane.show {
    display: flex !important;
    flex-direction: column !important;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Section - iframe container */
#avatarViewerModal .avatar-viewer-section.video-section,
.avatar-viewer-section.video-section {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(10, 15, 30, 0.3) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Model Section - Canvas */
#avatarViewerModal .avatar-viewer-section.model-section,
.avatar-viewer-section.model-section {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* iframe Styling */
#avatarViewerModal .avatar-viewer-iframe,
.avatar-viewer-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 8px !important;
}

/* Right Column - Information Only - Second Column */
#avatarViewerModal .avatar-viewer-right,
.avatar-viewer-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%) !important;
    backdrop-filter: blur(8px) !important;
    padding: 24px !important;
    position: relative !important;
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1) !important;
    overflow-y: auto !important;
}

/* Canvas - 3D Model Viewer */
#avatarViewerModal #avatarCanvas,
#avatarCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.8), rgba(20, 10, 30, 0.8)) !important;
}

#avatarViewerModal .video-placeholder,
.video-placeholder {
    font-size: 14px !important;
    color: #666 !important;
    text-align: center !important;
}

/* Model 3D Placeholder - Overlay */
#avatarViewerModal .model-placeholder,
.model-placeholder {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15) 0%, rgba(75, 0, 130, 0.15) 100%) !important;
    border-radius: 8px !important;
    color: rgba(0, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

#avatarViewerModal .model-placeholder::after,
.model-placeholder::after {
    content: "Cargando modelo 3D..." !important;
    display: block !important;
}

#avatarViewerModal .avatar-viewer-canvas,
.avatar-viewer-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Avatar Name Section */
#avatarViewerModal .avatar-viewer-name,
.avatar-viewer-name {
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2) !important;
}

#avatarViewerModal .avatar-viewer-name h4,
.avatar-viewer-name h4 {
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #00ffff !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8) !important;
    letter-spacing: 0.5px !important;
}

#avatarViewerModal .avatar-viewer-status,
.avatar-viewer-status {
    padding: 6px 12px !important;
    font-size: 12px !important;
    background: #00ff00 !important;
    color: #000 !important;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5) !important;
    font-weight: 600 !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4) !important;
}

#avatarViewerModal .avatar-viewer-description,
.avatar-viewer-description {
    margin-top: 12px !important;
    color: #b0e0e6 !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

/* Stats Grid */
#avatarViewerModal .avatar-viewer-stats,
.avatar-viewer-stats {
    margin-bottom: 20px !important;
}

#avatarViewerModal .avatar-viewer-stats-title,
.avatar-viewer-stats-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #00ffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

#avatarViewerModal .avatar-stats-grid,
.avatar-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

/* Stat Card Base */
#avatarViewerModal .avatar-stat-card,
.avatar-stat-card {
    border-radius: 10px !important;
    padding: 14px !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
}

/* Stat Card - Items (Blue) */
#avatarViewerModal .avatar-stat-card.items,
.avatar-stat-card.items {
    background: rgba(0, 255, 255, 0.08) !important;
    border: 2px solid rgba(0, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.05) !important;
}

#avatarViewerModal .avatar-stat-card.items i,
.avatar-stat-card.items i {
    color: #00ffff !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8) !important;
}

#avatarViewerModal .avatar-stat-card.items .stat-value,
#avatarViewerModal .avatar-stat-card.items .stat-label,
.avatar-stat-card.items .stat-value,
.avatar-stat-card.items .stat-label {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

/* Stat Card - Active (Green) */
#avatarViewerModal .avatar-stat-card.active,
.avatar-stat-card.active {
    background: rgba(0, 255, 100, 0.08) !important;
    border: 2px solid rgba(0, 255, 100, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.2), inset 0 0 10px rgba(0, 255, 100, 0.05) !important;
}

#avatarViewerModal .avatar-stat-card.active i,
.avatar-stat-card.active i {
    color: #00ff64 !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-shadow: 0 0 8px rgba(0, 255, 100, 0.8) !important;
}

#avatarViewerModal .avatar-stat-card.active .stat-label,
.avatar-stat-card.active .stat-label {
    color: #00ff64 !important;
}

/* Stat Card - Chunks (Purple) */
#avatarViewerModal .avatar-stat-card.chunks,
.avatar-stat-card.chunks {
    background: rgba(138, 43, 226, 0.08) !important;
    border: 2px solid rgba(138, 43, 226, 0.4) !important;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2), inset 0 0 10px rgba(138, 43, 226, 0.05) !important;
}

#avatarViewerModal .avatar-stat-card.chunks i,
.avatar-stat-card.chunks i {
    color: #aa44ff !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.8) !important;
}

#avatarViewerModal .avatar-stat-card.chunks .stat-label,
.avatar-stat-card.chunks .stat-label {
    color: #aa44ff !important;
}

/* Stat Card - Vector (Gold) */
#avatarViewerModal .avatar-stat-card.vector,
.avatar-stat-card.vector {
    background: rgba(255, 200, 0, 0.08) !important;
    border: 2px solid rgba(255, 200, 0, 0.4) !important;
    box-shadow: 0 0 15px rgba(255, 200, 0, 0.2), inset 0 0 10px rgba(255, 200, 0, 0.05) !important;
}

#avatarViewerModal .avatar-stat-card.vector i,
.avatar-stat-card.vector i {
    color: #ffc800 !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-shadow: 0 0 8px rgba(255, 200, 0, 0.8) !important;
}

#avatarViewerModal .avatar-stat-card.vector .stat-label,
.avatar-stat-card.vector .stat-label {
    color: #ffc800 !important;
}

#avatarViewerModal .avatar-stat-card .stat-value,
#avatarViewerModal .avatar-stat-card .stat-label,
.avatar-stat-card .stat-value,
.avatar-stat-card .stat-label {
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #fff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

/* Metadata Section */
#avatarViewerModal .avatar-viewer-metadata,
.avatar-viewer-metadata {
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(0, 255, 255, 0.2) !important;
}

#avatarViewerModal .avatar-viewer-metadata small,
.avatar-viewer-metadata small {
    color: #00ffff !important;
    font-size: 11px !important;
    display: block !important;
    margin-bottom: 4px !important;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.5) !important;
}

#avatarViewerModal .avatar-viewer-metadata strong,
.avatar-viewer-metadata strong {
    color: #00ffff !important;
}

#avatarViewerModal .avatar-viewer-metadata span,
.avatar-viewer-metadata span {
    color: #b0e0e6 !important;
}

/* ====== HOME PAGE - NEON CYBERPUNK STYLE ====== */

/* Hero Section */
.neon-hero {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), 0 0 60px rgba(138, 43, 226, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05) !important;
    padding: 3rem 2rem !important;
    border-radius: 16px !important;
    position: relative !important;
    overflow: hidden !important;
}

.neon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.neon-hero .hero-title {
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(138, 43, 226, 0.4) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    margin-bottom: 1rem !important;
}

.neon-hero .hero-subtitle {
    color: #aa44ff !important;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8) !important;
    font-size: 0.7em !important;
}

.neon-hero .hero-lead {
    color: #00ff64 !important;
    text-shadow: 0 0 8px rgba(0, 255, 100, 0.6) !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
}

.neon-hero .hero-description {
    color: #b0e0e6 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

/* Neon Primary Button */
.btn-neon-primary,
.btn-neon-success {
    background: transparent !important;
    border: 2px solid #00ffff !important;
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3) !important;
}

.btn-neon-primary:hover,
.btn-neon-success:hover {
    background: rgba(0, 255, 255, 0.1) !important;
    border-color: #00ffff !important;
    color: #00ffff !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.btn-neon-success {
    border-color: #00ff64 !important;
    color: #00ff64 !important;
    text-shadow: 0 0 5px rgba(0, 255, 100, 0.8) !important;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.3) !important;
}

.btn-neon-success:hover {
    background: rgba(0, 255, 100, 0.1) !important;
    border-color: #00ff64 !important;
    color: #00ff64 !important;
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.6), inset 0 0 10px rgba(0, 255, 100, 0.1) !important;
}

/* Statistics Cards */
.neon-card {
    background: rgba(10, 15, 30, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
}

.neon-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
}

.neon-card-cyan {
    border-color: rgba(0, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.05) !important;
}

.neon-card-cyan:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
}

.neon-card-green {
    border-color: rgba(0, 255, 100, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.2), inset 0 0 10px rgba(0, 255, 100, 0.05) !important;
}

.neon-card-green:hover {
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.4), inset 0 0 10px rgba(0, 255, 100, 0.1) !important;
}

.neon-card-purple {
    border-color: rgba(138, 43, 226, 0.4) !important;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2), inset 0 0 10px rgba(138, 43, 226, 0.05) !important;
}

.neon-card-purple:hover {
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), inset 0 0 10px rgba(138, 43, 226, 0.1) !important;
}

/* Card Titles and Icons */
.neon-card-title {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.neon-card-text {
    color: #b0e0e6 !important;
    font-size: 0.95rem !important;
}

.neon-stat-value {
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-size: 2.5rem !important;
    margin: 0.5rem 0 !important;
}

.neon-icon-cyan {
    color: #00ffff !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8) !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4)) !important;
}

.neon-icon-green {
    color: #00ff64 !important;
    text-shadow: 0 0 8px rgba(0, 255, 100, 0.8) !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 100, 0.4)) !important;
}

.neon-icon-purple {
    color: #aa44ff !important;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.8) !important;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.4)) !important;
}

/* Section Titles */
.neon-section-title {
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(138, 43, 226, 0.4) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Feature Cards */
.neon-feature-card {
    background: rgba(10, 15, 30, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
}

.neon-feature-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 255, 255, 0.6) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
}

.neon-feature-title {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
}

.neon-feature-text {
    color: #b0e0e6 !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}

/* Action Cards */
.neon-action-card {
    background: rgba(10, 15, 30, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
}

.neon-action-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 255, 255, 0.6) !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
}

.neon-action-title {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.neon-action-text {
    color: #b0e0e6 !important;
    line-height: 1.5 !important;
}

/* Status Card */
.neon-status-card {
    background: rgba(10, 15, 30, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.neon-status-header {
    background: rgba(0, 255, 255, 0.05) !important;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 10px 10px 0 0 !important;
    backdrop-filter: blur(8px) !important;
}

.neon-status-title {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.neon-status-body {
    background: transparent !important;
    color: #b0e0e6 !important;
}

.neon-status-label {
    color: #b0e0e6 !important;
    font-size: 0.9rem !important;
}

/* Neon Badges */
.neon-badge-success {
    background: #00ff64 !important;
    color: #000 !important;
    text-shadow: 0 0 5px rgba(0, 255, 100, 0.5) !important;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.4) !important;
    font-weight: 600 !important;
}

.neon-badge-info {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3) !important;
    font-weight: 600 !important;
}

/* ====== GENERAL MODAL STYLES - NEON CYBERPUNK ====== */

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px) !important;
}

/* All Modal Content */
.modal-content {
    background: rgba(10, 15, 30, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), 0 0 60px rgba(138, 43, 226, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    color: #b0e0e6 !important;
}

body.light-mode .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

body.light-mode .modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #1a1a1a !important;
}

/* Modal Headers */
.modal-header {
    background: rgba(0, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3) !important;
    padding: 1.5rem !important;
}

.modal-header .modal-title {
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(138, 43, 226, 0.4) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

body.light-mode .modal-header {
    background: rgba(0, 102, 204, 0.08) !important;
    border-bottom: 1px solid rgba(0, 102, 204, 0.3) !important;
}

body.light-mode .modal-header .modal-title {
    color: #0066cc !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

.modal-header .btn-close {
    filter: brightness(0) saturate(100%) invert(85%) sepia(60%) saturate(1000%) hue-rotate(350deg) drop-shadow(0 0 5px rgba(255, 200, 0, 0.8)) !important;
}

body.light-mode .modal-header .btn-close {
    filter: invert(0) !important;
}

/* Modal Bodies */
.modal-body {
    background: transparent !important;
    color: #b0e0e6 !important;
    padding: 1.5rem !important;
}

body.light-mode .modal-body {
    background: transparent !important;
    color: #1a1a1a !important;
}

/* Modal Footers */
.modal-footer {
    background: rgba(0, 255, 255, 0.02) !important;
    backdrop-filter: blur(8px) !important;
    border-top: 1px solid rgba(0, 255, 255, 0.2) !important;
    padding: 1.5rem !important;
}

body.light-mode .modal-footer {
    background: rgba(0, 102, 204, 0.03) !important;
    border-top: 1px solid rgba(0, 102, 204, 0.2) !important;
}

/* Form Labels in Modals */
.modal-body label {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
    font-weight: 600 !important;
}

body.light-mode .modal-body label {
    color: #0066cc !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

/* Form Inputs in Modals */
.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="number"],
.modal-body textarea,
.modal-body select {
    background: rgba(20, 30, 50, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    color: #b0e0e6 !important;
    box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.05) !important;
}

body.light-mode .modal-body input[type="text"],
body.light-mode .modal-body input[type="email"],
body.light-mode .modal-body input[type="number"],
body.light-mode .modal-body textarea,
body.light-mode .modal-body select {
    background: #ffffff !important;
    border: 2px solid rgba(0, 102, 204, 0.4) !important;
    color: #1a1a1a !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.modal-body input[type="text"]::placeholder,
.modal-body input[type="email"]::placeholder,
.modal-body input[type="number"]::placeholder,
.modal-body textarea::placeholder {
    color: rgba(176, 224, 230, 0.6) !important;
}

body.light-mode .modal-body input[type="text"]::placeholder,
body.light-mode .modal-body input[type="email"]::placeholder,
body.light-mode .modal-body input[type="number"]::placeholder,
body.light-mode .modal-body textarea::placeholder {
    color: rgba(26, 26, 26, 0.5) !important;
}

.modal-body input[type="text"]:focus,
.modal-body input[type="email"]:focus,
.modal-body input[type="number"]:focus,
.modal-body textarea:focus,
.modal-body select:focus {
    background: rgba(20, 30, 50, 0.8) !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4), inset 0 0 5px rgba(0, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.light-mode .modal-body input[type="text"]:focus,
body.light-mode .modal-body input[type="email"]:focus,
body.light-mode .modal-body input[type="number"]:focus,
body.light-mode .modal-body textarea:focus,
body.light-mode .modal-body select:focus {
    background: #ffffff !important;
    border-color: #0066cc !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    color: #1a1a1a !important;
}

/* Modal Text Elements */
.modal-body p,
.modal-body small {
    color: #b0e0e6 !important;
}

body.light-mode .modal-body p,
body.light-mode .modal-body small {
    color: #212529 !important;
}

/* Modal Buttons */
.modal .btn-primary {
    background: transparent !important;
    border: 2px solid #00ffff !important;
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3) !important;
}

.modal .btn-primary:hover {
    background: rgba(0, 255, 255, 0.1) !important;
    border-color: #00ffff !important;
    color: #00ffff !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
}

body.light-mode .modal .btn-primary {
    background: #0066cc !important;
    border: 2px solid #0066cc !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3) !important;
    font-weight: 600 !important;
}

body.light-mode .modal .btn-primary:hover {
    background: #0052a3 !important;
    border-color: #0052a3 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.4) !important;
    transform: translateY(-1px) !important;
}

.modal .btn-secondary {
    background: transparent !important;
    border: 2px solid rgba(176, 224, 230, 0.3) !important;
    color: #b0e0e6 !important;
    font-weight: 600 !important;
}

.modal .btn-secondary:hover {
    background: rgba(176, 224, 230, 0.1) !important;
    border-color: #b0e0e6 !important;
    color: #00ffff !important;
}

body.light-mode .modal .btn-secondary {
    background: #f8f9fa !important;
    border: 2px solid #dee2e6 !important;
    color: #212529 !important;
    font-weight: 600 !important;
}

body.light-mode .modal .btn-secondary:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #212529 !important;
}

.modal .btn-danger {
    background: transparent !important;
    border: 2px solid #ff4444 !important;
    color: #ff4444 !important;
    font-weight: 600 !important;
}

.modal .btn-danger:hover {
    background: rgba(255, 68, 68, 0.1) !important;
    border-color: #ff4444 !important;
}

body.light-mode .modal .btn-danger {
    background: #dc3545 !important;
    border: 2px solid #dc3545 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.light-mode .modal .btn-danger:hover {
    background: #bb2d3b !important;
    border-color: #bb2d3b !important;
    color: #ffffff !important;
}

/* Panel Styles */
.panel,
.card {
    background: rgba(10, 15, 30, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
}

.card-header {
    background: rgba(0, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2) !important;
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6) !important;
}

.card-body {
    background: transparent !important;
    color: #b0e0e6 !important;
}

/* Improve contrast for outlined buttons in card footers */
.card-footer .btn-outline-secondary {
    color: #b0e0e6 !important;
    border-color: rgba(176, 224, 230, 0.5) !important;
}

.card-footer .btn-outline-secondary:hover {
    background: rgba(176, 224, 230, 0.06) !important;
    color: #00ffff !important;
}

body.light-mode .card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 102, 204, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

body.light-mode .card:hover {
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.2) !important;
}

body.light-mode .card-header {
    background: rgba(0, 102, 204, 0.08) !important;
    border-bottom: 1px solid rgba(0, 102, 204, 0.25) !important;
    color: #0066cc !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

body.light-mode .card-body {
    background: transparent !important;
    color: #1a1a1a !important;
}

body.light-mode .card-footer .btn-outline-secondary {
    color: #212529 !important;
    border-color: rgba(0, 102, 204, 0.4) !important;
}

body.light-mode .card-footer .btn-outline-secondary:hover {
    background: rgba(0, 102, 204, 0.1) !important;
    color: #0066cc !important;
    border-color: #0066cc !important;
}

/* Tabs - Transparent Glass Morphism */
.nav-tabs {
    background: rgba(10, 15, 25, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 8px 8px 0 0 !important;
}

.nav-tabs .nav-link {
    color: rgba(176, 224, 230, 0.7) !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.nav-tabs .nav-link:hover {
    color: #00ffff !important;
    background: rgba(0, 255, 255, 0.05) !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.4) !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #00ffff !important;
    background: rgba(0, 255, 255, 0.1) !important;
    border-bottom: 2px solid rgba(0, 255, 255, 0.6) !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2) inset !important;
}/* Updated: Tue 11 Nov 2025 02:16:58 PM CST */
