/* Modern Home Page Styles */
.floating-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

.floating-btn.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .floating-btn {
        bottom: 100px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
}

/* Tab Styles */
.tab-btn {
    transition: none !important;
    cursor: pointer;
}

.tab-content {
    min-height: 200px;
}

/* Modern Topic Card Styles */
.topic-card {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: white !important;
    transition: all 0.2s ease !important;
}



.topic-container h4 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

/* Username Colors */
.username-link {
    color: #8b5cf6 !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Modern Divider Styles */
.topic-divider {
    width: 50%;
    margin: 20px auto;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    opacity: 0.6;
}

/* Modern Vote Buttons */
.vote-buttons .btn {
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 4px 6px;
    color: #8e8e93;
}

.vote-buttons .btn:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    transform: scale(1.05);
}

/* Modern Share Dropdown */
.share-dropdown {
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
}

.share-dropdown .dropdown-item {
    padding: 8px 16px;
    transition: all 0.2s ease;
    color: #666;
}

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

/* Modern Entry Preview */
.first-entry-preview {
    background: transparent;
    border: none;
    padding: 8px 0;
    margin: 12px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* Modern Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.modal-body {
    padding: 24px;
}

/* Modern Form Controls */
.form-control {
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Kategoriler Sekmesi Stilleri */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.category-item {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid #667eea;
    padding-left: 17px;
}

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

.category-name {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

.topic-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .category-item {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .category-item:hover {
        padding-left: 13px;
    }
    
    .category-name {
        font-size: 0.95rem;
    }
    
    .topic-count {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
}