/* Font import - must be at the top of the stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    font-size: 0.875rem; /* Genel font boyutu küçültüldü */
    /* Token kontrolü tamamlanana kadar gizle */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

/* Modal/Page overlay açıkken arka plan scroll'u engelle */
body.modal-open {
    overflow: hidden;
}

/* Duyurular Slider Widget */
.announcements-slider-widget .widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.announcements-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.announcements-modal {
    max-width: 520px;
    width: 92vw;
}

.announcements-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 70vh;
    overflow-y: auto;
}

.announcement-modal-item {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(24,119,242,0.10), rgba(66,165,245,0.06));
    border: 1px solid rgba(24,119,242,0.14);
}

body.dark-mode .announcement-modal-item {
    background: linear-gradient(135deg, rgba(24,119,242,0.18), rgba(66,165,245,0.12));
    border-color: rgba(255,255,255,0.10);
}

.announcement-modal-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.announcement-modal-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(15,23,42,0.82);
}

body.dark-mode .announcement-modal-content {
    color: rgba(229,231,235,0.9);
}

#announcementsModal {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2100;
}

.announcements-close-btn {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
}

.announcements-close-btn:hover {
    color: #1877f2;
}

body.dark-mode .announcements-close-btn:hover {
    color: #93c5fd;
}

.announcements-slider-nav {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.announcement-arrow {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(24,119,242,0.2);
    background: rgba(255,255,255,0.9);
    color: #0f172a;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.announcement-arrow:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
    transform: translateY(-1px);
}

body.dark-mode .announcement-arrow {
    background: rgba(34, 42, 56, 0.9);
    color: #e5e7eb;
    border-color: rgba(255,255,255,0.14);
}

body.dark-mode .announcement-arrow:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.show-announcements-btn {
    width: 100%;
    border: 1px dashed rgba(24,119,242,0.35);
    background: rgba(24,119,242,0.06);
    color: #0f172a;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.show-announcements-btn:hover {
    background: rgba(24,119,242,0.12);
    border-color: rgba(24,119,242,0.5);
    transform: translateY(-1px);
}

body.dark-mode .show-announcements-btn {
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    border-color: rgba(255,255,255,0.18);
}

body.dark-mode .show-announcements-btn:hover {
    background: rgba(24,119,242,0.15);
    border-color: #1877f2;
}

/* Mobilde showAnnouncementsWidget'ı gizle (widget gösterilecek) */
@media (max-width: 768px) {
    #showAnnouncementsWidget {
        display: none !important;
    }
}

.announcements-slider-track {
    display: flex;
    width: 100%;
    transition: transform 280ms ease;
    will-change: transform;
}

.announcement-slide {
    flex: 0 0 100%;
    padding: 0.9rem 0.9rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(24,119,242,0.10), rgba(66,165,245,0.06));
    border: 1px solid rgba(24,119,242,0.16);
}

body.dark-mode .announcement-slide {
    background: linear-gradient(135deg, rgba(24,119,242,0.18), rgba(66,165,245,0.10));
    border-color: rgba(255,255,255,0.10);
}

.announcement-slide-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode .announcement-slide-title {
    color: #e5e7eb;
}

.announcement-slide-content {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.78);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode .announcement-slide-content {
    color: rgba(229, 231, 235, 0.80);
}


/* Üst Header */
.top-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 1rem;
}

.logo {
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem; /* 1.75rem -> 1.5rem */
    font-weight: 700;
    color: #1877f2;
    letter-spacing: -0.5px;
    font-style: normal;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-header {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* Renk JavaScript'ten dinamik olarak atanacak */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem; /* 1.2rem -> 1rem */
    cursor: pointer;
    transition: transform 0.2s;
}

.user-avatar-header:hover {
    transform: scale(1.05);
}

/* Theme toggle artık dropdown-item içinde, özel stil gerekmiyor */

/* Hamburger Menu Button (Mobile Only) */
.hamburger-menu-btn {
    display: none; /* Desktop'ta gizli */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.dark-mode .hamburger-line {
    background-color: #e4e6eb;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hamburger Menu (Mobile Only) */
.hamburger-menu {
    display: none; /* Desktop'ta gizli */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* Ekranı tam kapla */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    max-height: 0;
    overflow-y: auto; /* İçerik taşarsa scroll */
    height: 100vh; /* Tam ekran yüksekliği */
}

body.dark-mode .hamburger-menu {
    background-color: #242526;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hamburger-menu.open {
    transform: translateY(0);
    max-height: 100vh; /* Tam ekran yüksekliği */
    height: 100vh; /* Tam ekran yüksekliği */
    padding-top: 60px; /* Header yüksekliği kadar padding */
}

.hamburger-menu-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.hamburger-menu-item {
    flex: 0 0 calc(33.333% - 0.334rem); /* Yan yana en fazla 3 öğe */
    min-width: calc(33.333% - 0.334rem);
    max-width: calc(33.333% - 0.334rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    background-color: #f0f2f5;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

body.dark-mode .hamburger-menu-item {
    background-color: #3a3b3c;
}

.hamburger-menu-item:hover {
    background-color: #e4e6eb;
    transform: translateY(-2px);
}

body.dark-mode .hamburger-menu-item:hover {
    background-color: #4e4f50;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}

.hamburger-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

body.dark-mode .hamburger-text {
    color: #e4e6eb;
}

/* Tüy Emojisi Toggle */
.feather-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    animation: featherFloat 2s ease-in-out infinite;
}

.feather-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.feather-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

@keyframes featherFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

body.dark-mode .feather-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Tıklanabilir Başlık */
.clickable-title {
    cursor: pointer;
    transition: color 0.2s;
}

.clickable-title:hover {
    color: #1877f2;
}

body.dark-mode .clickable-title:hover {
    color: #42a5f5;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    min-width: 180px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: #333;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item .theme-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

body.dark-mode .dropdown-item {
    color: #e4e6eb;
}

.dropdown-item:hover {
    background-color: #f0f2f5;
}

.dropdown-item span:first-child {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item .theme-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.25rem 0;
}

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

.theme-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: all 0.3s ease;
    display: block;
    flex-shrink: 0;
}

/* Theme toggle artık dropdown-item içinde */

/* Gece Modu */
body.dark-mode {
    background-color: #18191a;
    color: #e4e6eb;
}

body.dark-mode .top-header {
    background-color: #242526;
    border-bottom-color: #3a3b3c;
}

body.dark-mode .user-dropdown {
    background-color: #242526;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
}

body.dark-mode .dropdown-item {
    color: #e4e6eb;
}

body.dark-mode .dropdown-item:hover {
    background-color: #3a3b3c;
}

body.dark-mode .dropdown-divider {
    background-color: #3a3b3c;
}

body.dark-mode .sidebar {
    background-color: #242526;
    border-right-color: #3a3b3c;
}

body.dark-mode .nav-item {
    color: #e4e6eb;
}

body.dark-mode .nav-item:hover {
    background-color: #3a3b3c;
}

body.dark-mode .nav-item.active {
    background-color: #3a3b3c;
    color: #1877f2;
}

body.dark-mode .question-input-box,
body.dark-mode .feed-item,
body.dark-mode .widget-card {
    background-color: #242526;
    border-color: #3a3b3c;
}

body.dark-mode .question-input-box input {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .question-input-box input::placeholder {
    color: #b0b3b8;
}

body.dark-mode .modal-content {
    background-color: #242526;
    color: #e4e6eb;
}

body.dark-mode .modal-header {
    border-bottom-color: #3a3b3c;
}

body.dark-mode .modal-header h2 {
    color: #e4e6eb;
}

body.dark-mode .modal-close {
    color: #b0b3b8;
}

body.dark-mode .modal-close:hover {
    background-color: #3a3b3c;
}

body.dark-mode .form-group label {
    color: #e4e6eb;
}

body.dark-mode .form-group label {
    color: #e4e6eb;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background-color: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #1877f2;
    background-color: #4e4f50;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #b0b3b8;
}

body.dark-mode .photo-upload-btn {
    background-color: #3a3b3c;
    border-color: #4e4f50;
}

body.dark-mode .photo-upload-btn:hover {
    background-color: #4e4f50;
}

body.dark-mode .post-item,
body.dark-mode .question-item {
    background-color: #242526;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .filter-btn {
    background-color: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .filter-btn:hover {
    background-color: #4e4f50;
    border-color: #1877f2;
    color: #1877f2;
}

body.dark-mode .feed-header h2 {
    color: #e4e6eb;
}

body.dark-mode .widget {
    background-color: #242526;
    color: #e4e6eb;
}

body.dark-mode .widget h3 {
    color: #e4e6eb;
}

body.dark-mode .loading,
body.dark-mode .empty-state {
    background-color: #242526;
    color: #b0b3b8;
}

body.dark-mode .nav-section-title {
    color: #b0b3b8;
}

body.dark-mode .new-user-name {
    color: #e4e6eb;
}

body.dark-mode .question-input-wrapper input {
    background-color: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .question-input-wrapper input::placeholder {
    color: #b0b3b8;
}

body.dark-mode .question-input-wrapper input:focus {
    border-color: #1877f2;
}

body.dark-mode .question-title {
    color: #e4e6eb;
}

body.dark-mode .question-content {
    color: #b0b3b8;
}

body.dark-mode .question-author {
    color: #e4e6eb;
}

body.dark-mode .question-time {
    color: #b0b3b8;
}

body.dark-mode .hashtag {
    color: #1877f2;
}

body.dark-mode .action-btn {
    color: #b0b3b8;
}

body.dark-mode .action-btn:hover {
    background-color: #3a3b3c;
    color: #1877f2;
}

body.dark-mode .modal-footer {
    border-top-color: #3a3b3c;
}

body.dark-mode .btn-secondary {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .btn-secondary:hover {
    background-color: #4e4f50;
}

body.dark-mode .nav-divider {
    background-color: #3a3b3c;
}

body.dark-mode .category-circle {
    border-color: currentColor;
}

body.dark-mode .question-title-wrapper input {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .question-title-wrapper input:focus {
    background-color: #4e4f50;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.3);
}

body.dark-mode .question-title-wrapper input::placeholder {
    color: #b0b3b8;
}

body.dark-mode .question-title-wrapper {
    border-bottom-color: #3a3b3c;
}

body.dark-mode .photo-preview {
    border-color: #3a3b3c;
}

body.dark-mode .logo h1 {
    color: #1877f2;
}

/* Toast Notification */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: auto;
}

.toast-container.mobile {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
    gap: 0;
}

.toast {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlideIn 0.3s ease-out;
    min-width: 300px;
    max-width: 400px;
}

.toast.success {
    border-left: 4px solid #42b72a;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.info {
    border-left: 4px solid #1877f2;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #42b72a;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast.info .toast-icon {
    color: #1877f2;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background-color: #f0f2f5;
    color: #333;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

body.dark-mode .toast {
    background-color: #242526;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .toast-message {
    color: #e4e6eb;
}

body.dark-mode .toast-close {
    color: #b0b3b8;
}

body.dark-mode .toast-close:hover {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

/* Container */
.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

/* Sol Sidebar */
.sidebar {
    width: 240px;
    position: relative;
    height: fit-content;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    flex-shrink: 0;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.875rem; /* 0.95rem -> 0.875rem */
    font-weight: 500;
}

.nav-item:hover {
    background-color: #f0f2f5;
}

.category-item.hidden {
    display: none;
}

.show-more-categories {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.show-more-link {
    font-size: 0.75rem;
    color: #1877f2;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.show-more-link:hover {
    color: #166fe5;
    text-decoration: underline;
}

body.dark-mode .show-more-link {
    color: #1877f2;
}

body.dark-mode .show-more-link:hover {
    color: #166fe5;
}

.nav-item.active {
    background-color: #e7f3ff;
    color: #1877f2;
    font-weight: 600;
}

.nav-item .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.category-item {
    padding-left: 0.75rem;
}

.category-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.category-item span:last-child {
    flex: 1;
}

.nav-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 1.5rem 0;
}

/* Ana İçerik */
.main-content {
    flex: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Duyuru sistemi kaldırıldı */

/* Soru Yazma Kutusu */
.question-input-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.question-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.question-input-wrapper input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.question-input-wrapper input:focus {
    border-color: #1877f2;
}

.question-input-wrapper input::placeholder {
    color: #999;
}

/* Feed Header */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.feed-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background-color: #f0f2f5;
    border-color: #1877f2;
}

/* Yeni İçerik Banner */
.new-posts-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    animation: slideDown 0.3s ease-out, gradientShift 3s ease infinite;
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama vurgusunu kaldır */
    user-select: none; /* Metin seçimini engelle */
}

.new-posts-banner:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.new-posts-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none; /* Child elementler tıklamayı engellemesin */
}

.new-posts-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.new-posts-label {
    color: #fff;
}

.new-posts-count {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 2rem;
    text-align: center;
    color: #fff;
}

.new-posts-arrow {
    width: 20px;
    height: 20px;
    color: #fff;
    animation: bounceDown 1.5s ease-in-out infinite;
}

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

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Feed Altında Yeni İçerik Banner */
.new-posts-banner-bottom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    animation: slideUp 0.3s ease-out, gradientShift 3s ease infinite;
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama vurgusunu kaldır */
    user-select: none; /* Metin seçimini engelle */
}

.new-posts-banner-bottom:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    transform: translateY(2px);
}

.new-posts-content-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Child elementler tıklamayı engellemesin */
    gap: 0.5rem;
}

.new-posts-text-bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.new-posts-label-bottom {
    color: #fff;
}

.new-posts-count-bottom {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 2rem;
    text-align: center;
    color: #fff;
}

.new-posts-arrow-bottom {
    width: 20px;
    height: 20px;
    color: #fff;
    animation: bounceUp 1.5s ease-in-out infinite;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode */
body.dark-mode .new-posts-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    animation: slideDown 0.3s ease-out, gradientShift 3s ease infinite;
}

body.dark-mode .new-posts-banner-bottom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    animation: slideUp 0.3s ease-out, gradientShift 3s ease infinite;
}

body.dark-mode .new-posts-banner:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

body.dark-mode .new-posts-banner-bottom:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .new-posts-banner-bottom {
        padding: 0.625rem 0.875rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-size: 200% 200%;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
        animation: slideUp 0.3s ease-out, gradientShift 3s ease infinite;
        transition: all 0.3s ease;
    }
    
    .new-posts-banner-bottom:hover {
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
        background-size: 200% 200%;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
        transform: translateY(2px);
    }
    
    .new-posts-text-bottom {
        font-size: 0.8rem;
    }
    
    .new-posts-count-bottom {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .new-posts-arrow-bottom {
        width: 18px;
        height: 18px;
    }
}


/* Mobile */
@media (max-width: 768px) {
    .new-posts-banner {
        padding: 0.625rem 0.875rem;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-size: 200% 200%;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
        animation: slideDown 0.3s ease-out, gradientShift 3s ease infinite;
        transition: all 0.3s ease;
    }
    
    .new-posts-banner:hover {
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
        background-size: 200% 200%;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
        transform: translateY(-2px);
    }
    
    .new-posts-banner-bottom {
        padding: 0.625rem 0.875rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-size: 200% 200%;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
        animation: slideUp 0.3s ease-out, gradientShift 3s ease infinite;
        transition: all 0.3s ease;
    }
    
    .new-posts-banner-bottom:hover {
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
        background-size: 200% 200%;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
        transform: translateY(2px);
    }
    
    .new-posts-text {
        font-size: 0.8rem;
    }
    
    .new-posts-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .new-posts-arrow {
        width: 18px;
        height: 18px;
    }
}

/* Feed */
.feed {
    display: flex;
    flex-direction: column;
    gap: 0; /* margin-bottom kullanıyoruz, gap'e gerek yok */
    /* Layout shift önleme - içerik yüklenirken alan rezerve et */
    min-height: 400px;
}

/* Bildirimler Container (Dashboard içinde) */
.notifications-container-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 400px;
}

.notifications-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 300px);
    min-height: 400px;
    padding: 0.5rem 0;
    /* Scrollbar stilleri */
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.notifications-content::-webkit-scrollbar {
    width: 8px;
}

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

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

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

body.dark-mode .notifications-content {
    scrollbar-color: #4a4a4a #2a2a2a;
}

body.dark-mode .notifications-content::-webkit-scrollbar-track {
    background: #2a2a2a;
}

body.dark-mode .notifications-content::-webkit-scrollbar-thumb {
    background: #4a4a4a;
}

body.dark-mode .notifications-content::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

.notifications-loading {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

body.dark-mode .notifications-loading {
    color: #b0b3b8;
}

.notification-page-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}


.notification-page-item:hover {
    background-color: #f8f9fa;
}

.notification-page-item.unread {
    background-color: #e7f3ff;
}

body.dark-mode .notification-page-item {
    background-color: #242526;
    border-bottom-color: #3a3b3c;
}

body.dark-mode .notification-page-item:hover {
    background-color: #2a2b2c;
}

body.dark-mode .notification-page-item.unread {
    background-color: #1c2b3a;
}

.notification-page-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

body.dark-mode .notification-page-title {
    color: #e4e6eb;
}

.notification-page-message {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

body.dark-mode .notification-page-message {
    color: #b0b3b8;
}

.notification-page-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

body.dark-mode .notification-page-time {
    color: #8a8d91;
}

.back-to-feed-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    color: #666;
}

.back-to-feed-btn:hover {
    background-color: #f0f2f5;
}

body.dark-mode .back-to-feed-btn {
    color: #b0b3b8;
}

body.dark-mode .back-to-feed-btn:hover {
    background-color: #3a3b3c;
}

.mark-all-read-btn-header {
    font-size: 0.875rem;
    color: #1877f2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-weight: 500;
}

.mark-all-read-btn-header:hover {
    background-color: #f0f2f5;
}

body.dark-mode .mark-all-read-btn-header {
    color: #1877f2;
}

body.dark-mode .mark-all-read-btn-header:hover {
    background-color: #3a3b3c;
}

.notifications-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-top: 1rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #f0f2f5;
    border-color: #1877f2;
    color: #1877f2;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

body.dark-mode .pagination-btn {
    background-color: #242526;
    border-color: #3a3b3c;
    color: #b0b3b8;
}

body.dark-mode .pagination-btn:hover:not(:disabled) {
    background-color: #3a3b3c;
    border-color: #1877f2;
    color: #1877f2;
}

body.dark-mode .pagination-btn.active {
    background-color: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

/* Saat Bazlı Mesaj */
.time-based-message {
    margin-bottom: 1.5rem;
    position: relative;
}

.time-message-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: box-shadow 0.2s;
    position: relative;
}

.time-message-card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.time-message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.time-message-emoji {
    font-size: 2rem;
    line-height: 1;
}

.time-message-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.time-message-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Dark Mode */
body.dark-mode .time-message-card {
    background-color: #242526;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

body.dark-mode .time-message-card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

body.dark-mode .time-message-title {
    color: #e4e6eb;
}

body.dark-mode .time-message-text {
    color: #b0b3b8;
}

.time-message-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    padding: 0;
}

.time-message-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

.time-message-close.collapsed {
    animation: pulse 1.5s infinite;
}

.time-message-close.collapsed svg {
    transform: rotate(45deg);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.time-message-close svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

body.dark-mode .time-message-close {
    background-color: rgba(255, 255, 255, 0.1);
    color: #b0b3b8;
}

body.dark-mode .time-message-close:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e4e6eb;
}

/* Post/Question Item */
.post-item, .question-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: box-shadow 0.2s, opacity 0.3s ease-out, transform 0.3s ease-out;
    position: relative;
    border-left: 4px solid transparent;
    margin: 0 0 1rem 0; /* Kartlar arası boşluk */
    /* Layout shift önleme - minimum yükseklik rezerve et */
    min-height: 150px;
}

.question-item:last-child {
    margin-bottom: 0; /* Son kartta margin yok */
}

.question-item.gender-male {
    border-left-color: #1877f2;
}

.question-item.gender-female {
    border-left-color: #e91e63;
}

body.dark-mode .question-item.gender-male {
    border-left-color: #1877f2;
}

body.dark-mode .question-item.gender-female {
    border-left-color: #e91e63;
}

.post-item:hover, .question-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.post-header, .question-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.post-avatar, .question-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.post-info, .question-info {
    flex: 1;
}

.post-author, .question-author {
    font-weight: 600;
    font-size: 0.75rem; /* 0.8rem -> 0.75rem */
    color: #333;
}

.post-time, .question-time {
    color: #999;
    font-size: 0.65rem; /* 0.7rem -> 0.65rem */
    margin-left: 0.5rem;
}

.post-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e7f3ff;
    color: #1877f2;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.question-badge {
    background-color: #fff3cd;
    color: #856404;
}

.question-image {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    background-color: #f0f0f0;
    display: block;
    line-height: 0;
    /* Aspect ratio ile layout shift önleme */
    aspect-ratio: 16 / 9;
    max-height: 550px;
    min-height: 200px;
    /* Placeholder için yükseklik rezerve et */
    height: auto;
}

.question-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 0;
    /* Layout shift önleme */
    aspect-ratio: 16 / 9;
}

body.dark-mode .question-image {
    background-color: #2c2c2c;
}

.post-content, .question-content {
    margin: 1rem 0;
    font-size: 0.875rem; /* 0.95rem -> 0.875rem */
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Layout shift önleme - min-height rezerve et (2 satır için) */
    min-height: calc(0.875rem * 1.6 * 2);
}

/* Expanded durumunda tam içerik gösterilirken pre-wrap kullan */
.question-item.expanded .question-content {
    display: block;
    white-space: pre-wrap;
    -webkit-line-clamp: none;
    -webkit-box-orient: initial;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.question-title {
    font-weight: 600;
    font-size: 0.95rem; /* 1.1rem -> 0.95rem */
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.question-title.clickable-title {
    display: inline;
    cursor: pointer;
    flex: 0 0 auto;
    transition: color 0.2s;
    word-wrap: break-word;
}

.question-title.clickable-title:hover {
    color: #1877f2;
}

body.dark-mode .question-title.clickable-title:hover {
    color: #42a5f5;
}

.post-owner-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.question-item:hover .post-owner-actions {
    opacity: 1;
}

/* Eski edit/delete buton stilleri kaldırıldı - artık .post-menu-item stilini kullanıyorlar */

.delete-modal {
    max-width: 400px;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

.btn-danger:active {
    transform: translateY(0);
}

body.dark-mode .btn-danger {
    background: #f44336;
}

body.dark-mode .btn-danger:hover {
    background: #d32f2f;
}

.hashtag {
    display: inline-block;
    color: #1877f2;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* İçerikteki hashtag'ler için gradyan mor stil */
.content-hashtag {
    display: inline;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #667eea; /* Fallback renk - gradyan desteklenmiyorsa */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.content-hashtag:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #764ba2; /* Fallback renk - gradyan desteklenmiyorsa */
    text-decoration: underline;
}

.post-actions, .question-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f2f5;
}

.post-footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.action-btn:hover:not(:disabled) {
    background-color: #f0f2f5;
    color: #1877f2;
}

.action-btn.disabled,
.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.action-btn.liked {
    color: #1877f2;
}

.action-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.favorite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn.active {
    color: #1877f2;
}

.favorite-btn.active:hover {
    color: #1877f2;
}

body.dark-mode .favorite-btn.active {
    color: #1877f2;
}

body.dark-mode .favorite-btn.active:hover {
    color: #1877f2;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.like-btn.active {
    color: #42b72a;
    background-color: #e8f5e9;
}

.like-btn.active .like-icon {
    transform: scale(1.1);
}

.dislike-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dislike-btn.active {
    color: #f44336;
    background-color: #ffebee;
}

.dislike-btn.active .dislike-icon {
    transform: scale(1.1);
}

.heart-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.heart-btn.active {
    color: #e91e63;
    background-color: rgba(233, 30, 99, 0.1);
}

.heart-btn.active .heart-icon {
    transform: scale(1.1);
}

.like-icon,
.dislike-icon,
.heart-icon {
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.like-count,
.dislike-count,
.heart-count {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
    font-size: 0.75rem;
}

body.dark-mode .like-btn.active {
    background-color: rgba(66, 183, 42, 0.2);
}

body.dark-mode .dislike-btn.active {
    background-color: rgba(244, 67, 54, 0.2);
}

body.dark-mode .heart-btn.active {
    background-color: rgba(233, 30, 99, 0.2);
}

/* Yorum Butonu */
.comment-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.comment-btn:hover {
    color: #1d9bf0 !important;
    background-color: rgba(29, 155, 240, 0.1) !important;
}

.comment-icon {
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.comment-btn:hover .comment-icon {
    transform: scale(1.15);
}

.comment-count {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
    font-size: 0.75rem;
    transition: transform 0.2s ease, color 0.3s ease;
    display: inline-block;
}

body.dark-mode .comment-btn:hover {
    background-color: rgba(29, 155, 240, 0.2) !important;
    color: #1d9bf0 !important;
}

/* ========================================== */
/* TWITTER TARZI INLINE YORUM STİLLERİ */
/* ========================================== */

.inline-comments-section {
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    padding: 0;
    margin-top: 0.5rem;
}

body.dark-mode .inline-comments-section {
    background: #242526;
    border-color: #2f3336;
}

.inline-comments-list {
    max-height: 300px;
    overflow-y: auto;
}

.inline-comment-item {
    display: flex;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
}

body.dark-mode .inline-comment-item {
    border-color: #2f3336;
}

.inline-comment-item:last-child {
    border-bottom: none;
}

.inline-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.inline-comment-content {
    flex: 1;
    min-width: 0;
}

.inline-comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
}

.inline-comment-author {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #333;
}

body.dark-mode .inline-comment-author {
    color: #e4e6eb;
}

.inline-comment-time {
    font-size: 0.75rem;
    color: #71767b;
}

.inline-comment-text {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #333;
    word-wrap: break-word;
}

body.dark-mode .inline-comment-text {
    color: #e4e6eb;
}

.inline-comment-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.375rem;
    align-items: center;
}

.inline-like-count {
    font-size: 0.75rem;
    color: #71767b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.inline-like-btn,
.inline-delete-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    color: #71767b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.15s;
}

.inline-like-btn:hover {
    background: rgba(249, 24, 128, 0.1);
    color: #f91880;
}

.inline-like-btn.active {
    color: #f91880;
}

.inline-delete-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.inline-edit-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    color: #71767b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.inline-edit-btn:hover {
    background: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
}

.inline-edit-textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #38444d;
    border-radius: 8px;
    background: #15202b;
    color: #e7e9ea;
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

.inline-edit-textarea:focus {
    outline: none;
    border-color: #1d9bf0;
}

.inline-edit-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: flex-end;
}

.inline-edit-save,
.inline-edit-cancel {
    padding: 0.375rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inline-edit-save {
    background: #1d9bf0;
    color: white;
    border: none;
}

.inline-edit-save:hover {
    background: #1a8cd8;
}

.inline-edit-cancel {
    background: transparent;
    color: #71767b;
    border: 1px solid #38444d;
}

.inline-edit-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e7e9ea;
}

/* Light mode için düzenleme stilleri */
body:not(.dark-mode) .inline-edit-textarea {
    background: #f7f9fa;
    border-color: #cfd9de;
    color: #0f1419;
}

body:not(.dark-mode) .inline-edit-cancel {
    border-color: #cfd9de;
}

.inline-no-comments {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #71767b;
}

/* Inline yorum formu */
.inline-comment-form {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

body.dark-mode .inline-comment-form {
    background: #1a1a1a;
    border-color: #2f3336;
}

.inline-comment-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.inline-comment-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #f0f2f5;
    color: #333;
    transition: all 0.15s;
}

body.dark-mode .inline-comment-input {
    background: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

.inline-comment-input:focus {
    outline: none;
    border-color: #1d9bf0;
    background: #fff;
}

body.dark-mode .inline-comment-input:focus {
    background: #242526;
}

.inline-comment-input::placeholder {
    color: #71767b;
}

.inline-comment-submit {
    padding: 0.5rem 1rem;
    background: #1d9bf0;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.inline-comment-submit:hover:not(:disabled) {
    background: #1a8cd8;
}

.inline-comment-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .inline-comment-input-wrapper {
        flex-direction: column;
    }
    
    .inline-comment-input {
        width: 100%;
    }
    
    .inline-comment-submit {
        width: 100%;
    }
}


/* Sağ Sidebar */
.right-sidebar {
    width: 280px;
    position: relative;
    height: fit-content;
    flex-shrink: 0;
}

.widget {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.widget h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.refresh-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
}

.refresh-btn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
    transform: rotate(180deg);
}

.refresh-btn:active {
    transform: rotate(360deg);
}

body.dark-mode .widget h3 {
    color: #e4e6eb;
}

body.dark-mode .refresh-btn {
    color: #8a8d91;
}

body.dark-mode .refresh-btn:hover {
    background-color: #3a3b3c;
    color: #1877f2;
}

.star-icon {
    font-size: 0.9rem;
}

.hashtags-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: none;
}

.hashtag-item {
    display: block;
    padding: 0.375rem 0.75rem;
    background-color: transparent;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.hashtag-item:hover {
    background-color: #f0f2f5;
    text-decoration: none;
}

body.dark-mode .hashtag-item {
    background-color: transparent;
    color: #8b9aff;
    border: none;
}

body.dark-mode .hashtag-item:hover {
    background-color: #3a3b3c;
    text-decoration: none;
}

.popular-categories {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.popular-categories .category-item {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.popular-categories .category-item:hover {
    background-color: #f0f2f5;
}

body.dark-mode .popular-categories .category-item:hover {
    background-color: #3a3b3c;
}

.new-users {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.new-user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.new-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.new-user-avatar.red {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
}

.new-user-avatar.green {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.new-user-avatar.blue {
    background: linear-gradient(135deg, #2196f3 0%, #03a9f4 100%);
}

.new-user-avatar.purple {
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
}

.new-user-avatar.orange {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
}

.new-user-avatar.cyan {
    background: linear-gradient(135deg, #00bcd4 0%, #03a9f4 100%);
}

.new-user-avatar.pink {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
}

.new-user-avatar.yellow {
    background: linear-gradient(135deg, #ffeb3b 0%, #ffc107 100%);
}

.new-user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Feed içindeki yeni kullanıcılar widget'ı (Instagram tarzı) */
.feed-new-users-widget {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

body.dark-mode .feed-new-users-widget {
    background-color: #242526;
    border-color: #3a3b3c;
}

.feed-new-users-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

body.dark-mode .feed-new-users-header {
    border-bottom-color: #3a3b3c;
}

.feed-new-users-header h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

body.dark-mode .feed-new-users-header h4 {
    color: #e4e6eb;
}

.feed-new-users-slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.feed-new-users-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    cursor: grab;
    flex: 1;
    width: 100%;
}

.feed-new-users-list:active {
    cursor: grabbing;
}

.feed-new-users-list::-webkit-scrollbar {
    display: none;
}

.feed-users-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: all 0.2s;
    color: #333;
}

.feed-users-slider-btn:hover {
    background-color: #f0f2f5;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.feed-users-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

body.dark-mode .feed-users-slider-btn {
    background-color: #242526;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .feed-users-slider-btn:hover {
    background-color: #3a3b3c;
}

.feed-users-slider-prev {
    left: -16px;
}

.feed-users-slider-next {
    right: -16px;
}

.feed-new-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    max-width: 70px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
    flex-grow: 0;
}

.feed-new-user-item:hover {
    transform: scale(1.05);
}

.feed-new-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

body.dark-mode .feed-new-user-avatar {
    border-color: #3a3b3c;
}

.feed-new-user-avatar.red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.feed-new-user-avatar.green {
    background: linear-gradient(135deg, #51cf66, #40c057);
}

.feed-new-user-avatar.blue {
    background: linear-gradient(135deg, #4dabf7, #339af0);
}

.feed-new-user-avatar.purple {
    background: linear-gradient(135deg, #9775fa, #845ef7);
}

.feed-new-user-avatar.orange {
    background: linear-gradient(135deg, #ff922b, #fd7e14);
}

.feed-new-user-avatar.cyan {
    background: linear-gradient(135deg, #3bc9db, #22b8cf);
}

.feed-new-user-avatar.pink {
    background: linear-gradient(135deg, #f06595, #e64980);
}

.feed-new-user-avatar.yellow {
    background: linear-gradient(135deg, #ffd43b, #fcc419);
}

.feed-new-user-name {
    font-size: 0.75rem;
    color: #333;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

body.dark-mode .feed-new-user-name {
    color: #e4e6eb;
}

.feed-new-users-loading,
.feed-new-users-empty {
    text-align: center;
    color: #999;
    padding: 1rem;
    font-size: 0.875rem;
}

body.dark-mode .feed-new-users-loading,
body.dark-mode .feed-new-users-empty {
    color: #8a8d91;
}

@media (max-width: 768px) {
    .feed-new-users-widget {
        padding: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .feed-new-users-header h4 {
        font-size: 0.875rem;
    }
    
    .feed-new-user-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }
    
    .feed-new-user-name {
        font-size: 0.6875rem;
        max-width: 60px;
    }
    
    .feed-new-users-list {
        gap: 0.625rem;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    
    .feed-new-user-item {
        min-width: 60px !important;
        max-width: 60px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .feed-users-slider-btn {
        width: 28px;
        height: 28px;
    }
    
    .feed-users-slider-prev {
        left: -12px;
    }
    
    .feed-users-slider-next {
        right: -12px;
    }
    
    .feed-users-slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Mobilde butonları her zaman göster */
    .feed-users-slider-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .feed-new-users-slider-container:hover .feed-users-slider-btn {
        opacity: 1 !important;
    }
}

/* Footer Links Widget */
.footer-links-widget {
    padding: 1rem 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.footer-links .footer-link {
    color: #000;
    font-size: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.footer-links .footer-link:hover {
    color: #1877f2;
    text-decoration: none;
}

.footer-links .hidden-link {
    display: none;
}

.footer-links.expanded .hidden-link {
    display: inline;
}

.footer-more-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 10px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: color 0.2s ease;
    font-family: inherit;
}

.footer-more-btn:hover {
    color: #1877f2;
}

.footer-links.expanded .footer-more-btn {
    display: none;
}

.footer-links-widget .footer-copyright {
    color: #8a8d91;
    font-size: 10px;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode .footer-links .footer-link {
    color: #fff;
}

body.dark-mode .footer-links .footer-link:hover {
    color: #42a5f5;
    text-decoration: none;
}

body.dark-mode .footer-more-btn {
    color: #fff;
}

body.dark-mode .footer-more-btn:hover {
    color: #42a5f5;
}

body.dark-mode .footer-links-widget .footer-copyright {
    color: #8a8d91;
    border-top-color: #3a3b3c;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #999;
    background-color: #fff;
    border-radius: 12px;
    /* Layout shift önleme - min-height rezerve et */
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
    background-color: #fff;
    border-radius: 12px;
    /* Layout shift önleme - min-height rezerve et */
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal/Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-overlay.closing {
    opacity: 0;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-overlay.closing .modal-content {
    transform: scale(0.95);
    opacity: 0;
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f0f2f5;
}

.modal-body {
    padding: 1.5rem;
}

.question-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.question-title-wrapper > div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.question-title-wrapper .user-avatar-small {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.question-title-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    background-color: #f0f2f5;
    color: #333;
    transition: all 0.2s;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
}

.question-title-wrapper input:focus {
    background-color: #e4e6eb;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.question-title-wrapper input::placeholder {
    color: #8a8d91;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1877f2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Fotoğraf Yükleme */
.photo-category-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.photo-upload-container {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    z-index: 1;
    overflow: visible;
}

.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f2f5;
    border: 2px dashed #c4c4c4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-category-wrapper select {
    width: auto !important;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 10;
}

.photo-upload-btn:hover {
    background-color: #e4e6eb;
    border-color: #1877f2;
}

.photo-icon {
    font-size: 1.5rem;
}

.photo-text {
    display: none;
}

.photo-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    border: 2px solid #c4c4c4;
    z-index: 2;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-photo-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f44336;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    z-index: 20;
    transition: all 0.2s;
    padding: 0;
    margin: 0;
}

.remove-photo-btn:hover {
    background-color: #d32f2f;
    transform: scale(1.1);
}

body.dark-mode .photo-preview {
    background-color: #3a3b3c;
    border-color: #4e4f50;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.btn-primary {
    padding: 0.625rem 1.5rem;
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: all 0.2s;
    box-shadow: none;
    min-width: 100px;
}

.btn-primary:hover {
    background-color: #166fe5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    background-color: #1565d1;
    transform: scale(0.98);
}

.btn-primary:disabled {
    background-color: #e4e6eb;
    color: #bcc0c4;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    padding: 0.625rem 1.5rem;
    background-color: #f0f2f5;
    color: #333;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #e4e6eb;
}

.btn-anonymous {
    padding: 0.625rem 1.25rem;
    background-color: #f0f2f5;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-anonymous:hover {
    background-color: #e4e6eb;
    border-color: #1877f2;
}

.btn-anonymous.active {
    background-color: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.btn-anonymous.active:hover {
    background-color: #166fe5;
}

.anonymous-icon {
    font-size: 1rem;
}

.question-avatar.anonymous,
.question-author.anonymous {
    pointer-events: none;
    cursor: default;
    user-select: none;
}

body.dark-mode .btn-anonymous {
    background-color: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .btn-anonymous:hover {
    background-color: #4e4f50;
    border-color: #1877f2;
}

body.dark-mode .btn-anonymous.active {
    background-color: #1877f2;
    color: #fff;
}

/* Soru Sor Modalı Butonları - Küçültülmüş */
#questionModal .modal-footer .btn-primary,
#questionModal .modal-footer .btn-secondary,
#questionModal .modal-footer .btn-anonymous {
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
    min-width: auto;
}

#questionModal .modal-footer .btn-anonymous {
    padding: 0.4375rem 0.75rem;
    gap: 0.3125rem;
}

#questionModal .modal-footer .anonymous-icon {
    font-size: 0.8125rem;
}

#questionModal .modal-footer {
    padding: 0.875rem 1.25rem;
    gap: 0.625rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        width: 100%;
    }
    
    .toast-container.mobile {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }
    
    .toast-icon {
        font-size: 1.25rem;
    }
    
    .toast-message {
        font-size: 0.875rem;
    }
    
    .toast-close {
        font-size: 1.1rem;
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlarda Header Daha da Küçültülmüş */
    .top-header {
        padding: 0.625rem 0;
    }
    
    .header-content {
        padding: 0 0.75rem;
        position: relative;
        justify-content: space-between; /* Logo sol, ikonlar+hamburger sağ */
        align-items: center;
    }
    
    .logo {
        flex: 0 0 auto; /* Logo sabit genişlikte */
        order: 1; /* En solda */
        margin-right: auto; /* Logo'yu sola it */
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .header-right {
        gap: 0.5rem;
        flex: 0 0 auto; /* header-right sabit genişlikte */
        order: 2; /* Logo'dan sonra, hamburger'den önce */
        margin-right: 0.25rem; /* Hamburger ile arasında çok az boşluk */
    }
    
    /* Hamburger Menu - Mobile Only */
    .hamburger-menu-btn {
        display: flex;
        flex: 0 0 auto; /* Hamburger sabit genişlikte */
        order: 3; /* En sağda, ikonların hemen yanında */
        margin-left: 0; /* İkonlara yakın */
    }
    
    .hamburger-menu {
        display: block;
    }
    
    /* Hamburger menü açıkken header'a padding ekle */
    .top-header:has(.hamburger-menu.open) {
        padding-bottom: 0;
    }
    
    /* Hamburger menü açıkken header-right'ı gizle (opsiyonel) */
    .top-header:has(.hamburger-menu.open) .header-right {
        display: none;
    }
    
    .user-menu-wrapper {
        gap: 0.25rem;
    }
    
    .user-avatar-header {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .theme-toggle-header {
        width: 24px;
        height: 24px;
    }
    
    .theme-icon {
        width: 14px;
        height: 14px;
    }
    
    .notification-btn {
        width: 24px;
        height: 24px;
    }
    
    .notification-icon {
        width: 14px;
        height: 14px;
    }
    
    .notification-badge {
        font-size: 0.5rem;
        min-width: 12px;
        height: 12px;
        border-radius: 6px;
        padding: 0 2px;
        border-width: 1px;
    }
    
    /* Çok küçük ekranlarda beğen butonlarını daha da küçült */
    .post-footer-right {
        gap: 0.25rem;
    }
    
    .action-btn {
        gap: 0.15rem;
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .action-btn svg {
        width: 11px;
        height: 11px;
    }
    
    .like-icon,
    .dislike-icon {
        font-size: 0.7rem;
    }
    
    .like-count,
    .dislike-count {
        min-width: 12px;
        font-size: 0.65rem;
    }
    
    .feather-toggle {
        width: 24px;
        height: 24px;
    }
    
    .feather-icon {
        font-size: 0.875rem;
    }
    
    /* Çok küçük ekranlarda feed ve question-item stilleri */
    .feed {
        gap: 0 !important;
    }
    
    .question-item {
        padding: 0.875rem !important;
        margin: 0 0 0.875rem 0 !important; /* Kartlar arası boşluk artırıldı */
    }
    
    .question-item:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Çok küçük ekranlarda expanded state için de margin ekle */
    .question-item.expanded {
        margin: 0 0 0.875rem 0 !important;
    }
    
    /* Çok küçük ekranlarda Bildirim Dropdown Daha da Küçültülmüş */
    .notification-dropdown {
        min-width: 220px;
        max-width: 260px;
        max-height: 300px;
        right: -0.75rem;
    }
    
    .notification-header {
        padding: 0.5rem;
    }
    
    .notification-header h3 {
        font-size: 0.75rem;
    }
    
    .mark-all-read-btn {
        font-size: 0.625rem;
        padding: 0.125rem 0.25rem;
    }
    
    .notification-list {
        max-height: 200px;
    }
    
    .notification-item {
        padding: 0.4375rem 0.5rem;
    }
    
    .notification-title {
        font-size: 0.6875rem;
    }
    
    .notification-message {
        font-size: 0.625rem;
    }
    
    .notification-time {
        font-size: 0.5625rem;
    }
    
    .notification-empty {
        padding: 1rem;
        font-size: 0.6875rem;
    }
    
    .notification-footer {
        padding: 0.4375rem 0.5rem;
    }
    
    .view-all-notifications-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.625rem;
    }
    
    .toast-container.mobile {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
    }
    
    .toast {
        padding: 0.75rem 0.875rem;
        border-radius: 10px;
    }
    
    .toast-icon {
        font-size: 1.1rem;
    }
    
    .toast-message {
        font-size: 0.8rem;
    }
    
    /* Çok küçük ekranlarda Soru Sor Modal Daha da Küçültülmüş */
    .modal-overlay {
        padding: 0.25rem;
    }
    
    .modal-content {
        max-height: 98vh;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 0.875rem;
    }
    
    .modal-header h2 {
        font-size: 1.125rem;
    }
    
    .modal-close {
        width: 24px;
        height: 24px;
        font-size: 1.125rem;
    }
    
    .modal-body {
        padding: 0.875rem;
    }
    
    .question-title-wrapper {
        gap: 0.5rem;
        margin-bottom: 0.875rem;
        padding-bottom: 0.875rem;
    }
    
    .question-title-wrapper .user-avatar-small {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 0.75rem;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1;
    }
    
    .question-title-wrapper input {
        padding: 0.5rem 0.625rem;
        font-size: 0.9375rem;
    }
    
    .form-group {
        margin-bottom: 0.875rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .photo-upload-container,
    .photo-upload-btn {
        width: 32px;
        height: 32px;
    }
    
    .modal-footer {
        padding: 0.75rem 0.875rem;
        gap: 0.375rem;
    }
    
    #questionModal .modal-footer .btn-primary,
    #questionModal .modal-footer .btn-secondary,
    #questionModal .modal-footer .btn-anonymous {
        padding: 0.4375rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    /* Mobilde Genel Font Boyutları Küçültülmüş */
    body {
        font-size: 0.8125rem;
    }
    
    /* Mobilde Header Küçültülmüş */
    .top-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        padding: 0 1rem;
        position: relative;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 0 0 auto;
        order: 1;
        margin-right: auto;
    }
    
    .logo h1 {
        font-size: 1.125rem;
    }
    
    .header-right {
        gap: 0.5rem;
        flex: 0 0 auto;
        order: 2;
        margin-right: 0.5rem;
    }
    
    /* Hamburger Menu - Tablet ve Mobile */
    .hamburger-menu-btn {
        display: flex;
        flex: 0 0 auto;
        order: 3;
        margin-left: 0;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    /* Hamburger menü açıkken header-right'ı gizle */
    .top-header:has(.hamburger-menu.open) .header-right {
        display: none;
    }
    
    /* Mobilde Post/Question İçerikleri Küçültülmüş */
    .question-title {
        font-size: 0.95rem;
    }
    
    .post-content, .question-content {
        font-size: 0.8125rem;
    }
    
    .post-author, .question-author {
        font-size: 0.75rem;
    }
    
    .post-time, .question-time {
        font-size: 0.625rem; /* 0.6875rem -> 0.625rem */
    }
    
    .hashtag {
        font-size: 0.65rem;
    }
    
    /* Mobilde hashtag renkleri için fallback - gradyan desteklenmiyorsa düz renk kullan */
    .content-hashtag {
        color: #667eea !important;
        -webkit-text-fill-color: #667eea !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
    
    .content-hashtag:hover {
        color: #764ba2 !important;
        -webkit-text-fill-color: #764ba2 !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
    
    /* Mobilde beğen butonlarını küçült - Tüm selector'lar için */
    .post-footer-right {
        gap: 0.375rem !important;
    }
    
    .post-actions .post-footer-right,
    .question-actions .post-footer-right {
        gap: 0.375rem !important;
    }
    
    .action-btn {
        gap: 0.2rem !important;
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .post-actions .action-btn,
    .question-actions .action-btn {
        gap: 0.2rem !important;
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .action-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .post-actions .action-btn svg,
    .question-actions .action-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .like-icon,
    .dislike-icon {
        font-size: 0.75rem !important;
    }
    
    .post-actions .like-icon,
    .post-actions .dislike-icon,
    .question-actions .like-icon,
    .question-actions .dislike-icon {
        font-size: 0.75rem !important;
    }
    
    /* Mobilde feed gap'i kaldır (margin-bottom kullanıyoruz) */
    .feed {
        gap: 0 !important;
    }
    
    /* Mobilde question-item padding'i küçült ve margin-bottom ekle */
    .question-item {
        padding: 1rem !important;
        margin: 0 0 1rem 0 !important; /* Kartlar arası boşluk artırıldı */
    }
    
    .question-item:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Mobilde expanded state için de margin ekle */
    .question-item.expanded {
        margin: 0 0 1rem 0 !important;
    }
    
    .like-count,
    .dislike-count {
        min-width: 14px !important;
        font-size: 0.7rem !important;
    }
    
    .post-actions .like-count,
    .post-actions .dislike-count,
    .question-actions .like-count,
    .question-actions .dislike-count {
        min-width: 14px !important;
        font-size: 0.7rem !important;
    }
    
    .like-btn,
    .dislike-btn,
    .heart-btn {
        gap: 0.2rem !important;
    }
    
    .post-actions .like-btn,
    .post-actions .dislike-btn,
    .post-actions .heart-btn,
    .question-actions .like-btn,
    .question-actions .dislike-btn,
    .question-actions .heart-btn {
        gap: 0.2rem !important;
    }
    
    .header-right {
        gap: 0.375rem;
    }
    
    .user-menu-wrapper {
        gap: 0.375rem;
    }
    
    .user-avatar-header {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .theme-toggle-header {
        width: 28px;
        height: 28px;
    }
    
    .theme-icon {
        width: 16px;
        height: 16px;
    }
    
    .notification-btn {
        width: 28px;
        height: 28px;
    }
    
    .notification-icon {
        width: 16px;
        height: 16px;
    }
    
    .notification-badge {
        font-size: 0.5625rem;
        min-width: 14px;
        height: 14px;
        border-radius: 7px;
        padding: 0 2px;
        border-width: 1.5px;
    }
    
    .feather-toggle {
        width: 28px;
        height: 28px;
    }
    
    .feather-icon {
        font-size: 1rem;
    }
    
    /* Mobilde Bildirim Dropdown Küçültülmüş */
    .notification-dropdown {
        min-width: 240px;
        max-width: 280px;
        max-height: 350px;
        right: -0.5rem;
    }
    
    .notification-header {
        padding: 0.625rem;
    }
    
    .notification-header h3 {
        font-size: 0.8125rem;
    }
    
    .mark-all-read-btn {
        font-size: 0.6875rem;
        padding: 0.15rem 0.3rem;
    }
    
    .notification-list {
        max-height: 250px;
    }
    
    .notification-item {
        padding: 0.5rem 0.625rem;
    }
    
    .notification-title {
        font-size: 0.75rem;
    }
    
    .notification-message {
        font-size: 0.6875rem;
    }
    
    .notification-time {
        font-size: 0.625rem;
    }
    
    .notification-empty {
        padding: 1.25rem;
        font-size: 0.75rem;
    }
    
    .notification-footer {
        padding: 0.5rem 0.625rem;
    }
    
    .view-all-notifications-btn {
        padding: 0.4375rem 0.625rem;
        font-size: 0.6875rem;
    }
    
    /* Mobilde sidebar'ları ve container'ı düzenle */
    .sidebar {
        display: none !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .right-sidebar {
        display: none !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .main-content {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    .container {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-item span,
    .nav-section-title {
        display: none;
    }
    
    .nav-item {
        justify-content: center;
        padding: 0.75rem;
    }
    
    .category-item {
        padding-left: 0.75rem;
    }
    
    .container {
        padding: 1rem;
        gap: 1rem;
    }
    
    /* Mobilde Soru Sor Modal Küçültülmüş */
    .modal-overlay {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .question-title-wrapper {
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .question-title-wrapper .user-avatar-small {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 0.875rem;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1;
    }
    
    .question-title-wrapper input {
        padding: 0.625rem 0.75rem;
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.875rem;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .photo-upload-container,
    .photo-upload-btn {
        width: 36px;
        height: 36px;
    }
    
    .modal-footer {
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }
    
    #questionModal .modal-footer .btn-primary,
    #questionModal .modal-footer .btn-secondary,
    #questionModal .modal-footer .btn-anonymous {
        padding: 0.4375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    #questionModal .modal-footer .btn-anonymous {
        padding: 0.4375rem 0.625rem;
        gap: 0.25rem;
    }
    
    #questionModal .modal-footer .anonymous-icon {
        font-size: 0.75rem;
    }
}

/* Hava Durumu Widget */
.weather-widget {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-loading {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.weather-error {
    text-align: center;
    color: #f44336;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.weather-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-location {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-location svg {
    width: 14px;
    height: 14px;
}

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

.weather-temp {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.weather-icon {
    font-size: 3rem;
    line-height: 1;
}

.weather-description {
    font-size: 0.9rem;
    color: #666;
    text-transform: capitalize;
}

.weather-details {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #666;
}

.weather-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.weather-detail-label {
    font-size: 0.75rem;
    color: #999;
}

.weather-detail-value {
    font-weight: 600;
    color: #333;
}

body.dark-mode .weather-loading,
body.dark-mode .weather-error {
    color: #b0b3b8;
}

body.dark-mode .weather-location {
    color: #b0b3b8;
}

body.dark-mode .weather-temp {
    color: #e4e6eb;
}

body.dark-mode .weather-description {
    color: #b0b3b8;
}

body.dark-mode .weather-details {
    border-top-color: #3a3b3c;
}

body.dark-mode .weather-detail-label {
    color: #8a8d91;
}

body.dark-mode .weather-detail-value {
    color: #e4e6eb;
}

/* Post Kart Genişletme/Daraltma */
.question-item.expanded {
    padding: 2rem;
}

.show-more-btn,
.collapse-post-btn {
    background: none;
    border: none;
    color: #1877f2;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
    display: inline-block;
    width: auto;
    text-align: left;
}

.show-more-btn:hover,
.collapse-post-btn:hover {
    color: #1565c0;
    text-decoration: underline;
}

body.dark-mode .show-more-btn,
body.dark-mode .collapse-post-btn {
    color: #42a5f5;
}

body.dark-mode .show-more-btn:hover,
body.dark-mode .collapse-post-btn:hover {
    color: #64b5f6;
}

/* Post Yorumlar Bölümü - Modern UX Tasarım */
.post-comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode .post-comments-section {
    border-top-color: #3a3b3c;
}

.post-comments-section .comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-comments-section .comments-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    border-radius: 2px;
}

body.dark-mode .post-comments-section .comments-title {
    color: #e4e6eb;
}

.post-comments-section .comment-form {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.post-comments-section .comment-form:focus-within {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
    background: #fff;
}

body.dark-mode .post-comments-section .comment-form {
    background: #242526;
    border-color: #3a3b3c;
}

body.dark-mode .post-comments-section .comment-form:focus-within {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
    background: #2d2f31;
}

.post-comments-section .comment-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.post-comments-section .comment-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 90px;
    max-height: 200px;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
    line-height: 1.5;
}

body.dark-mode .post-comments-section .comment-input {
    background-color: #18191a;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

.post-comments-section .comment-input:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

.post-comments-section .submit-comment-btn {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
    align-self: flex-end;
    white-space: nowrap;
}

.post-comments-section .submit-comment-btn:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    transform: translateY(-1px);
}

.post-comments-section .submit-comment-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.post-comments-section .comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-comments-section .comment-item {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    animation: commentSlideIn 0.3s ease;
}

@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-comments-section .comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

body.dark-mode .post-comments-section .comment-item {
    background: #242526;
    border-color: #3a3b3c;
}

body.dark-mode .post-comments-section .comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-color: #4e4f50;
}

.post-comments-section .comment-avatar,
.post-comments-section .comment-avatar-input {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* Renk JavaScript'ten dinamik olarak atanacak */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .post-comments-section .comment-avatar,
body.dark-mode .post-comments-section .comment-avatar-input {
    border-color: rgba(255, 255, 255, 0.1);
}

.post-comments-section .comment-content {
    flex: 1;
    min-width: 0;
}

.post-comments-section .comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.post-comments-section .comment-author {
    font-weight: 600;
    color: #333;
    font-size: 0.9375rem;
}

body.dark-mode .post-comments-section .comment-author {
    color: #e4e6eb;
}

.post-comments-section .comment-time {
    font-size: 0.8125rem;
    color: #8a8d91;
    font-weight: 400;
}

.post-comments-section .comment-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}

body.dark-mode .post-comments-section .comment-text {
    color: #e4e6eb;
}

.post-comments-section .comment-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.post-comments-section .comment-like-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: none;
    color: #65676b;
    cursor: pointer;
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.post-comments-section .comment-like-btn span:first-child {
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.post-comments-section .comment-like-btn:hover span:first-child {
    transform: scale(1.1);
}

.post-comments-section .comment-like-btn.active {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.post-comments-section .comment-like-btn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
}

.post-comments-section .comment-like-btn.active:hover {
    background-color: rgba(24, 119, 242, 0.15);
    transform: translateY(-1px);
}

.post-comments-section .comment-like-btn.disabled,
.post-comments-section .comment-like-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

body.dark-mode .post-comments-section .comment-like-btn {
    color: #b0b3b8;
}

body.dark-mode .post-comments-section .comment-like-btn:hover {
    background-color: #3a3b3c;
    color: #1877f2;
}

body.dark-mode .post-comments-section .comment-like-btn.active {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.15);
}

body.dark-mode .post-comments-section .comment-like-btn.active:hover {
    background-color: rgba(24, 119, 242, 0.2);
}

body.dark-mode .post-comments-section .comment-like-btn.disabled,
body.dark-mode .post-comments-section .comment-like-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.post-comments-section .comment-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.post-comments-section .comment-edit-btn,
.post-comments-section .comment-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #65676b;
    opacity: 0;
    transform: scale(0.9);
}

.post-comments-section .comment-item:hover .comment-edit-btn,
.post-comments-section .comment-item:hover .comment-delete-btn {
    opacity: 1;
    transform: scale(1);
}

.post-comments-section .comment-edit-btn:hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    transform: scale(1.05);
}

.post-comments-section .comment-delete-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    transform: scale(1.05);
}

body.dark-mode .post-comments-section .comment-edit-btn,
body.dark-mode .post-comments-section .comment-delete-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #b0b3b8;
}

body.dark-mode .post-comments-section .comment-edit-btn:hover {
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}

body.dark-mode .post-comments-section .comment-delete-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.post-comments-section .comment-edit-btn svg,
.post-comments-section .comment-delete-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.post-comments-section .empty-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: #8a8d91;
    font-style: italic;
    font-size: 0.9375rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #e0e0e0;
}

body.dark-mode .post-comments-section .empty-comments {
    background: #242526;
    border-color: #3a3b3c;
    color: #b0b3b8;
}

/* Post Detail Modal */
.post-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-detail-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

body.dark-mode .modal-content {
    background-color: #242526;
    color: #e4e6eb;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
}

.post-detail-container {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Post Detail - Yorumlar Bölümü */
.comments-section {
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    margin-top: 2rem;
}

body.dark-mode .comments-section {
    background-color: #18191a;
    border-top-color: #3a3b3c;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    border-radius: 2px;
}

body.dark-mode .comments-title {
    color: #e4e6eb;
}

.comment-form {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.comment-form:focus-within {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

body.dark-mode .comment-form {
    background: #242526;
    border-color: #3a3b3c;
}

body.dark-mode .comment-form:focus-within {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}

.comment-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.user-avatar-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* Renk JavaScript'ten dinamik olarak atanacak */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .user-avatar-small {
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-input-wrapper textarea {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 90px;
    max-height: 200px;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
    line-height: 1.5;
}

body.dark-mode .comment-input-wrapper textarea {
    background-color: #18191a;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

.comment-input-wrapper textarea:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    animation: commentSlideIn 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

body.dark-mode .comment-item {
    background: #242526;
    border-color: #3a3b3c;
}

body.dark-mode .comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-color: #4e4f50;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .comment-avatar {
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.comment-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.comment-edit-btn,
.comment-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.comment-edit-btn:hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.comment-delete-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.comment-edit-btn svg,
.comment-delete-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.dark-mode .comment-edit-btn,
body.dark-mode .comment-delete-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #b0b3b8;
}

body.dark-mode .comment-edit-btn:hover {
    background: rgba(24, 119, 242, 0.2);
    color: #42a5f5;
}

body.dark-mode .comment-delete-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.comment-author {
    font-weight: 600;
    color: #333;
    font-size: 0.9375rem;
}

body.dark-mode .comment-author {
    color: #e4e6eb;
}

.comment-time {
    font-size: 0.8125rem;
    color: #8a8d91;
    font-weight: 400;
}

.comment-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}

body.dark-mode .comment-text {
    color: #e4e6eb;
}

.comment-edit-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    background-color: #fff;
    color: #333;
    margin-bottom: 0.5rem;
}

body.dark-mode .comment-edit-input {
    background-color: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

.comment-edit-input:focus {
    outline: none;
    border-color: #1877f2;
}

.comment-edit-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comment-save-btn,
.comment-cancel-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.comment-save-btn {
    background-color: #1877f2;
    color: #fff;
}

.comment-save-btn:hover {
    background-color: #1565c0;
}

.comment-cancel-btn {
    background-color: #f0f2f5;
    color: #333;
}

.comment-cancel-btn:hover {
    background-color: #e4e6eb;
}

body.dark-mode .comment-cancel-btn {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .comment-cancel-btn:hover {
    background-color: #4e4f50;
}

.comment-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.comment-like-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: none;
    color: #65676b;
    cursor: pointer;
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.comment-like-btn span:first-child {
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.comment-like-btn:hover span:first-child {
    transform: scale(1.1);
}

.comment-like-btn.active {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.comment-like-btn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
}

.comment-like-btn.active:hover {
    background-color: rgba(24, 119, 242, 0.15);
    transform: translateY(-1px);
}

body.dark-mode .comment-like-btn {
    color: #b0b3b8;
}

body.dark-mode .comment-like-btn:hover {
    background-color: #3a3b3c;
    color: #1877f2;
}

body.dark-mode .comment-like-btn.active {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.15);
}

body.dark-mode .comment-like-btn.active:hover {
    background-color: rgba(24, 119, 242, 0.2);
}

.empty-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: #8a8d91;
    font-style: italic;
    font-size: 0.9375rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #e0e0e0;
}

body.dark-mode .empty-comments {
    background: #242526;
    border-color: #3a3b3c;
    color: #b0b3b8;
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        max-width: 100%;
        max-height: 100vh;
    }
    
    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .post-detail-container,
    .comments-section {
        padding: 1rem;
    }
    
    /* Mobilde yorum tasarımı iyileştirmeleri */
    .post-comments-section .comment-form,
    .comment-form {
        padding: 1rem;
    }
    
    .post-comments-section .comment-item,
    .comment-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .post-comments-section .comment-avatar,
    .post-comments-section .comment-avatar-input,
    .comment-avatar,
    .user-avatar-small {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .post-comments-section .comment-text,
    .comment-text {
        font-size: 0.875rem;
    }
    
    .post-comments-section .comment-author,
    .comment-author {
        font-size: 0.875rem;
    }
    
    .post-comments-section .comment-time,
    .comment-time {
        font-size: 0.75rem;
    }
    
    .post-comments-section .comment-like-btn,
    .comment-like-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Mobilde paylaş butonları küçült */
    .share-btn {
        padding: 1rem 0.75rem;
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .share-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* Mobilde beğen butonlarını daha da küçült */
    .post-footer-right,
    .question-actions .post-footer-right {
        gap: 0.375rem !important;
    }
    
    .action-btn,
    .post-actions .action-btn,
    .question-actions .action-btn {
        gap: 0.2rem !important;
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .action-btn svg,
    .post-actions .action-btn svg,
    .question-actions .action-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .like-icon,
    .dislike-icon,
    .post-actions .like-icon,
    .post-actions .dislike-icon,
    .question-actions .like-icon,
    .question-actions .dislike-icon {
        font-size: 0.75rem !important;
    }
    
    .like-count,
    .dislike-count,
    .post-actions .like-count,
    .post-actions .dislike-count,
    .question-actions .like-count,
    .question-actions .dislike-count {
        min-width: 14px !important;
        font-size: 0.7rem !important;
    }
    
    .like-btn,
    .dislike-btn,
    .heart-btn,
    .post-actions .like-btn,
    .post-actions .dislike-btn,
    .post-actions .heart-btn,
    .question-actions .like-btn,
    .question-actions .dislike-btn,
    .question-actions .heart-btn {
        gap: 0.2rem !important;
    }
}

/* Mobil Alt Navigasyon Menüsü */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0.5rem calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08), 0 -2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    /* Mobilde sidebar'ları kesinlikle gizle */
    .sidebar {
        display: none !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: hidden !important;
    }
    
    .right-sidebar {
        display: none !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: hidden !important;
    }
    
    .main-content {
        padding-bottom: 75px; /* Alt navigasyon için alan */
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    .container {
        padding-bottom: 75px; /* Alt navigasyon için alan */
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .bottom-nav {
        display: flex;
        align-items: flex-end;
        padding: 0.75rem 0.5rem calc(0.75rem + env(safe-area-inset-bottom));
    }
    
    /* Mobilde scrollbar'ı kaldır */
    * {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    *::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: #8e8e93;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 12px;
}

.bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(24, 119, 242, 0.1);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.bottom-nav-item.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.bottom-nav-item.active {
    color: #1877f2;
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

.bottom-nav-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.3));
}

.bottom-nav-label {
    font-size: 0.625rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item.active .bottom-nav-label {
    font-weight: 700;
    color: #1877f2;
}

.bottom-nav-add {
    position: relative;
    flex: 0 0 auto;
    margin: 0 0.5rem;
    padding: 0;
    align-self: flex-start;
    margin-top: -20px;
    z-index: 10;
}

.add-button-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 50%, #66bb6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.add-button-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.bottom-nav-add:active .add-button-wrapper::before {
    width: 200px;
    height: 200px;
}

.add-icon-svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 3;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.bottom-nav-add:active .add-icon-svg {
    transform: rotate(90deg) scale(0.85);
}

.bottom-nav-add:hover .add-button-wrapper,
.bottom-nav-add:focus .add-button-wrapper {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 32px rgba(24, 119, 242, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.bottom-nav-add:active .add-button-wrapper {
    transform: scale(0.92);
}

/* Pulse animasyonu - sürekli dikkat çekici */
@keyframes addButtonPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(24, 119, 242, 0.6), 0 6px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }
}

.add-button-wrapper {
    animation: addButtonPulse 3s ease-in-out infinite;
}

.bottom-nav-add .bottom-nav-label {
    display: none;
}

/* Dark Mode için Alt Navigasyon */
body.dark-mode .bottom-nav {
    background: linear-gradient(180deg, rgba(36, 37, 38, 0.95) 0%, rgba(24, 25, 26, 0.98) 100%);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5), 0 -2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .bottom-nav-item {
    color: #8a8d91;
}

body.dark-mode .bottom-nav-item.active {
    color: #64b5f6;
}

body.dark-mode .bottom-nav-item.active::before {
    background: rgba(24, 119, 242, 0.15);
}

body.dark-mode .bottom-nav-item.active .bottom-nav-icon {
    filter: drop-shadow(0 2px 4px rgba(100, 181, 246, 0.4));
}

body.dark-mode .bottom-nav-item.active .bottom-nav-label {
    color: #64b5f6;
}

body.dark-mode .bottom-nav-add .bottom-nav-label {
    color: #1877f2;
}

body.dark-mode .add-button-wrapper {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 50%, #66bb6a 100%);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .add-button-wrapper::before {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes addButtonPulseDark {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(24, 119, 242, 0.7), 0 6px 16px rgba(0, 0, 0, 0.4);
        transform: scale(1.02);
    }
}

body.dark-mode .add-button-wrapper {
    animation: addButtonPulseDark 3s ease-in-out infinite;
}

/* Bildirim Sistemi */
.notification-wrapper {
    position: relative;
}

.notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0;
    position: relative;
}

.notification-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode .notification-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    color: #333;
    transition: color 0.2s, transform 0.3s ease;
}

body.dark-mode .notification-icon {
    color: #e4e6eb;
}

/* Bildirim animasyonları */
.notification-btn.has-new-notification {
    animation: notificationShake 0.5s ease-in-out;
}

.notification-btn.has-new-notification .notification-icon {
    animation: notificationPulse 1s ease-in-out infinite;
}

@keyframes notificationShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px) rotate(-5deg);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px) rotate(5deg);
    }
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.notification-badge.new-notification {
    animation: badgeBounce 0.6s ease-in-out;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.1);
    }
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #f44336;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

body.dark-mode .notification-badge {
    border-color: #18191a;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    min-width: 280px;
    max-width: 320px;
    max-height: 400px;
    display: none;
    z-index: 1001;
    overflow: hidden;
    flex-direction: column;
    flex: 1;
}

body.dark-mode .notification-dropdown {
    background-color: #242526;
}

.notification-dropdown.active {
    display: flex;
}

.notification-header {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .notification-header {
    border-bottom-color: #3a3b3c;
}

.notification-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.mark-all-read-btn {
    font-size: 0.75rem;
    color: #1877f2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mark-all-read-btn:hover {
    background-color: #f0f2f5;
}

body.dark-mode .mark-all-read-btn:hover {
    background-color: #3a3b3c;
}

.notification-list {
    overflow-y: auto;
    max-height: 300px;
    flex: 1;
    min-height: 0;
    /* Scrollbar tıklamalarını engellemek için */
    position: relative;
}

.notification-item {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: background-color 0.2s;
    /* Tıklanabilir olduğundan emin ol */
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
}

body.dark-mode .notification-item {
    border-bottom-color: #3a3b3c;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

body.dark-mode .notification-item:hover {
    background-color: #3a3b3c;
}

.notification-item.unread {
    background-color: #e3f2fd;
}

body.dark-mode .notification-item.unread {
    background-color: #1e3a5f;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.notification-title {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #333;
}

body.dark-mode .notification-title {
    color: #e4e6eb;
}

.notification-message {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

body.dark-mode .notification-message {
    color: #b0b3b8;
}

.notification-time {
    font-size: 0.6875rem;
    color: #999;
    margin-top: 0.2rem;
}

body.dark-mode .notification-time {
    color: #8a8d91;
}

.notification-empty {
    padding: 1.5rem;
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 0.8125rem;
}

body.dark-mode .notification-empty {
    color: #8a8d91;
}

.notification-footer {
    padding: 0.625rem 0.75rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-top: auto;
}

body.dark-mode .notification-footer {
    border-top-color: #3a3b3c;
}

.view-all-notifications-btn {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.view-all-notifications-btn:hover {
    background-color: #166fe5;
}

.view-all-notifications-btn:active {
    background-color: #1557b0;
}

body.dark-mode .view-all-notifications-btn {
    background-color: #1877f2;
}

body.dark-mode .view-all-notifications-btn:hover {
    background-color: #166fe5;
}

/* Bildirimler Sayfası */
.notifications-page {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none; /* JS ile flex yapılır */
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(2px);
}

.notifications-page-panel {
    width: min(720px, 95vw);
    height: min(82vh, 880px);
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 28px 72px rgba(0,0,0, 0.32);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(6px) scale(0.99);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Açılma animasyonu */
.notifications-page[style*="display: flex"] .notifications-page-panel {
    transform: translateY(0);
    opacity: 1;
}

body.dark-mode .notifications-page-panel {
    background: #1f1f23;
}

.notifications-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 1;
}

body.dark-mode .notifications-page-header {
    border-bottom-color: #3a3b3c;
}

.back-to-feed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
}

.back-to-feed-btn:hover {
    background-color: #f0f2f5;
}

body.dark-mode .back-to-feed-btn {
    color: #e4e6eb;
}

body.dark-mode .back-to-feed-btn:hover {
    background-color: #3a3b3c;
}

.notifications-page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #333;
    flex: 1;
}

body.dark-mode .notifications-page-header h2 {
    color: #e4e6eb;
}

.delete-all-notifications-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.delete-all-notifications-btn:hover {
    background-color: #fee;
    color: #f44336;
}

body.dark-mode .delete-all-notifications-btn {
    color: #b0b3b8;
}

body.dark-mode .delete-all-notifications-btn:hover {
    background-color: #3a3b3c;
    color: #f44336;
}

.notifications-page-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.notifications-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.15rem;
    border-top: 1px solid #e0e0e0;
    background: inherit;
}

body.dark-mode .notifications-page-footer {
    border-top-color: #3a3b3c;
}

.notifications-page-footer-left {
    font-size: 0.85rem;
    color: #666;
}

body.dark-mode .notifications-page-footer-left {
    color: #b0b3b8;
}

.notifications-pagination {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pagination-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pagination-btn:hover {
    background: rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

body.dark-mode .pagination-btn {
    background: #242526;
    border-color: rgba(255,255,255,0.12);
    color: #e4e6eb;
}

body.dark-mode .pagination-btn:hover {
    background: rgba(255,255,255,0.08);
}

body.dark-mode .pagination-btn.active {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.notifications-loading {
    padding: 2rem;
    text-align: center;
    color: #999;
}

.notification-page-item {
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
}

body.dark-mode .notification-page-item {
    background-color: #242526;
    border-color: #3a3b3c;
}

.notification-page-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

body.dark-mode .notification-page-item:hover {
    background-color: #3a3b3c;
}

.notification-page-item.unread {
    background-color: #e3f2fd;
    border-color: #1877f2;
}

body.dark-mode .notification-page-item.unread {
    background-color: #1e3a5f;
    border-color: #1877f2;
}

.notification-page-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

body.dark-mode .notification-page-title {
    color: #e4e6eb;
}

.notification-page-message {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

body.dark-mode .notification-page-message {
    color: #b0b3b8;
}

.notification-page-time {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
}

body.dark-mode .notification-page-time {
    color: #8a8d91;
}

@media (max-width: 768px) {
    .notifications-page {
        padding: 0.75rem;
        align-items: center;
        justify-content: center;
    }

    .notifications-page-panel {
        width: calc(100% - 1.5rem);
        max-width: 640px;
        height: 88vh;
        max-height: 900px;
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, 0.10);
        background: #fff;
        box-shadow: 0 22px 60px rgba(0,0,0,0.30);
        transform: translateY(4px) scale(0.995);
        opacity: 1;
    }

    .notifications-page-footer {
        padding: 0.75rem 1.15rem;
        border-top: 1px solid #e0e0e0;
    }

    .back-to-feed-btn {
        width: 36px;
        height: 36px;
    }
    
    .back-to-feed-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .delete-all-notifications-btn {
        width: 36px;
        height: 36px;
    }
    
    .delete-all-notifications-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .notification-page-item {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .notifications-content {
        gap: 0.5rem;
        max-height: calc(100vh - 200px);
        min-height: 300px;
    }
}

/* Görsel Onay Bekleme */
.image-pending-approval {
    position: relative;
}

.image-pending-approval img {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    pointer-events: none;
}

.image-approval-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
    gap: 1rem;
    filter: none !important;
    -webkit-filter: none !important;
}

.image-approval-lock-icon {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.image-approval-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

/* Duplicate removed - using the definition above */

/* Post Menü */
.post-menu-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.favorite-btn-header {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8d91;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    position: relative;
}

.favorite-btn-header:hover {
    background-color: #f0f2f5;
}

.favorite-btn-header.active {
    color: #4caf50;
}

.favorite-btn-header.active svg {
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.5));
    animation: favoritePulse 2s ease-in-out infinite, gradientShift 3s ease infinite;
}

.favorite-btn-header.active svg linearGradient stop {
    animation: gradientColorShift 3s ease infinite;
}

.favorite-btn-header.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(139, 195, 74, 0.2) 50%, rgba(102, 187, 106, 0.2) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite, favoriteGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes favoritePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes favoriteGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

body.dark-mode .favorite-btn-header {
    color: #b0b3b8;
}

body.dark-mode .favorite-btn-header:hover {
    background-color: #3a3b3c;
}

body.dark-mode .favorite-btn-header.active {
    color: #4caf50;
}

body.dark-mode .favorite-btn-header.active svg {
    filter: drop-shadow(0 0 4px rgba(76, 175, 80, 0.7));
    animation: favoritePulse 2s ease-in-out infinite, gradientShift 3s ease infinite;
}

@media (max-width: 768px) {
    .post-menu-wrapper {
        width: 100%;
        margin-top: 0.5rem;
    }
}

.post-menu-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0;
    color: #666;
}

.post-menu-btn svg {
    fill: currentColor;
}

.post-menu-btn:hover {
    background-color: #f0f2f5;
}

body.dark-mode .post-menu-btn {
    color: #ffffff;
}

body.dark-mode .post-menu-btn:hover {
    background-color: #3a3b3c;
}

.post-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: none;
    min-width: 180px;
    display: none;
    z-index: 10000;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 0;
}

/* Mobilde dropdown overlay */
.post-menu-dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

/* Mobilde dropdown ortalanmış */
@media (max-width: 768px) {
    .post-menu-dropdown {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        min-width: 280px;
        width: auto;
        max-width: 90vw;
        margin: 0;
        z-index: 10001;
    }
    
    .post-menu-wrapper {
        width: auto;
    }
}

body.dark-mode .post-menu-dropdown {
    background-color: #242526;
    border-color: #3a3b3c;
}

.post-menu-dropdown.active {
    display: block;
}

.post-menu-item {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem; /* 0.875rem -> 0.75rem */
    color: #0f1419;
    transition: background-color 0.15s;
    text-align: left;
    border-bottom: none;
    font-weight: 400;
}

.post-menu-item:first-child {
    border-radius: 12px 12px 0 0;
}

.post-menu-item:last-child {
    border-radius: 0 0 12px 12px;
}

body.dark-mode .post-menu-item {
    color: #e4e6eb;
}

.post-menu-item:hover {
    background-color: #f7f9fa;
}

body.dark-mode .post-menu-item:hover {
    background-color: #3a3b3c;
}

.post-menu-item:active {
    background-color: #eff3f4;
}

body.dark-mode .post-menu-item:active {
    background-color: #4e4f50;
}

.post-menu-item svg {
    fill: currentColor;
}

body.dark-mode .post-menu-item svg {
    fill: #e4e6eb;
}

.post-menu-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobil Post Menü Popup */
.post-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.post-menu-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-height: 50vh;
    animation: slideUp 0.3s ease;
    padding: 0;
}

body.dark-mode .post-menu-popup {
    background-color: #242526;
}

.post-menu-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

body.dark-mode .post-menu-popup-header {
    border-bottom-color: #3a3b3c;
}

.post-menu-popup-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

body.dark-mode .post-menu-popup-header h3 {
    color: #e4e6eb;
}

.post-menu-popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.post-menu-popup-close:hover {
    background-color: #f0f2f5;
}

body.dark-mode .post-menu-popup-close {
    color: #b0b3b8;
}

body.dark-mode .post-menu-popup-close:hover {
    background-color: #3a3b3c;
}

.post-menu-popup-content {
    padding: 0.5rem 0;
}

.post-menu-popup-item {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.2s;
    text-align: left;
    border-bottom: 1px solid #f0f2f5;
}

.post-menu-popup-item:last-child {
    border-bottom: none;
}

body.dark-mode .post-menu-popup-item {
    color: #e4e6eb;
    border-bottom-color: #3a3b3c;
}

.post-menu-popup-item:hover {
    background-color: #f0f2f5;
}

body.dark-mode .post-menu-popup-item:hover {
    background-color: #3a3b3c;
}

.post-menu-popup-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.post-menu-popup-item span {
    font-weight: 500;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Kalp animasyonu (mobilde çift tıklama için) - App tarzı */
@keyframes heartPop {
    0% {
        transform: scale(0) translate(-50%, -50%);
        opacity: 0;
    }
    20% {
        transform: scale(1.4) translate(-50%, -50%);
        opacity: 1;
    }
    40% {
        transform: scale(1.1) translate(-50%, -50%);
        opacity: 1;
    }
    60% {
        transform: scale(1.3) translate(-50%, -50%);
        opacity: 1;
    }
    80% {
        transform: scale(1.15) translate(-50%, -50%);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.2) translate(-50%, -50%);
        opacity: 0;
    }
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1.2) translate(-50%, -50%);
    }
    50% {
        transform: scale(1.35) translate(-50%, -50%);
    }
}

.animated-heart {
    animation: heartPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 4px 12px rgba(233, 30, 99, 0.5)) drop-shadow(0 0 20px rgba(233, 30, 99, 0.3));
    will-change: transform, opacity;
    transform-origin: center center;
}

.animated-heart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.3) 0%, rgba(233, 30, 99, 0) 70%);
    animation: pulseRing 0.8s ease-out forwards;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Desktop'ta popup gizle */
@media (min-width: 769px) {
    .post-menu-overlay,
    .post-menu-popup {
        display: none !important;
    }
}

/* Görsel Onay Bekleme - Mobil */
.image-pending-approval {
    position: relative;
}

.image-pending-approval img {
    filter: blur(6px);
    -webkit-filter: blur(6px);
    pointer-events: none;
}

.image-approval-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
    gap: 0.75rem;
    filter: none !important;
    -webkit-filter: none !important;
}

.image-approval-lock-icon {
    width: 48px;
    height: 48px;
}

.image-approval-lock-icon svg {
    width: 36px;
    height: 36px;
}

.image-approval-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.375rem 0.75rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

/* Paylaş Modal */
.share-modal {
    max-width: 400px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem; /* 0.95rem -> 0.8rem */
    font-weight: 500;
    color: #333;
}

.share-btn:hover {
    background-color: #f7f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.share-btn svg {
    width: 32px;
    height: 32px;
}

.share-twitter {
    color: #1da1f2;
}

.share-twitter:hover {
    background-color: #e8f5fe;
    border-color: #1da1f2;
}

.share-facebook {
    color: #1877f2;
}

.share-facebook:hover {
    background-color: #e7f3ff;
    border-color: #1877f2;
}

.share-whatsapp {
    color: #25d366;
}

.share-whatsapp:hover {
    background-color: #e6f9f0;
    border-color: #25d366;
}

.share-email {
    color: #666;
}

.share-email:hover {
    background-color: #f7f9fa;
    border-color: #666;
}

body.dark-mode .share-btn {
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .share-btn:hover {
    background-color: #3a3b3c;
}

body.dark-mode .share-twitter:hover {
    background-color: #1e3a5f;
    border-color: #1da1f2;
}

body.dark-mode .share-facebook:hover {
    background-color: #1e3a5f;
    border-color: #1877f2;
}

body.dark-mode .share-whatsapp:hover {
    background-color: #1e3a5f;
    border-color: #25d366;
}

body.dark-mode .share-email:hover {
    background-color: #3a3b3c;
}

/* Raporla Modal */
.report-modal {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
}

.report-modal .modal-header {
    padding: 0.75rem 1.25rem;
}

.report-modal .modal-header h2 {
    font-size: 1rem;
}

.report-modal .modal-body {
    padding: 0.75rem 1.25rem;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #1877f2 #e8f0fe; /* Firefox - mavi tema */
    -ms-overflow-style: auto; /* IE and Edge */
}

.report-modal .modal-body::-webkit-scrollbar {
    width: 8px; /* Chrome, Safari, Opera */
}

.report-modal .modal-body::-webkit-scrollbar-track {
    background: #e8f0fe;
    border-radius: 4px;
    margin: 4px 0;
}

.report-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1877f2 0%, #166fe5 100%);
    border-radius: 4px;
    border: 1px solid #e8f0fe;
    transition: background 0.2s ease;
}

.report-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #166fe5 0%, #1565d1 100%);
}

.report-modal .modal-body::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #1565d1 0%, #1458b8 100%);
}

body.dark-mode .report-modal .modal-body {
    scrollbar-color: #1877f2 #2a2a2a; /* Firefox */
}

body.dark-mode .report-modal .modal-body::-webkit-scrollbar-track {
    background: #2a2a2a;
    border: 1px solid #3a3b3c;
}

body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1877f2 0%, #166fe5 100%);
    border: 1px solid #3a3b3c;
}

body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #166fe5 0%, #1565d1 100%);
}

body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #1565d1 0%, #1458b8 100%);
}

.report-modal .modal-footer {
    padding: 0.75rem 1.25rem;
}

.report-modal .modal-footer button {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.875rem;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.report-reason-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fff;
}

.report-reason-item:hover {
    background-color: #f0f2f5;
    border-color: #1877f2;
}

.report-reason-item input[type="radio"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #1877f2;
    flex-shrink: 0;
}

.report-reason-item span {
    font-size: 0.75rem;
    color: #333;
    flex: 1;
    line-height: 1.3;
}

.report-reason-item input[type="radio"]:checked + span {
    color: #1877f2;
    font-weight: 500;
}

.report-reason-item input[type="radio"]:checked {
    accent-color: #1877f2;
}

/* :has() desteği olan tarayıcılar için */
@supports selector(:has(*)) {
    .report-reason-item:has(input:checked) {
        background-color: #e3f2fd;
        border-color: #1877f2;
    }
    
    .report-reason-item:has(input:checked) span {
        color: #1877f2;
        font-weight: 500;
    }
}

/* :has() desteği olmayan tarayıcılar için fallback */
.report-reason-item input[type="radio"]:checked ~ span {
    color: #1877f2;
    font-weight: 500;
}

body.dark-mode .report-reason-item {
    background-color: #242526;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .report-reason-item:hover {
    background-color: #3a3b3c;
    border-color: #1877f2;
}

body.dark-mode .report-reason-item span {
    color: #e4e6eb;
}

/* :has() desteği olan tarayıcılar için */
@supports selector(:has(*)) {
    body.dark-mode .report-reason-item:has(input:checked) {
        background-color: rgba(24, 119, 242, 0.2);
        border-color: #1877f2;
    }
    
    body.dark-mode .report-reason-item:has(input:checked) span {
        color: #42a5f5;
    }
}

/* :has() desteği olmayan tarayıcılar için fallback */
body.dark-mode .report-reason-item input[type="radio"]:checked ~ span {
    color: #42a5f5;
}

@media (max-width: 768px) {
    .report-modal {
        max-width: 95%;
        width: 95%;
        margin: 1rem auto;
        max-height: 90vh;
    }
    
    .report-modal .modal-header {
        padding: 0.625rem 0.875rem;
    }
    
    .report-modal .modal-header h2 {
        font-size: 0.9375rem;
    }
    
    .report-modal .modal-body {
        padding: 0.625rem 0.875rem;
        max-height: 75vh;
        overflow-y: auto;
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: #1877f2 #e8f0fe; /* Firefox - mavi tema */
        -ms-overflow-style: auto; /* IE and Edge */
    }
    
    .report-modal .modal-body::-webkit-scrollbar {
        width: 6px; /* Chrome, Safari, Opera - mobilde daha ince */
    }
    
    .report-modal .modal-body::-webkit-scrollbar-track {
        background: #e8f0fe;
        border-radius: 3px;
        margin: 3px 0;
    }
    
    .report-modal .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #1877f2 0%, #166fe5 100%);
        border-radius: 3px;
        border: 1px solid #e8f0fe;
        transition: background 0.2s ease;
    }
    
    .report-modal .modal-body::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #166fe5 0%, #1565d1 100%);
    }
    
    .report-modal .modal-body::-webkit-scrollbar-thumb:active {
        background: linear-gradient(180deg, #1565d1 0%, #1458b8 100%);
    }
    
    body.dark-mode .report-modal .modal-body {
        scrollbar-color: #1877f2 #2a2a2a; /* Firefox */
    }
    
    body.dark-mode .report-modal .modal-body::-webkit-scrollbar-track {
        background: #2a2a2a;
        border: 1px solid #3a3b3c;
    }
    
    body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #1877f2 0%, #166fe5 100%);
        border: 1px solid #3a3b3c;
    }
    
    body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #166fe5 0%, #1565d1 100%);
    }
    
    body.dark-mode .report-modal .modal-body::-webkit-scrollbar-thumb:active {
        background: linear-gradient(180deg, #1565d1 0%, #1458b8 100%);
    }
    
    .report-modal .modal-footer {
        padding: 0.625rem 0.875rem;
    }
    
    .report-modal .modal-footer button {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .report-reasons {
        gap: 0.4375rem;
        margin-top: 0.5rem;
    }
    
    .report-reason-item {
        padding: 0.5rem;
        gap: 0.4375rem;
    }
    
    .report-reason-item input[type="radio"] {
        width: 12px;
        height: 12px;
    }
    
    .report-reason-item span {
        font-size: 0.6875rem;
        line-height: 1.25;
    }
}

/* Post Header Düzenleme */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Profil Container (Dashboard içinde) */
.profile-container-dashboard {
    display: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.profile-content-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.profile-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

body.dark-mode .profile-loading {
    color: #b0b3b8;
}

/* Profil Header (Dashboard) */
.profile-header-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 1rem;
}

body.dark-mode .profile-header-dashboard {
    background: #242526;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-avatar-container-dashboard {
    flex-shrink: 0;
}

.profile-avatar-dashboard {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-info-dashboard {
    flex: 1;
    min-width: 0;
}

.profile-username-dashboard {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.75rem 0;
}

body.dark-mode .profile-username-dashboard {
    color: #e4e6eb;
}

.profile-stats-dashboard {
    display: flex;
    gap: 1.5rem;
}

.stat-item-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value-dashboard {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1877f2;
}

body.dark-mode .stat-value-dashboard {
    color: #42a5f5;
}

.stat-label-dashboard {
    font-size: 0.875rem;
    color: #666;
}

body.dark-mode .stat-label-dashboard {
    color: #b0b3b8;
}

/* Profil Tabs (Dashboard) */
.profile-tabs-dashboard {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 1rem;
}

body.dark-mode .profile-tabs-dashboard {
    border-bottom-color: #3a3b3c;
}

.profile-tab-dashboard {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

body.dark-mode .profile-tab-dashboard {
    color: #b0b3b8;
}

.profile-tab-dashboard:hover {
    color: #1877f2;
}

body.dark-mode .profile-tab-dashboard:hover {
    color: #42a5f5;
}

.profile-tab-dashboard.active {
    color: #1877f2;
    border-bottom-color: #1877f2;
}

body.dark-mode .profile-tab-dashboard.active {
    color: #42a5f5;
    border-bottom-color: #42a5f5;
}

/* Profil Content Tabs (Dashboard) */
.profile-content-dashboard-tabs {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.profile-tab-content-dashboard {
    display: none;
}

.profile-tab-content-dashboard.active {
    display: block;
}

.profile-posts-dashboard,
.profile-favorites-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-post-item-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: default;
    transition: transform 0.2s, box-shadow 0.2s;
}

body.dark-mode .profile-post-item-dashboard {
    background: #242526;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-post-item-dashboard:hover {
    /* Hover efekti kaldırıldı - entry'ler tıklanabilir değil */
}

body.dark-mode .profile-post-item-dashboard:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.profile-post-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.profile-post-title-dashboard {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    margin: 0;
}

body.dark-mode .profile-post-title-dashboard {
    color: #e4e6eb;
}

.profile-post-actions-dashboard {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.profile-post-edit-btn,
.profile-post-delete-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s;
    color: #666;
}

.profile-post-edit-btn:hover {
    background: #e3f2fd;
    color: #1877f2;
}

.profile-post-delete-btn:hover {
    background: #ffebee;
    color: #e74c3c;
}

body.dark-mode .profile-post-edit-btn,
body.dark-mode .profile-post-delete-btn {
    color: #b0b3b8;
}

body.dark-mode .profile-post-edit-btn:hover {
    background: #1e3a5f;
    color: #42a5f5;
}

body.dark-mode .profile-post-delete-btn:hover {
    background: #4a2a2a;
    color: #e74c3c;
}

/* Profil Sayfalama */
.profile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.profile-pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pagination-btn:hover:not(:disabled) {
    background: #f0f2f5;
    border-color: #1877f2;
    color: #1877f2;
}

.profile-pagination-btn.active {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.profile-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.dark-mode .profile-pagination-btn {
    background: #242526;
    border-color: #3a3b3c;
    color: #e4e6eb;
}

body.dark-mode .profile-pagination-btn:hover:not(:disabled) {
    background: #3a3b3c;
    border-color: #42a5f5;
    color: #42a5f5;
}

body.dark-mode .profile-pagination-btn.active {
    background: #42a5f5;
    border-color: #42a5f5;
    color: #fff;
}

.profile-pagination-ellipsis {
    color: #999;
    padding: 0 0.5rem;
    font-size: 0.875rem;
}

body.dark-mode .profile-pagination-ellipsis {
    color: #8a8d91;
}

@media (max-width: 768px) {
    .profile-pagination {
        gap: 0.25rem;
        margin-top: 1rem;
        padding: 0.75rem 0;
    }
    
    .profile-pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
    }
}

.profile-post-content-dashboard {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode .profile-post-content-dashboard {
    color: #b0b3b8;
}

.profile-post-meta-dashboard {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #999;
}

body.dark-mode .profile-post-meta-dashboard {
    color: #8a8d91;
}

.profile-post-category-dashboard {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e3f2fd;
    color: #1877f2;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

body.dark-mode .profile-post-category-dashboard {
    background: #1e3a5f;
    color: #42a5f5;
}

.profile-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

body.dark-mode .profile-empty {
    color: #8a8d91;
}

.profile-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.profile-empty-text {
    font-size: 1.125rem;
}

.edit-profile-btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1877f2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.edit-profile-btn-header:hover {
    background: #166fe5;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-container-dashboard {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .profile-content-dashboard {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }

    .profile-header-dashboard {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 0 0.75rem;
        width: calc(100% - 1.5rem);
        box-sizing: border-box;
    }

    .profile-avatar-dashboard {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .profile-username-dashboard {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .profile-stats-dashboard {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stat-item-dashboard {
        min-width: 60px;
    }

    .stat-value-dashboard {
        font-size: 1.125rem;
    }

    .stat-label-dashboard {
        font-size: 0.75rem;
    }

    .profile-tabs-dashboard {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin: 0 0.75rem;
        width: calc(100% - 1.5rem);
        box-sizing: border-box;
    }

    .profile-tab-dashboard {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .profile-content-dashboard-tabs {
        padding: 0 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .profile-post-item-dashboard {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .profile-post-header-dashboard {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .profile-post-title-dashboard {
        font-size: 1rem;
        flex: 1;
        min-width: 0;
        word-break: break-word;
    }

    .profile-post-actions-dashboard {
        display: flex;
        gap: 0.25rem;
        flex-shrink: 0;
        margin-left: auto;
    }

    .profile-post-edit-btn,
    .profile-post-delete-btn {
        padding: 0.375rem;
    }

    .profile-post-edit-btn svg,
    .profile-post-delete-btn svg {
        width: 16px;
        height: 16px;
    }

    .profile-post-content-dashboard {
        font-size: 0.875rem;
    }

    .profile-post-meta-dashboard {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .profile-empty {
        padding: 2rem 1rem;
    }

    .profile-empty-icon {
        font-size: 3rem;
    }

    .profile-empty-text {
        font-size: 1rem;
    }
}

/* Daha Fazla Göster Butonu */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    margin: 1rem 0;
}

.load-more-btn {
    padding: 0.75rem 1.5rem;
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.load-more-btn:hover {
    background-color: #166fe5;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    transform: translateY(-1px);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

body.dark-mode .load-more-btn {
    background-color: #42a5f5;
    box-shadow: 0 2px 4px rgba(66, 165, 245, 0.3);
}

body.dark-mode .load-more-btn:hover {
    background-color: #3a9ae8;
    box-shadow: 0 4px 8px rgba(66, 165, 245, 0.4);
}

@media (max-width: 768px) {
    .load-more-container {
        padding: 1rem 0.75rem;
    }
    
    .load-more-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* ========== Ziyaretçi Butonları ========== */
.guest-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-guest-login {
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: #1877f2;
    border: 2px solid #1877f2;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-guest-login:hover {
    background: #1877f2;
    color: #fff;
}

.btn-guest-register {
    padding: 0.5rem 1.25rem;
    background: #1877f2;
    color: #fff;
    border: 2px solid #1877f2;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-guest-register:hover {
    background: #166fe5;
    border-color: #166fe5;
}

body.dark-mode .btn-guest-login {
    color: #42a5f5;
    border-color: #42a5f5;
}

body.dark-mode .btn-guest-login:hover {
    background: #42a5f5;
    color: #1a1a1a;
}

body.dark-mode .btn-guest-register {
    background: #42a5f5;
    border-color: #42a5f5;
    color: #1a1a1a;
}

body.dark-mode .btn-guest-register:hover {
    background: #3a9ae8;
    border-color: #3a9ae8;
}

@media (max-width: 768px) {
    .guest-buttons {
        gap: 0.5rem;
    }
    
    .btn-guest-login,
    .btn-guest-register {
        padding: 0.4rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 16px;
    }
}

/* ========== Auth Modal ========== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Modal Wrapper - İki sütunlu layout */
.auth-modal-wrapper {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

body.dark-mode .auth-modal-wrapper {
    background: #242526;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

/* Sol Taraf - İllüstrasyon */
.auth-modal-illustration {
    width: 380px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 50%, #1565c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-modal-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.auth-illustration-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.auth-illustration-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.auth-illustration-icon svg {
    width: 100px;
    height: 100px;
}

.auth-illustration-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-illustration-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin: 0 0 2rem 0;
    font-weight: 500;
}

.auth-illustration-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    font-size: 0.9375rem;
    font-weight: 500;
}

.auth-feature-icon {
    font-size: 1.25rem;
}

/* Sağ Taraf - Form */
.auth-modal-content {
    flex: 1;
    padding: 1.75rem;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
    background: #fff;
}

body.dark-mode .auth-modal-content {
    background: #242526;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #666;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    background: #f0f2f5;
    color: #333;
}

body.dark-mode .auth-modal-close {
    color: #b0b3b8;
}

body.dark-mode .auth-modal-close:hover {
    background: #3a3b3c;
    color: #e4e6eb;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-header h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.375rem 0;
}

body.dark-mode .auth-header h2 {
    color: #e4e6eb;
}

.auth-header p {
    color: #666;
    font-size: 0.8125rem;
    margin: 0;
}

body.dark-mode .auth-header p {
    color: #b0b3b8;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-input-group {
    margin-bottom: 0.75rem;
}

.auth-input-group input,
.auth-input-group select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.auth-input-group input:focus,
.auth-input-group select:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

body.dark-mode .auth-input-group input,
body.dark-mode .auth-input-group select {
    background: #3a3b3c;
    border-color: #4a4b4c;
    color: #e4e6eb;
}

body.dark-mode .auth-input-group input:focus,
body.dark-mode .auth-input-group select:focus {
    border-color: #42a5f5;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

.auth-input-group input::placeholder {
    color: #999;
}

body.dark-mode .auth-input-group input::placeholder {
    color: #888;
}

.auth-phone-group {
    display: flex;
    gap: 0.5rem;
}

.auth-country-select {
    width: 100px !important;
    flex-shrink: 0;
}

.auth-phone-input {
    flex: 1;
}

.auth-input-hint {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

body.dark-mode .auth-input-hint {
    color: #777;
}

.auth-remember-group {
    margin-bottom: 0.375rem;
}

.auth-remember-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    color: #555;
    font-size: 0.8125rem;
}

body.dark-mode .auth-remember-label {
    color: #b0b3b8;
}

.auth-remember-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1877f2;
}

.auth-password-strength {
    margin-top: 0.5rem;
}

.auth-strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

body.dark-mode .auth-strength-bar {
    background: #4a4b4c;
}

.auth-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.auth-strength-text {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.auth-terms-text {
    font-size: 0.6875rem;
    color: #666;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

body.dark-mode .auth-terms-text {
    color: #888;
}

.auth-terms-link {
    color: #1877f2;
    text-decoration: none;
}

.auth-terms-link:hover {
    text-decoration: underline;
}

body.dark-mode .auth-terms-link {
    color: #42a5f5;
}

.btn-auth-primary {
    width: 100%;
    padding: 0.625rem;
    background: #1877f2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-auth-primary:hover {
    background: #166fe5;
    transform: translateY(-1px);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

body.dark-mode .btn-auth-primary {
    background: #42a5f5;
    color: #1a1a1a;
}

body.dark-mode .btn-auth-primary:hover {
    background: #3a9ae8;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode .auth-footer {
    border-top-color: #3a3b3c;
}

.auth-footer p {
    color: #666;
    font-size: 0.8125rem;
    margin: 0.375rem 0 0 0;
}

body.dark-mode .auth-footer p {
    color: #b0b3b8;
}

.auth-link {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
}

.auth-link:hover {
    text-decoration: underline;
}

body.dark-mode .auth-link {
    color: #42a5f5;
}

/* Auth Modal Responsive - Tablet */
@media (max-width: 900px) {
    .auth-modal-wrapper {
        max-width: 480px;
    }
    
    .auth-modal-illustration {
        display: none;
    }
    
    .auth-modal-content {
        border-radius: 16px;
    }
}

/* Auth Modal Responsive - Mobile */
@media (max-width: 480px) {
    .auth-modal-overlay {
        padding: 1rem;
        align-items: center;
    }
    
    .auth-modal-wrapper {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
        width: 100%;
    }
    
    .auth-modal-content {
        padding: 1rem;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    /* Mobilde başlığı gizle - sadece form */
    .auth-header {
        display: none;
    }
    
    .auth-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }
    
    .auth-input-group {
        margin-bottom: 0.5rem;
    }
    
    .auth-input-group input,
    .auth-input-group select {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        border-radius: 6px;
    }
    
    .btn-auth-primary {
        padding: 0.5rem;
        font-size: 0.8125rem;
        margin-top: 0.25rem;
        border-radius: 6px;
    }
    
    .auth-remember-group {
        margin-bottom: 0.25rem;
    }
    
    .auth-remember-label {
        font-size: 0.6875rem;
    }
    
    .auth-remember-label input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .auth-terms-text {
        font-size: 0.5625rem;
        margin-bottom: 0.375rem;
    }
    
    /* Footer kompakt */
    .auth-footer {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: none;
    }
    
    .auth-footer p {
        font-size: 0.6875rem;
        margin: 0;
    }
    
    .auth-footer .auth-link {
        font-size: 0.6875rem;
    }
    
    /* Telefon grubu */
    .auth-phone-group {
        gap: 0.25rem;
    }
    
    .auth-country-select {
        width: 80px !important;
        font-size: 0.75rem !important;
    }
}

/* ========== Giriş Gerektiren Öğeler için Kısıtlama ========== */
.guest-restricted {
    position: relative;
    cursor: pointer;
}

.guest-restricted::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.guest-restricted:hover::after {
    opacity: 0.7;
}

/* Ziyaretçi için gizlenecek elementler */
body.guest-mode .question-input-box,
body.guest-mode .bottom-nav-add {
    display: none !important;
}

/* ========================================== */
/* TWITTER TARZI YORUM SİSTEMİ STİLLERİ */
/* ========================================== */

/* Yorum Bölümü Container */
.comments-section {
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

body.dark-mode .comments-section {
    background: #1a1a1a;
    border-color: #2f3336;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Yorum Formu */
.comment-form-container {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}

body.dark-mode .comment-form-container {
    background: #242526;
    border-color: #2f3336;
}

.comment-form-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.comment-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-input-container {
    position: relative;
}

.comment-input-container textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    resize: none;
    background: #fff;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}

body.dark-mode .comment-input-container textarea {
    background: #1a1a1a;
    color: #e4e6eb;
    border-color: #3a3b3c;
}

.comment-input-container textarea:focus {
    outline: none;
    border-color: #1d9bf0;
    box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.1);
}

.comment-input-container textarea::placeholder {
    color: #71767b;
}

.comment-char-count {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #71767b;
    transition: color 0.2s;
}

.comment-char-count.warning {
    color: #ffa500;
}

.comment-char-count.danger {
    color: #f4212e;
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Anonim Toggle */
.comment-anonymous-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.comment-anonymous-toggle input {
    display: none;
}

.toggle-slider {
    width: 36px;
    height: 20px;
    background: #d1d5db;
    border-radius: 10px;
    position: relative;
    transition: background 0.2s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.comment-anonymous-toggle input:checked + .toggle-slider {
    background: #1d9bf0;
}

.comment-anonymous-toggle input:checked + .toggle-slider::after {
    transform: translateX(16px);
}

.toggle-label {
    font-size: 0.8125rem;
    color: #71767b;
}

body.dark-mode .toggle-slider {
    background: #3a3b3c;
}

/* Gönder Butonu */
.comment-submit-btn {
    padding: 0.625rem 1.25rem;
    background: #1d9bf0;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.comment-submit-btn:hover:not(:disabled) {
    background: #1a8cd8;
    transform: scale(1.02);
}

.comment-submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.comment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Yorumlar Header */
.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
}

body.dark-mode .comments-header {
    border-color: #2f3336;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

body.dark-mode .comments-title {
    color: #e4e6eb;
}

.comments-icon {
    font-size: 1.125rem;
}

.comments-count {
    background: #e8f5fe;
    color: #1d9bf0;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
}

body.dark-mode .comments-count {
    background: rgba(29, 155, 240, 0.15);
}

.comments-sort select {
    padding: 0.375rem 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.8125rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s;
}

body.dark-mode .comments-sort select {
    background: #1a1a1a;
    color: #e4e6eb;
    border-color: #3a3b3c;
}

.comments-sort select:focus {
    outline: none;
    border-color: #1d9bf0;
}

/* Yorumlar Listesi */
.comments-list {
    padding: 0.5rem 0;
}

.comments-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #71767b;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: #1d9bf0;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

body.dark-mode .loading-spinner {
    border-color: #3a3b3c;
    border-top-color: #1d9bf0;
}

/* Yorum Yok */
.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: #71767b;
}

.no-comments-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-comments p {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #333;
}

body.dark-mode .no-comments p {
    color: #e4e6eb;
}

.no-comments span {
    font-size: 0.875rem;
}

/* Yorum Item */
.comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    position: relative;
    transition: background 0.15s;
}

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

body.dark-mode .comment-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Cinsiyet border */
.comment-item.gender-male {
    border-left: 3px solid #1d9bf0;
}

.comment-item.gender-female {
    border-left: 3px solid #f91880;
}

/* Thread çizgisi */
.comment-thread-line {
    display: none;
}

.comment-reply .comment-thread-line {
    display: block;
    position: absolute;
    left: 2.375rem;
    top: 0;
    width: 2px;
    height: 1rem;
    background: #e0e0e0;
}

body.dark-mode .comment-reply .comment-thread-line {
    background: #3a3b3c;
}

/* Yanıt indentasyonu */
.comment-reply {
    margin-left: 2.5rem;
    padding-left: 1rem;
    border-left: 2px solid #e8f5fe;
}

body.dark-mode .comment-reply {
    border-left-color: rgba(29, 155, 240, 0.2);
}

.comment-replies {
    border-left: 2px solid #e0e0e0;
    margin-left: 2.375rem;
}

body.dark-mode .comment-replies {
    border-left-color: #3a3b3c;
}

/* Yorum Avatar */
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.comment-avatar.anonymous {
    background: linear-gradient(135deg, #71767b 0%, #8a8d91 100%);
}

/* Yorum İçerik */
.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #333;
}

body.dark-mode .comment-author {
    color: #e4e6eb;
}

.comment-author.anonymous {
    color: #71767b;
    font-style: italic;
}

.comment-time {
    font-size: 0.8125rem;
    color: #71767b;
}

.comment-replying-to {
    display: block;
    font-size: 0.8125rem;
    color: #1d9bf0;
    margin-bottom: 0.25rem;
}

.comment-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #333;
    word-wrap: break-word;
    margin-bottom: 0.625rem;
}

body.dark-mode .comment-text {
    color: #e4e6eb;
}

/* Yorum Menüsü */
.comment-menu {
    position: relative;
}

.comment-menu-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: #71767b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.comment-menu-btn:hover {
    background: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
}

.comment-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
}

body.dark-mode .comment-menu-dropdown {
    background: #2f3336;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.comment-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.comment-menu-dropdown button {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    transition: background 0.15s;
}

body.dark-mode .comment-menu-dropdown button {
    color: #e4e6eb;
}

.comment-menu-dropdown button:hover {
    background: #f5f5f5;
}

body.dark-mode .comment-menu-dropdown button:hover {
    background: #3a3b3c;
}

.comment-delete-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

body.dark-mode .comment-delete-btn:hover {
    background: rgba(220, 38, 38, 0.2) !important;
}

/* Yorum Aksiyon Butonları */
.comment-actions {
    display: flex;
    gap: 0.25rem;
    margin-left: -0.5rem;
}

.comment-action-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #71767b;
    cursor: pointer;
    transition: all 0.15s;
}

.comment-action-btn:hover {
    background: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
}

.comment-action-btn .action-icon {
    font-size: 1rem;
    transition: transform 0.15s;
}

.comment-action-btn:hover .action-icon {
    transform: scale(1.1);
}

.comment-action-btn.active {
    color: #f91880;
}

.comment-like-btn:hover {
    background: rgba(249, 24, 128, 0.1);
    color: #f91880;
}

.comment-like-btn.active .action-icon {
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Yanıt Formu (Inline) */
.comment-reply-form {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f5f7f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

body.dark-mode .comment-reply-form {
    background: #242526;
    border-color: #3a3b3c;
}

.reply-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
}

.replying-to-label {
    font-size: 0.8125rem;
    color: #1d9bf0;
}

.reply-cancel-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.875rem;
    color: #71767b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.reply-cancel-btn:hover {
    background: rgba(244, 33, 46, 0.1);
    color: #f4212e;
}

.reply-input-wrapper {
    display: flex;
    gap: 0.625rem;
}

.reply-input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: inherit;
    resize: none;
    min-height: 40px;
    max-height: 120px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s;
}

body.dark-mode .reply-input {
    background: #1a1a1a;
    color: #e4e6eb;
    border-color: #3a3b3c;
}

.reply-input:focus {
    outline: none;
    border-color: #1d9bf0;
}

.reply-submit-btn {
    padding: 0.5rem 1rem;
    background: #1d9bf0;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.reply-submit-btn:hover:not(:disabled) {
    background: #1a8cd8;
}

.reply-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .comments-section {
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        border-left: none;
        border-right: none;
    }
    
    .comment-form-container {
        padding: 0.875rem 1rem;
    }
    
    .comment-form-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }
    
    .comment-input-container textarea {
        min-height: 60px;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .comment-item {
        padding: 0.875rem 1rem;
    }
    
    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .comment-reply {
        margin-left: 1.5rem;
        padding-left: 0.75rem;
    }
    
    .comment-replies {
        margin-left: 1.875rem;
    }
    
    .comment-actions {
        gap: 0;
    }
    
    .comment-action-btn {
        padding: 0.25rem 0.5rem;
    }
    
    .comment-action-btn .action-text {
        display: none;
    }
    
    .reply-input-wrapper {
        flex-direction: column;
    }
    
    .reply-submit-btn {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .comment-form-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .comment-submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .comments-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .comments-sort {
        width: 100%;
    }
    
    .comments-sort select {
        width: 100%;
    }
}
