:root {
	--primary: #f43f7a;
	--primary-light: #fce7ef;
	--secondary: #1a1a2e;
	--blue: #27c6da;
	--gray: #f4f4f4;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: #f8fafc;
	font-size:14px
}

/* Özel stiller */
.bg-primary-custom {
	background-color: var(--primary) !important;
}

.text-primary-custom {
	color: var(--primary) !important;
}

.bg-secondary-custom {
	background-color: var(--secondary) !important;
}

.text-secondary-custom {
	color: var(--secondary) !important;
}

.bg-primary-light {
	background-color: var(--primary-light);
}
.bg-grey {background-color: var(--gray);}
.fs-12 {font-size:12px}
/* Header */
.header-blur {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

/* Search bar */
.search-input {
	border-radius: 50px !important;
	background-color: #f5f5f5;
	border: none;
	padding-left: 45px;
}
input:focus,
input:focus-visible, .form-control:focus, 
.form-select:focus-visible, .form-select:focus {outline: none;box-shadow: none;border-color: #ddd;}
.search-input:focus {
	background-color: white;
	box-shadow: 0 0 0 2px rgba(244, 63, 122, 0.2) !important;
}

.search-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #6c757d;
	z-index: 10;
}
#tagWrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#tagInput {
	border: none;
	outline: none;
	flex: 1;
	min-width: 120px;
}

/* Buttons */
.btn-primary-custom {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
	border-radius: 50px;
}

.btn-primary-custom:hover {
	background-color: rgba(244, 63, 122, 0.9);
	border-color: rgba(244, 63, 122, 0.9);
	box-shadow: 0 6px 16px rgba(244, 63, 122, 0.4);
	color: white;
}

.btn-outline-custom {
	border-radius: 50px;
	padding: 8px 20px;
	border: 1px solid #dee2e6;
	color: #495057;
}

.btn-outline-custom:hover {
	background-color: #f8f9fa;
	border-color: #adb5bd;
}

/* Category pills */
.category-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 8px;
	color: #444;
	border: 1px solid #eee;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
	transition: all 0.2s;
	flex-shrink: 1;
    flex-grow: 1;
}

.category-pill:hover {
	background-color: #e9ecef;
	color: #212529;
	text-decoration: none;
}

.category-pill.active {
	background-color: var(--primary);
	color: white;
}
.category-pill img {border-radius:5px;margin-right:8px}
/* Cards */
.card-custom {
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	height: 100%;
}

.card-img-container {
	height: 180px;
	overflow: hidden;
}

.card-img-top {
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.card-custom:hover .card-img-top {
	transform: scale(1.05);
}

.card-category {
	position: absolute;
	top: 12px;
	left: 12px;
	background-color: var(--primary);
	color: white;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}

.card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
	padding: 12px;
}
.clear-both {clear:both}
.card-header, .card-footer {background:#fff;border-color:#eee}
.footer-top span {display:inline-block;font-size:13px;color:#777;padding-top:5px;padding-bottom:10px}
.footer-bottom {clear:both;border-top:1px solid #eee;padding:5px 0px}
.footer-bottom button {width:32.5%;display:inline-block;text-align:center;font-size:13px}
.float-left {float:left}
.float-right {float:right}
.p-t-5 {padding-top:5px}
.p-r-5 {padding-right:5px}
.p-l-5 {padding-left:5px}
.p-l-10 {padding-left:10px}
.closeDiv, .footerComments, .commentText, .card-footer .sonuc{display:none}
.card-footer .sonuc{margin:8px 0px}
.footer-question {padding:8px 5px;background:#eee;overflow:hidden;border-radius:8px;display:none;width:100%}
.footer-question .textForm {border:none;background:none;margin-bottom:0px;resize:none;width:100%;}
.textForm:focus,
.textForm:focus-visible {outline: none !important;box-shadow: none !important;border-color: transparent;}
.footer-question .btn {float:right}
.modal h5 {font-size: 1rem}
.fixedQuestion {position: fixed;top: 25px;left: 50%;transform: translateX(-50%);z-index: 9999;box-shadow: 0 0 27px #ccc !important;height: auto;max-width: 571px;width: 96%;max-height: calc(100vh - 50px);display: flex;flex-direction: column;}
.fixedQuestion .footer-question,.fixedQuestion .closeDiv,.fixedQuestion .footerComments, .fixedQuestion .commentText, .fixedQuestion .sonuc {display:block}
.footerComments {padding:8px 0px}
.footerComments .comment-time {color:#888;font-size:11px;line-height: 22px;}
.footerComments .comment-header {padding-bottom:4px}
.footerComments img {border-radius:50%}
.fixedQuestion .openMenu, .fixedQuestion .footer-bottom {display:none}
.fixedQuestion .alert {width: 100%;display: block;margin: 0;}
.textAreaDiv {border-bottom:1px solid #ccc;padding: 0px;}
.footer-question-button {border-top: 1px solid #f9f5f5;padding-top: 9px;}
.noScroll::before {content:"";position:fixed;width:100%;height:100vh;top:0;left:0;background: rgba(255, 255, 255, 0.5);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);z-index:9999}
.noScroll {overflow-y:hidden}
.fixedQuestion.card-custom.questions {overflow-y: scroll;}
.fixedQuestion .post-image, .fixedQuestion .post-image img {max-height: 100%;height: auto;overflow: inherit;}
.comment-body {padding: 6.20px;background: #f0f2f5;border-radius: 6.20px;}
.mobileSearch svg {position:absolute;margin-top: 10px;margin-left: 9px;}
.mobileSearch input {border-radius:8px !important;border:1px solid #ddd;padding:8px 8px 8px 45px}

/* Featured cards */
.featured-card {
	height: 320px;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}

.featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.featured-card:hover .featured-img {
	transform: scale(1.05);
}

.featured-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
}

.featured-category {
	position: absolute;
	top: 16px;
	left: 16px;
}

/* User avatar */
.avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	background: var(--secondary);
	color: white;
	overflow: hidden;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.line-clamp-2{ display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.best-answer{ background-color:#ecfdf5 !important; }
.answer-card:hover{ background-color:#f9fafb !important; }
.card-hover:hover{ transform:translateY(-4px);transition:transform .2s; }
.group:hover .group-hover-text-primary{ color:var(--bs-primary) !important; }
.userAvatar {width: 36px;height: 36px;background: var(--secondary);border-radius: 50%;padding: 5px 10px;color: #fff;line-height: 22px;}
/* Notification badge */
.notification-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 18px;
	height: 18px;
	background-color: var(--primary);
	color: white;
	font-size: 9px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Stats */
.stat-item {
	display: flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

/* Tabs */
.tab-link {
	padding-bottom: 12px;
	border-bottom: 2px solid transparent;
	color: #6c757d;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
}

.tab-link:hover {
	color: #495057;
}

.tab-link.active {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

/* Modal */
.modal-custom {
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content-custom {
	border-radius: 16px;
	max-height: 70vh;
	overflow-y: auto;
}

/* Scrollbar hide for categories */
.scrollbar-hide {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
	display: none;
}

/* Line clamp */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Logo */
.logo-box {
	width: 36px;
	height: 36px;
	background-color: var(--primary);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 700;
	font-size: 18px;
}
a {text-decoration:none}
.fw-semibold a {color:#fff;}
.card-title {font-size:15px;height:48px}
.postFooter {width:100%}
.postFooter button {width:33.3%;float:left;font-size:14px}
.postFooter button svg {vertical-align: sub;}
.bhoverPink:hover {background: var(--primary);color:#fff}
.bhoverBlue:hover {background:var(--secondary);color:#fff}
.bhoverGreen:hover {background:var(--blue);color:#fff}
.profileImage img {width:40px;height:40px;border-radius:50%}
.profileName span {display:block}
.profileTime {font-size:12px}
.post-text {height:40px}
.post-image {
    max-height: 150px; 
    overflow: hidden;
    border-radius: 8px;
	padding-top:15px
}

.post-image img {
    width: 100%;
    height: 150px; 
    object-fit: cover;
    display: block;
}
.miniMenu {text-align:right;padding-top:5px;cursor:pointer}
/* Buttons */
.btn-success {background-color:#0c8288;border:none}
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #777;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.mobile-bottom-bar svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    margin-bottom: 2px;
}

.mobile-bottom-bar a.active {
    color: #f43f5e; /* Sosyalle rengi */
}

.mobile-bottom-bar a:active {
    transform: scale(0.95);
}

/* Orta Paylaş Butonu */
.mobile-bottom-bar .center-btn {
    background: #f43f5e;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-top: -28px;
    color: #fff;
	flex: inherit;
}

.mobile-bottom-bar .center-btn svg {
    stroke: #fff;
    width: 26px;
    height: 26px;
    margin: 0;
}

.mobile-bottom-bar .center-btn span {
    display: none;
}

@media (min-width:980px)
{
	.mobile-show {display:none !important}
}
@media (max-width:980px)
{
	.mobile-hide {display:none !important}
	body {padding-bottom: 35px}
}
.likeBtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: #555;
}

.likeBtn .likeIcon {
	transition: transform .25s ease, color .25s ease;
}

/* Beğenildi hali */
.likeBtn.active {
	color: #e0245e;
}

.likeBtn.active .likeIcon {
	color: #e0245e;
	transform: scale(1.2);
}

/* Patlama animasyonu */
.likeBtn.pop .likeIcon {
	animation: likePop .6s cubic-bezier(.17,.89,.32,1.49);
}

@keyframes likePop {
	0%   { transform: scale(0.2); opacity: .5; }
	50%  { transform: scale(1.4); opacity: 1; }
	100% { transform: scale(1); }
}


