/* Modern UI/UX Stilleri */

/* Glassmorphism Efekti */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient Butonlar */
.btn-gradient {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* Animasyonlu Kartlar */
.entry-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    position: relative;
    overflow: hidden;
}

.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.entry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.entry-card:hover::before {
    transform: scaleX(1);
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    padding: 10px;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 10px 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}



/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Online Users Indicator */
.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Modern Sekmeler */
.modern-tabs {
    background: white;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tab-container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
}

.tab-container::-webkit-scrollbar {
    display: none;
}

.modern-tab {
    flex: 0 0 auto;
    flex-shrink: 0;
    padding: 12px 16px;
    text-decoration: none;
    color: #8e8e93;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    min-width: fit-content;
    border-radius: 8px 8px 0 0;
}

.modern-tab:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.modern-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.modern-tab i {
    font-size: 1.1rem;
}

/* Sade Topic Tasarımı */
.topic-item {
    padding: 24px 0;
    transition: all 0.2s ease;
}



.topic-content {
    margin-bottom: 0;
}

.topic-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.topic-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topic-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 20px 0;
    opacity: 0.6;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.author-name:hover {
    color: #764ba2;
}

.post-time {
    font-size: 0.8rem;
    color: #8e8e93;
}

/* Sade Entry ve Category Tasarımı */
.entry-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}



.entry-header {
    margin-bottom: 12px;
}

.entry-title {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.entry-title:hover {
    color: #667eea;
}

.category-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}



.category-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .topic-item,
    .entry-item,
    .category-item {
        padding: 16px 0;
    }
    
    .modern-tabs {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .tab-container {
        padding: 0 10px;
        gap: 2px;
    }
    
    .modern-tab {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 80px;
        flex-shrink: 0;
        border-radius: 6px 6px 0 0;
    }
    
    .modern-tab i {
        font-size: 0.85rem;
        margin-right: 4px;
    }
    
    .modern-tab span {
        font-size: 0.75rem;
        display: block;
    }
    
    .author-info {
        gap: 8px;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .fab {
        bottom: 90px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 20px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    }
    
    .fab:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    }
    
    /* Mobile scroll indicators */
    .tab-container::before,
    .tab-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }
    
    .tab-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
    }
    
    .tab-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    }
}

/* Micro Interactions */
.btn, .card, .form-control {
    transition: all 0.2s ease;
}

.form-control:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Success Animations */
.success-animation {
    animation: successPulse 0.6s ease;
}

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

/* Tüm çizgileri kaldır */
.agenda-item.card,
.topic-item,
.entry-item,
.category-item {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.agenda-item .card-body {
    padding: 0 !important;
}