@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
	background: #f0f2f5;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Geri / Breadcrumb ---- */
.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 50px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	transition: all 0.18s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	text-decoration: none;
}
.back-btn:hover {
	background: #f9fafb;
	border-color: rgba(0,0,0,0.13);
	color: #111827;
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* ---- Detail Card ---- */
.detail-card {
	background: #fff;
	border-radius: 20px !important;
	border: 1px solid rgba(0,0,0,0.06) !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03) !important;
	margin-bottom: 16px;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

/* ---- Kullanıcı Header ---- */
.user-info-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.1px;
}
.user-info-handle {
	font-size: 0.78rem;
	color: #9ca3af;
	font-weight: 500;
}

/* ---- Status Badges ---- */
.status-pill-solved {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
	border-radius: 50px;
	padding: 5px 14px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: -0.1px;
}
.status-pill-pending {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #fffbeb;
	color: #d97706;
	border: 1px solid #fde68a;
	border-radius: 50px;
	padding: 5px 14px;
	font-size: 0.8rem;
	font-weight: 700;
}
.status-pill-waiting {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f9fafb;
	color: #6b7280;
	border: 1px solid #e5e7eb;
	border-radius: 50px;
	padding: 5px 14px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* ---- Meta Pill ---- */
.meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 50px;
	padding: 5px 14px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #374151;
}

/* ---- Media Tabs ---- */
.nav-pills.media-tabs .nav-link {
	border-radius: 50px;
	color: #6b7280;
	padding: 7px 18px;
	font-weight: 600;
	font-size: 0.84rem;
	margin-right: 4px;
	border: none;
	transition: all 0.18s;
	letter-spacing: -0.1px;
}
.nav-pills.media-tabs .nav-link:hover:not(.active) {
	background: #f3f4f6;
	color: #111827;
}
.nav-pills.media-tabs .nav-link.active {
	background: linear-gradient(135deg, #059669, #047857) !important;
	color: #fff !important;
	border-color: transparent !important;
	box-shadow: 0 2px 10px rgba(5,150,105,0.35) !important;
}
.nav-pills.media-tabs .nav-link.active i { color: #fff !important; }

/* ---- Hero Image ---- */
.hero-img-container {
	border-radius: 14px !important;
	overflow: hidden;
}
.hero-img { transition: transform 0.4s ease; }
.hero-img-container:hover .hero-img { transform: scale(1.02); }

/* ---- Çözüm Kutusu ---- */
.solution-box {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	border: 1px solid #a7f3d0;
	border-radius: 14px;
	padding: 20px;
}

/* ---- Interaction Tabs ---- */
.interaction-tab-btn {
	padding: 12px 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	background: none;
	border: none;
	border-bottom: 2.5px solid transparent;
	border-radius: 0;
	transition: all 0.18s;
	cursor: pointer;
	white-space: nowrap;
}
.interaction-tab-btn:hover { color: #111827; background: #f9fafb; }
.interaction-tab-btn.active {
	color: #059669;
	border-bottom-color: #059669;
	background: none;
}
.interaction-tab-btn .badge-count {
	font-size: 0.68rem;
	padding: 2px 7px;
	border-radius: 20px;
	font-weight: 700;
	margin-left: 5px;
}

/* ---- Destek/Participant Kartları ---- */
.participant-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #f9fafb;
	border: 1px solid #f3f4f6;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.18s;
}
.participant-card:hover {
	background: #f0fdf4;
	border-color: #bbf7d0;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(5,150,105,0.08);
}
.participant-card img { border: 2px solid #e5e7eb; flex-shrink: 0; }

/* ---- Sağ Sidebar Cards ---- */
.sidebar-action-card {
	background: #fff;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,0.06);
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	padding: 20px;
	margin-bottom: 14px;
}

/* ---- Bekliyor Kutusu ---- */
.waiting-box {
	background: linear-gradient(135deg, #fef2f2, #fee2e2);
	border: 1px solid #fca5a5;
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	margin-bottom: 18px;
}
.waiting-box .days-number {
	font-size: 2.2rem;
	font-weight: 800;
	color: #dc2626;
	letter-spacing: -1px;
	line-height: 1;
}
.waiting-box .days-label {
	font-size: 0.82rem;
	color: #ef4444;
	font-weight: 600;
	margin-top: 4px;
}
.waiting-icon {
	width: 48px; height: 48px;
	background: rgba(220,38,38,0.1);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: #dc2626;
	margin-bottom: 10px;
}

/* ---- Çözüldü Kutusu ---- */
.solved-box {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	border: 1px solid #a7f3d0;
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	margin-bottom: 18px;
}
.solved-icon {
	width: 48px; height: 48px;
	background: rgba(5,150,105,0.1);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: #059669;
	margin-bottom: 10px;
}

/* ---- Support Butonları ---- */
.btn-support {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 12px 20px;
	font-weight: 700;
	font-size: 0.9rem;
	width: 100%;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(37,99,235,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-decoration: none;
}
.btn-support:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	color: #fff;
	box-shadow: 0 6px 18px rgba(37,99,235,0.4);
	transform: translateY(-1px);
}
.btn-leave-support {
	background: #fff;
	color: #dc2626;
	border: 1.5px solid #fca5a5;
	border-radius: 12px;
	padding: 11px 20px;
	font-weight: 700;
	font-size: 0.9rem;
	width: 100%;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-decoration: none;
}
.btn-leave-support:hover {
	background: #fef2f2;
	border-color: #ef4444;
	color: #dc2626;
}
.btn-report-solution {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 12px 20px;
	font-weight: 700;
	font-size: 0.9rem;
	width: 100%;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(245,158,11,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-decoration: none;
}
.btn-report-solution:hover {
	background: linear-gradient(135deg, #d97706, #b45309);
	color: #fff;
	transform: translateY(-1px);
}
.btn-reported-disabled {
	background: #f9fafb;
	color: #9ca3af;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 11px 20px;
	font-weight: 600;
	font-size: 0.9rem;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	cursor: default;
}

/* ---- Paylaş ---- */
.share-btn {
	width: 44px; height: 44px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: all 0.18s;
	text-decoration: none;
}
.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.share-btn-wa { color: #25d366; }
.share-btn-wa:hover { background: #f0fdf4; border-color: #86efac; }
.share-btn-tw { color: #111827; }
.share-btn-tw:hover { background: #f3f4f6; border-color: #d1d5db; }
.share-btn-fb { color: #1877f2; }
.share-btn-fb:hover { background: #eff6ff; border-color: #bfdbfe; }
.share-btn-copy { color: #374151; cursor: pointer; }
.share-btn-copy:hover { background: #f3f4f6; border-color: #d1d5db; color: #111827; }

/* ---- Mobil FAB ---- */
.floating-action-bar {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	border-top: 1px solid rgba(0,0,0,0.07);
	padding: 12px 16px;
	z-index: 1000;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.floating-action-bar .btn {
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.875rem;
	padding: 11px 16px;
}

/* ---- Section Title ---- */
.section-heading {
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.2px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 7px;
}
.issue-update-description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

#gelismeler {
    scroll-margin-top: 100px;
}

.issue-update-image {
    max-height: 360px;
    object-fit: contain;
}

/* Paylaşım kartının altındaki gelişme listesi. */
.issue-updates-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.issue-updates-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #edf1e6;
    color: #52734b;
    font-size: 1.1rem;
}
.issue-updates-heading h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    color: #243c32;
    font-size: .95rem;
    font-weight: 600;
}
.issue-updates-heading p,
.issue-updates-hint {
    margin: 0;
    color: #637060;
    font-size: .75rem;
    line-height: 1.6;
}
.issue-updates-count {
    padding: 2px 7px;
    border-radius: 6px;
    background: #edf1e6;
    color: #365f3d;
    font-size: .7rem;
}
.issue-update-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd7c6 transparent;
}
.issue-update-trigger {
    display: flex;
    gap: 13px;
    width: 100%;
    padding: 14px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    color: #243c32;
    transition: background .15s ease;
}
.issue-update-list-item + .issue-update-list-item {
    border-top: 1px solid #eef1e9;
}
.issue-update-trigger:hover { background: #f5f7f0; }
.issue-update-trigger:focus-visible,
.issue-update-add:focus-visible,
.issue-updates-private summary:focus-visible {
    outline: 2px solid #285b46;
    outline-offset: -2px;
}
.issue-update-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #779b64;
    box-shadow: 0 0 0 4px #edf1e6;
}
.issue-update-summary { display: grid; gap: 7px; flex: 1; min-width: 0; }
.issue-update-summary time { color: #7b8870; font-size: .7rem; line-height: 1.3; }
.issue-update-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.65;
}
.issue-update-byline { display: flex; align-items: center; gap: 8px; min-width: 0; color: #7b8870; font-size: .7rem; }
.issue-update-byline > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.issue-update-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 16px;
    border: 1px solid #d8e2d1;
    border-radius: 8px;
    background: #f5f7f0;
    color: #365f3d;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}
.issue-update-add:hover { background: #edf1e6; color: #285b46; }
.issue-updates-empty { padding: 20px 12px; border: 1px dashed #dce3d5; border-radius: 10px; text-align: center; color: #7b8870; }
.issue-updates-empty > i { font-size: 1.5rem; }
.issue-updates-empty p { margin: 8px 0 4px; color: #637060; font-size: .8rem; }
.issue-updates-empty span { font-size: .74rem; }
.issue-updates-private { border-top: 1px solid #e5e9df; margin-top: 18px; padding-top: 16px; }
.issue-updates-private summary { margin-bottom: 8px; color: #466044; font-size: .76rem; font-weight: 600; cursor: pointer; }
.issue-update-status { display: inline-block; width: fit-content; border-radius: 6px; padding: 4px 8px; background: #eff2e9; color: #637060; font-size: .7rem; }
.issue-update-status--pending { background: #f6f0e2; color: #766135; }
.issue-update-status--rejected { background: #f9eeeb; color: #94564b; }
.issue-updates-pagination { overflow-x: auto; }
.issue-updates-pagination .pagination { --bs-pagination-padding-x: .6rem; --bs-pagination-padding-y: .25rem; font-size: .75rem; }
.issue-update-modal .modal-header,
.issue-update-modal .modal-body { padding: 24px; }
.issue-update-modal .modal-header > .d-flex { min-width: 0; padding-right: 16px; }
.issue-update-modal .modal-content { border-radius: 14px; }
.issue-update-modal-subtitle { margin-top: 4px; color: #637060; font-size: .78rem; overflow-wrap: anywhere; }
.issue-update-modal .issue-update-image { display: block; width: 100%; max-height: 60vh; background: #f5f7f0; }
.issue-update-modal .modal-footer { border-color: #e5e9df; padding: 14px 24px; }
@media (max-width: 991.98px) {
    .issue-detail-sidebar-column { padding-bottom: 80px; }
}
@media (max-width: 575.98px) {
    .issue-update-modal .modal-header,
    .issue-update-modal .modal-body { padding: 18px; }
    .issue-update-modal .modal-footer { padding: 12px 18px; }
}
