/* Trending-AI.in Custom styles */

:root {
    --bg-dark: #0b0f19;
    --card-bg-dark: rgba(17, 24, 39, 0.5);
    --border-dark: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --neon-indigo: #6366f1;
    --neon-rose: #f43f5e;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: #f3f4f6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.3s, color 0.3s;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(99, 102, 241, 0.15);
}

.glass-nav {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Custom buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.95;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

/* Custom badges */
.badge-neon {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-contributor {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-expert {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Text editor overrides */
.ck-editor__editable_inline {
    min-height: 250px;
    background-color: rgba(15, 23, 42, 0.6) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* Micro-animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Select2 Custom Theme integration */
.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    padding-left: 16px !important;
}
.select2-dropdown {
    background-color: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
.select2-results__option--highlighted[aria-selected] {
    background-color: #6366f1 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

/* Fix standard browser dropdown option text color visibility */
select option {
    background-color: #0f172a !important;
    color: #ffffff !important;
}
