/* Modern MyBB Theme - Global CSS */

/* ==========================================
   TEMEL YAPILAR VE TIPOGRAFI
   ========================================== */

body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #2d3748;
	text-align: center;
	line-height: 1.6;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	overflow-y: scroll;
}

a:link, a:visited {
	color: #667eea;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover, a:active {
	color: #764ba2;
	text-decoration: none;
}

#container {
	color: #2d3748;
	text-align: left;
	line-height: 1.6;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	min-width: 990px;
}

.wrapper {
	width: 90%;
	min-width: 970px;
	max-width: 1400px;
	margin: 20px auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

/* ==========================================
   HEADER VE LOGO
   ========================================== */

#logo {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 20px 30px;
	border-bottom: 3px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

#logo::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 10px;
	display: inline-block;
}

#header ul.menu li a {
	padding: 8px 16px 8px 36px;
	background-image: url(../../../images/headerlinks_sprite.png);
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 20px;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-weight: 500;
}

#header ul.menu li a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

/* YERİNE ŞUNU KOY (daha iyi ve tam boy gradyan header) */
#logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 40px; /* biraz daha ferah olsun */
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

#logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* Logo sol tarafta */
#logo .logo {
    display: block;
}

#logo .logo img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

#logo .logo img:hover {
    transform: scale(1.05);
}

/* Sağ üst linkler (Arama, Takvim, Yardım vs.) */
#logo .top_links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
    background: none !important; /* beyaz arka planı tamamen kaldır */
}

#logo .top_links a {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
}

#logo .top_links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

#logo ul.top_links a {
	color: #2d3748;
	text-shadow: none;
	font-weight: 700;
}
#logo ul.top_links a:hover {
	color: #1a202c;
}

#logo ul.top_links a.search,
#logo ul.top_links a.memberlist,
#logo ul.top_links a.calendar,
#logo ul.top_links a.help,
#logo ul.top_links a.portal {
	background-image: none;
}
/* ==========================================
   PANEL (Üst Kullanıcı Bilgileri)
   ========================================== */

#panel .upper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    padding: 15px 20px;
    color: #000000;
}
#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
    color: #000000 !important;
    font-weight: 600;
}

/* "Tekrar Hoşgeldiniz" yazısının soluna boşluk ekledik */
#panel .upper .welcome {
    padding-left: 15px !important;
    display: inline-block;
}

/* Kullanıcı adı yetkiye göre renkli olsun */
#panel .upper strong a:link,
#panel .upper strong a:visited {
    font-weight: 700 !important;
}
#panel .upper strong a.usercp[href*="usercp"] { color: #e0e7ff !important; }        /* Normal kullanıcı */
#panel .upper strong a.modcp[href*="modcp"]   { color: #34d399 !important; }        /* Moderatör - yeşil */
#panel .upper strong a.admincp[href*="admin"] { color: #ff4d4d !important; }        /* Admin - kırmızı */

/* ÇIKIŞ YAP butonunu tamamen yeni pill buton yaptık (sprite kaldırıldı) */
#panel .upper a.logout {
    font-weight: 600;
    background: rgba(239, 68, 68, 0.45) !important;
    background-image: none !important;
    padding: 10px 24px 10px 12px !important;
    margin-left: 12px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(239, 68, 68, 0.6);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
#panel .upper a.logout:hover {
    background: rgba(239, 68, 68, 0.65) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(239, 68, 68, 0.9);
}

/* Giriş Yap ve Kayıt Ol butonları (eski hali korundu ama biraz güzelleştirildi) */
#panel .upper a.login,
#panel .upper a.lost_password {
    background: url(../../../images/headerlinks_sprite.png) 0 -100px no-repeat;
    padding: 6px 12px 6px 24px;
    margin-left: 10px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: rgba(102, 126, 234, 0.3);
}
#panel .upper a.login:hover,
#panel .upper a.lost_password:hover {
    background-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}
#panel .upper a.register {
    background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
    padding: 6px 24px 6px 12px;
    margin-left: 10px;
    font-weight: 600;
    border-radius: 6px;
    background-color: rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}
#panel .upper a.register:hover {
    background-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

#panel .lower {
    background: linear-gradient(to bottom, #f7fafc, #edf2f7);
    color: #4a5568;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #cbd5e0;
    padding: 10px 20px;
}
#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #4a5568;
    font-weight: 500;
}
#panel .lower ul.panel_links {
    float: left;
}

/* AdminCP, ModCP, UserCP butonları - YENİ HALİ (orijinal korundu, sadece renkler güncellendi) */
#panel .lower ul.panel_links a.usercp,
#panel .lower ul.panel_links a.modcp,
#panel .lower ul.panel_links a.admincp {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 6px;
    background-image: none !important;
}
#panel .lower ul.panel_links a.usercp:hover,
#panel .lower ul.panel_links a.modcp:hover,
#panel .lower ul.panel_links a.admincp:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Yetkiye göre renkler */
#panel .lower ul.panel_links a.admincp {
    background: rgba(200, 30, 30, 0.45);
    border-color: rgba(200, 30, 30, 0.6);
}
#panel .lower ul.panel_links a.admincp:hover {
    background: rgba(200, 30, 30, 0.6);
}
#panel .lower ul.panel_links a.modcp {
    background: rgba(34, 197, 94, 0.45);
    border-color: rgba(34, 197, 94, 0.6);
}
#panel .lower ul.panel_links a.modcp:hover {
    background: rgba(34, 197, 94, 0.6);
}
#panel .lower ul.panel_links a.usercp {
    background: rgba(50, 50, 50, 0.45);
    border-color: rgba(50, 50, 50, 0.6);
}
#panel .lower ul.panel_links a.usercp:hover {
    background: rgba(50, 50, 50, 0.6);
}

/* EN ALTTAKİ 3 LİNK (Yeni Gönderiler, Bugünün Gönderileri, Özel Mesajlar) → PİLL BUTON */
#panel .lower .lower-links a {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 6px;
    text-decoration: none;
    display: inline-block;
}
#panel .lower .lower-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Her birine özel renk */
#panel .lower .lower-links a[href*="unread"]   { background: rgba(99, 102, 241, 0.45); border-color: rgba(99, 102, 241, 0.6); }   /* Yeni Gönderiler - mor */
#panel .lower .lower-links a[href*="today"]    { background: rgba(34, 197, 94, 0.45); border-color: rgba(34, 197, 94, 0.6); }    /* Bugünün Gönderileri - yeşil */
#panel .lower .lower-links a[href*="private"]  { background: rgba(251, 146, 60, 0.45); border-color: rgba(251, 146, 60, 0.6); }   /* Özel Mesajlar - turuncu */

/* Eski düz metinleri gizle */
#panel .lower strong a[href*="search.php?action=unread"],
#panel .lower strong a[href*="search.php?action=today"],
#panel .lower strong a[href*="private.php"] {
    display: none !important;
}

/* ==========================================
   İÇERİK ALANI
   ========================================== */

#content {
	background: #fff;
	width: auto !important;
	padding: 30px 20px;
	overflow: hidden;
	min-height: 500px;
}

/* ==========================================
   ARAMA FORMU
   ========================================== */

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.textbox {
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	padding: 8px 12px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

#search input.textbox:focus {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	outline: none;
}

#search input.textbox::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

#search input.button {
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
	margin-left: 5px;
}

#search input.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

/* ==========================================
   FOOTER
   ========================================== */

#footer {
	clear: both;
	margin-top: 20px;
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 8px;
	display: inline-block;
}

#footer .upper {
	background: linear-gradient(to bottom, #f7fafc, #edf2f7);
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #cbd5e0;
	padding: 15px 20px;
	font-size: 13px;
	overflow: hidden;
	border-radius: 0 0 12px 12px;
}

#footer a:link,
#footer a:visited {
	color: #4a5568;
	font-weight: 500;
}

#footer a:hover,
#footer a:active {
	color: #667eea;
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	padding: 6px;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	padding: 6px;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 6px 0 0 0;
}

#footer .lower {
	color: #333; /* DEĞİŞTİ (Eskisi: rgba(255, 255, 255, 0.8)) */
	padding: 15px 20px;
	overflow: hidden;
	font-size: 12px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #000; /* DEĞİŞTİ (Eskisi: #fff) */
	font-weight: 600;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #000; /* DEĞİŞTİ (Eskisi: #fff) */
	text-decoration: underline;
}

#footer .lower #current_time {
	float: right;
	color: #333; /* DEĞİŞTİ (Eskisi: rgba(255, 255, 255, 0.9)) */
	font-weight: 500;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
	color: #718096;
}

/* ==========================================
   RESİM YÖNETİMİ
   ========================================== */

.scaleimages img {
	max-width: 100%;
	border-radius: 6px;
}

/* ==========================================
   FORUM İKONLARI
   ========================================== */

.forum_status {
	height: 30px;
	width: 30px;
	background: url(../../../images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.forum_on {
	background-position: 0 0;
}

.forum_off {
	background-position: 0 -30px;
}

.forum_offclose {
	background-position: 0 -60px;
}

.forum_offlink {
	background-position: 0 -90px;
}

.subforumicon {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin: 0 5px;
	background: url(../../../images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion {
	background-position: 0 0;
}

.subforum_minioff {
	background-position: 0 -10px;
}

.subforum_minioffclose {
	background-position: 0 -20px;
}

.subforum_miniofflink {
	background-position: 0 -30px;
}

/* ==========================================
   TABLO YAPILARI
   ========================================== */

table {
	color: #2d3748;
	font-size: 14px;
}

.tborder {
	background: #fff;
	width: 100%;
	margin: auto auto;
	border: 1px solid #e2e8f0;
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	padding: 12px 15px;
	font-weight: 600;
	font-size: 15px;
}

.thead a:link,
.thead a:visited {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

.thead a:hover,
.thead a:active {
	color: #ffffff;
	text-decoration: none;
	opacity: 0.9;
}

.tcat {
	background: linear-gradient(to right, #2d3748, #1a202c);
	color: #fff;
	border-top: 1px solid #4a5568;
	border-bottom: 1px solid #1a202c;
	padding: 10px 15px;
	font-size: 13px;
	font-weight: 600;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
	color: #fff;
	font-weight: 600;
}

.trow1 {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	transition: background 0.2s ease;
}

.trow1:hover {
	background: #f7fafc;
}

.trow2 {
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	transition: background 0.2s ease;
}

.trow2:hover {
	background: #edf2f7;
}

.trow_shaded {
	background: linear-gradient(to right, #fff5f5, #fed7d7);
	border: 1px solid #fc8181;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: linear-gradient(to right, #fff5f5, #fed7d7);
	border-left: 4px solid #f56565;
}

.thread_start_datetime {
	color: #a0aec0;
	font-size: 13px;
}

.post.unapproved_post .post_author {
	border-bottom-color: #fc8181;
}

.post.classic.unapproved_post .post_author {
	border-color: #fc8181;
}

.post.unapproved_post .post_controls {
	border-top-color: #fc8181;
}

.trow_deleted,
.post.deleted_post {
	background: linear-gradient(to right, #faf5ff, #e9d8fd);
	border-left: 4px solid #b794f4;
}

.trow_selected,
tr.trow_selected td {
	background: linear-gradient(to right, #fefcbf, #faf089);
	color: #2d3748;
	border-right-color: #ecc94b;
	border-bottom-color: #ecc94b;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #2d3748;
}

.trow_sep {
	background: linear-gradient(to right, #edf2f7, #e2e8f0);
	color: #2d3748;
	border-bottom: 2px solid #cbd5e0;
	padding: 10px 15px;
	font-size: 13px;
	font-weight: 600;
}

.tfoot {
	border-top: 1px solid #e2e8f0;
	padding: 12px 15px;
	background: linear-gradient(to bottom, #f7fafc, #edf2f7);
	color: #4a5568;
	font-size: 13px;
}

.tfoot a:link,
.tfoot a:visited {
	color: #4a5568;
	text-decoration: none;
	font-weight: 500;
}

.tfoot a:hover,
.tfoot a:active {
	color: #667eea;
	text-decoration: none;
}

.thead input.textbox,
.thead select {
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 4px;
}

.thead input.textbox::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.bottommenu {
	background: #f7fafc;
	color: #2d3748;
	border: 1px solid #e2e8f0;
	padding: 15px;
	border-radius: 8px;
	margin-top: 15px;
}

/* ==========================================
   NAVİGASYON
   ========================================== */

.navigation {
	color: #4a5568;
	font-size: 13px;
	padding: 10px 0;
	line-height: 1.8;
}

.navigation a:link,
.navigation a:visited {
	text-decoration: none;
	color: #667eea;
	font-weight: 500;
	margin: 0 2px;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: none;
	color: #764ba2;
}

.navigation .active {
	color: #2d3748;
	font-size: 13px;
	font-weight: 600;
	margin: 0 2px;
}

/* ==========================================
   YAZI TİPİ BOYUTLARI
   ========================================== */

.smalltext {
	font-size: 12px;
}

.largetext {
	font-size: 18px;
	font-weight: 700;
}

/* ==========================================
   FORM ELEMENTLERİ
   ========================================== */

fieldset {
	padding: 20px;
	border: 2px solid #e2e8f0;
	margin: 0;
	border-radius: 8px;
	background: #f7fafc;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #cbd5e0;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #ffffff;
	color: #2d3748;
	border: 2px solid #e2e8f0;
	padding: 10px 12px;
	outline: 0;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	border-radius: 6px;
	transition: all 0.3s ease;
}

input.textbox:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input.textbox.portal_search {
	width: 68%;
}

textarea {
	background: #ffffff;
	color: #2d3748;
	border: 2px solid #e2e8f0;
	padding: 10px 12px;
	line-height: 1.6;
	outline: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

textarea:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
	background: #ffffff;
	padding: 10px 12px;
	border: 2px solid #e2e8f0;
	outline: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
}

select:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button,
input.button {
	padding: 10px 20px;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: #fff;
	outline: 0;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover,
input.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

button:active,
input.button:active {
	transform: translateY(0);
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 2px solid #f56565;
	background: #fff5f5;
}

input.valid, textarea.valid, select.valid {
	border: 2px solid #48bb78;
	background: #f0fff4;
}

label.error {
	color: #e53e3e;
	margin: 8px 0;
	padding: 0px;
	display: block;
	font-weight: 600;
	font-size: 13px;
}

form #message {
	width: 500px;
}

/* ==========================================
   EDITOR
   ========================================== */

.editor {
	background: #f7fafc;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 8px;
	border-radius: 6px 6px 0 0;
}

.post .editor_control_bar {
	background: #f7fafc;
}

/* ==========================================
   POPUP MENÜ
   ========================================== */

.popup_menu {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.popup_menu .popup_item {
	background: #fff;
	color: #2d3748;
	padding: 10px 15px;
	transition: all 0.2s ease;
}

.popup_menu .popup_item:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

/* ==========================================
   REPUTATION
   ========================================== */

.trow_reputation_positive {
	background: linear-gradient(to right, #f0fff4, #c6f6d5);
	border-left: 4px solid #48bb78;
}

.trow_reputation_negative {
	background: linear-gradient(to right, #fff5f5, #fed7d7);
	border-left: 4px solid #f56565;
}

.reputation_positive {
	color: #38a169;
	font-weight: 600;
}

.reputation_neutral {
	color: #718096;
	font-weight: 600;
}

.reputation_negative {
	color: #e53e3e;
	font-weight: 600;
}

.repbox {
	font-size: 16px;
	font-weight: 700;
	padding: 8px 12px;
	border-radius: 6px;
	display: inline-block;
}

._neutral {
	background-color: #f7fafc;
	color: #718096;
	border: 2px solid #cbd5e0;
}

._minus {
	background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
	color: #fff;
	border: 2px solid #e53e3e;
	box-shadow: 0 2px 8px rgba(245, 101, 101, 0.3);
}

._plus {
	background: linear-gradient(135deg, #68d391 0%, #48bb78 100%);
	color: #fff;
	border: 2px solid #38a169;
	box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

/* ==========================================
   GENEL ELEMENTLER
   ========================================== */

img {
	border: none;
}

img.attachment {
	border: 2px solid #e2e8f0;
	padding: 4px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

img.attachment:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: scale(1.02);
}

hr {
	background: linear-gradient(to right, transparent, #cbd5e0, transparent);
	color: transparent;
	height: 2px;
	border: 0px;
	margin: 20px 0;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: linear-gradient(to right, #fefcbf, #faf089);
	border-bottom: 2px solid #ecc94b;
	color: #2d3748;
	text-align: center;
	padding: 10px;
	font-weight: 600;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
	transition: transform 0.3s ease;
}

.expcolimage:hover {
	transform: rotate(180deg);
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

/* ==========================================
   BLOCKQUOTE VE CODE
   ========================================== */

blockquote {
	border-left: 4px solid #667eea;
	margin: 15px 0;
	background: #f7fafc;
	padding: 15px 20px;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

blockquote cite {
	font-weight: 600;
	border-bottom: 2px solid #e2e8f0;
	font-style: normal;
	display: block;
	padding-bottom: 8px;
	margin: 0 0 12px 0;
	color: #667eea;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 13px;
	color: #718096;
}

blockquote cite span.highlight {
	float: none;
	font-weight: 700;
	padding-bottom: 0;
	color: #667eea;
}

.codeblock {
	background: #1a202c;
	border: 2px solid #2d3748;
	padding: 15px 20px;
	border-radius: 8px;
	margin: 15px 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.codeblock .title {
	border-bottom: 2px solid #4a5568;
	font-weight: 600;
	padding-bottom: 8px;
	margin: 0 0 12px 0;
	color: #667eea;
	font-size: 14px;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 400px;
	display: block;
	font-family: 'Fira Code', Monaco, Consolas, 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.6;
	color: #e2e8f0;
	background: #1a202c;
}

/* ==========================================
   SMILIES VE SEPARATORS
   ========================================== */

.smilie {
	vertical-align: middle;
	transition: transform 0.2s ease;
}

.smilie:hover {
	transform: scale(1.2);
}

.smilie_pointer {
	cursor: pointer;
}

.separator {
	margin: 10px 0;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

/* ==========================================
   POPUP MENU ITEMS
   ========================================== */

.popup_menu .popup_item_container {
	margin: 0;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 12px 20px;
	white-space: nowrap;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid #f7fafc;
}

.popup_menu .popup_item:last-child {
	border-bottom: none;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
	padding-left: 25px;
}

/* ==========================================
   SUBJECT VE HIGHLIGHT
   ========================================== */

.subject_new {
	font-weight: 700;
	color: #667eea;
}

.highlight {
	background: linear-gradient(to right, #fefcbf, #faf089);
	padding: 4px 8px;
	border-radius: 4px;
	font-weight: 600;
}

/* ==========================================
   ALERTS
   ========================================== */

.pm_alert {
	background: linear-gradient(to right, #fefcbf, #fef5e7);
	border: 2px solid #ecc94b;
	border-left: 5px solid #d69e2e;
	text-align: center;
	padding: 15px 25px;
	margin-bottom: 20px;
	font-size: 14px;
	border-radius: 8px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(236, 201, 75, 0.2);
}

.red_alert {
	background: linear-gradient(to right, #fff5f5, #fed7d7);
	border: 2px solid #fc8181;
	border-left: 5px solid #e53e3e;
	color: #c53030;
	text-align: center;
	padding: 15px 25px;
	margin-bottom: 20px;
	font-size: 14px;
	word-wrap: break-word;
	border-radius: 8px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(229, 62, 62, 0.2);
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #c53030;
	font-weight: 700;
	text-decoration: underline;
}

/* ==========================================
   WARNING LEVELS
   ========================================== */

.high_warning {
	color: #e53e3e;
	font-weight: 700;
}

.moderate_warning {
	color: #ed8936;
	font-weight: 700;
}

.low_warning {
	color: #d69e2e;
	font-weight: 700;
}

.imminent_banned {
	color: #742a2a;
	font-weight: 700;
}

.high_banned {
	color: #e53e3e;
	font-weight: 700;
}

.moderate_banned {
	color: #ed8936;
	font-weight: 700;
}

.low_banned {
	color: #38a169;
	font-weight: 700;
}

/* ==========================================
   ONLINE STATUS
   ========================================== */

.online {
	color: #38a169;
	font-weight: 600;
}

.online::before {
	content: '●';
	margin-right: 5px;
	animation: pulse 2s ease-in-out infinite;
}

.offline {
	color: #a0aec0;
	font-weight: 600;
}

.offline::before {
	content: '○';
	margin-right: 5px;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* ==========================================
   ERROR MESSAGES
   ========================================== */

div.error {
	padding: 15px 20px;
	border: 2px solid #fbd38d;
	border-left: 5px solid #ed8936;
	background: linear-gradient(to right, #fffaf0, #feebc8);
	font-size: 14px;
	border-radius: 8px;
	margin: 15px 0;
	box-shadow: 0 2px 8px rgba(237, 137, 54, 0.15);
}

div.error p {
	margin: 0;
	color: #2d3748;
	font-weight: normal;
	line-height: 1.6;
}

div.error p em {
	font-style: normal;
	font-weight: 700;
	padding-left: 30px;
	display: block;
	color: #c53030;
	background: url(../../../images/error.png) no-repeat 0 center;
	background-size: 20px;
	margin-bottom: 8px;
}

div.error ul {
	margin-left: 30px;
	margin-top: 8px;
}

div.error ul li {
	margin-bottom: 5px;
}

/* ==========================================
   PAGINATION
   ========================================== */

.pagination {
	font-size: 13px;
	padding-top: 15px;
	margin-bottom: 10px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: 700;
	color: #4a5568;
}

.pagination .pagination_current,
.pagination a {
	padding: 8px 14px;
	margin: 0 3px 5px 0;
	display: inline-block;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.pagination a {
	background: #fff;
	border: 2px solid #e2e8f0;
	color: #4a5568;
	font-weight: 600;
}

.pagination .pagination_current {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: 2px solid transparent;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination a:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-color: transparent;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: #f7fafc;
	padding: 10px;
	border-radius: 6px;
	border: 2px solid #e2e8f0;
}

.pagination_breadcrumb {
	background-color: #f7fafc;
	border: 2px solid #e2e8f0;
	padding: 12px 15px;
	margin-top: 10px;
	font-weight: 500;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
	color: #667eea;
	font-weight: 600;
	transition: color 0.2s ease;
}

.pagination_breadcrumb_link:hover {
	color: #764ba2;
}

/* ==========================================
   LEGEND
   ========================================== */

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 8px;
	margin-right: 20px;
	font-weight: 500;
}

.thread_legend img {
	margin-right: 8px;
	vertical-align: middle;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 15px;
	margin-top: 10px;
	font-weight: 500;
}

.forum_legend dt {
	margin-right: 15px;
	float: left;
	font-weight: 600;
}

/* ==========================================
   SUCCESS VE ERROR MESSAGES
   ========================================== */

.success_message {
	color: #38a169;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 15px;
	padding: 12px 20px;
	background: linear-gradient(to right, #f0fff4, #c6f6d5);
	border-left: 5px solid #48bb78;
	border-radius: 6px;
}

.error_message {
	color: #e53e3e;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 15px;
	padding: 12px 20px;
	background: linear-gradient(to right, #fff5f5, #fed7d7);
	border-left: 5px solid #fc8181;
	border-radius: 6px;
}

/* ==========================================
   POSTS CONTAINER
   ========================================== */

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #4a5568;
	padding: 20px;
	background: #f7fafc;
	border-radius: 8px;
	margin-bottom: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid #cbd5e0;
	padding: 20px;
	background: #f7fafc;
	border-radius: 8px;
	margin-bottom: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #4a5568;
	padding: 20px;
	background: linear-gradient(to right, #faf5ff, #e9d8fd);
	border-radius: 8px;
	margin-bottom: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

/* ==========================================
   POST STYLING
   ========================================== */

.post {
	overflow: hidden;
	margin-bottom: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease;
}

.post:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	border-bottom: 2px solid #e2e8f0;
	border-top: 3px solid #667eea;
	background: linear-gradient(to bottom, #f7fafc, #ffffff);
	padding: 15px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 2px solid #e2e8f0;
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	border-left: 0;
	padding: 15px 1%;
	border-radius: 8px 0 0 8px;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 15px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 15px;
}

.post .post_author div.author_avatar img {
	padding: 5px;
	border: 3px solid #e2e8f0;
	background: #fff;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.post .post_author div.author_avatar img:hover {
	border-color: #667eea;
	transform: scale(1.05);
}

.post .post_author div.author_information {
	float: left;
	padding: 8px 15px;
}

.post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 12px;
	padding: 8px 15px;
	color: #718096;
	line-height: 1.6;
	background: #f7fafc;
	border-radius: 6px;
}

.post.classic .post_author div.author_statistics {
	border-top: 2px solid #e2e8f0;
	margin: 12px 0 0 0;
	padding: 12px;
	float: none;
	background: transparent;
}

.post .post_head {
	font-size: 12px;
	padding-bottom: 8px;
	border-bottom: 2px dotted #e2e8f0;
	margin-bottom: 8px;
}

.post .post_head span.post_date {
	color: #718096;
	font-weight: 500;
}

.post .post_head span.edited_post {
	font-size: 11px;
	color: #a0aec0;
	font-style: italic;
}

.post .post_head span.edited_post a {
	color: #718096;
	font-weight: 600;
}

.post_body {
	font-size: 15px;
	padding: 15px 0;
	line-height: 1.8;
	color: #2d3748;
}

.post.classic .post_content {
	float: left;
	width: 79%;
	padding: 0 1% 5px 1%;
	border-radius: 0 8px 8px 0;
}

.post_content {
	padding: 15px 20px;
	background: #fff;
}

.post_content .signature {
	margin-top: 15px;
	border-top: 2px dotted #e2e8f0;
	padding: 15px 0 8px 0;
	font-size: 13px;
	color: #718096;
	font-style: italic;
}

.post .post_meta {
	margin: 8px 0;
	font-size: 12px;
	color: #a0aec0;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #718096;
	font-weight: 500;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #667eea;
}

/* ==========================================
   POST CONTROLS
   ========================================== */

.post_controls {
	clear: both;
	background: linear-gradient(to bottom, #f7fafc, #edf2f7);
	border-bottom: 2px solid #e2e8f0;
	padding: 12px 15px;
	overflow: hidden;
	border-radius: 0 0 8px 8px;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 8px 14px;
	margin: 4px;
	font-size: 13px;
	background: linear-gradient(to bottom, #fff, #f7fafc);
	border: 2px solid #e2e8f0;
	color: #4a5568;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.postbit_buttons > a:hover {
	border-color: #667eea;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.postbit_buttons a span {
	padding-left: 24px;
	display: inline-block;
	height: 18px;
	background-image: url(../../../images/buttons_sprite.png);
	background-repeat: no-repeat;
	line-height: 18px;
}

.postbit_buttons a.postbit_find span {
	background-position: 0 0;
}

.postbit_buttons a.postbit_reputation_add span {
	background-position: 0 -20px;
}

.postbit_buttons a.postbit_email span {
	background-position: 0 -40px;
}

.postbit_buttons a.postbit_website span {
	background-position: 0 -60px;
}

.postbit_buttons a.postbit_pm span {
	background-position: 0 -80px;
}

.postbit_buttons a.postbit_quote span {
	background-position: 0 -100px;
}

.postbit_buttons a.postbit_multiquote span {
	background-position: 0 -120px;
}

.postbit_buttons a.postbit_multiquote_on span {
	background-position: 0 -140px;
}

.postbit_buttons a.postbit_edit span {
	background-position: 0 -160px;
}

.postbit_buttons a.postbit_qdelete span {
	background-position: 0 -180px;
}

.postbit_buttons a.postbit_qrestore span {
	background-position: 0 -200px;
}

.postbit_buttons a.postbit_report span {
	background-position: 0 -220px;
}

.postbit_buttons a.postbit_warn span {
	background-position: 0 -240px;
}

.postbit_buttons a.postbit_purgespammer span {
	background-position: 0 -540px;
}

.postbit_buttons a.postbit_reply_pm span {
	background-position: 0 -260px;
}

.postbit_buttons a.postbit_reply_all span {
	background-position: 0 -280px;
}

.postbit_buttons a.postbit_forward_pm span {
	background-position: 0 -300px;
}

.postbit_buttons a.postbit_delete_pm span {
	background-position: 0 -320px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
	display: none;
}

/* ==========================================
   BUTTON STYLES
   ========================================== */

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	display: inline-block;
	padding: 12px 24px;
	margin: 4px;
	border: none;
	font-size: 15px;
	border-radius: 8px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

a.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

a.button:active {
	transform: translateY(-1px);
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 8px 16px;
	text-transform: none;
}

a.button span {
	padding-left: 24px;
	display: inline-block;
	background-image: url(../../../images/buttons_sprite.png);
	background-repeat: no-repeat;
	line-height: 20px;
}

a.button.new_thread_button span {
	background-position: 0 -340px;
}

a.button.new_reply_button span {
	background-position: 0 -360px;
}

a.button.closed_button span {
	background-position: 0 -380px;
}

a.button.rate_user_button span {
	background-position: 0 -400px;
}

a.button.add_buddy_button span {
	background-position: 0 -440px;
}

a.button.remove_buddy_button span {
	background-position: 0 -480px;
}

a.button.add_ignore_button span {
	background-position: 0 -460px;
}

a.button.remove_ignore_button span {
	background-position: 0 -500px;
}

a.button.report_user_button span {
	background-position: 0 -520px;
}

/* ==========================================
   QUICK JUMP VE POLL
   ========================================== */

.quick_jump {
	background: url(../../../images/jump.png) no-repeat center;
	width: 16px;
	height: 16px;
	padding-left: 16px;
	margin-top: -3px;
	border: none;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.quick_jump:hover {
	opacity: 1;
}

.pollbar {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: 2px solid #5a67d8;
	height: 20px;
	border-radius: 10px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}

.pollbar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
	border-radius: 10px 10px 0 0;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: linear-gradient(to right, #faf5ff, #e9d8fd);
	border: 2px solid #b794f4;
	border-left: 5px solid #9f7aea;
	border-radius: 6px;
	padding: 8px 12px;
}

.posticons_label {
	white-space: nowrap;
	font-weight: 600;
	color: #4a5568;
}

/* ==========================================
   RESPONSIVE TASARIM
   ========================================== */

@media screen and (max-width: 1200px) {
	.wrapper {
		width: 95%;
		min-width: auto;
	}
	
	#container {
		min-width: auto;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 13px;
	}
	
	.wrapper {
		margin: 10px auto;
		border-radius: 8px;
	}
	
	#logo {
		padding: 15px 20px;
	}
	
	#content {
		padding: 20px 15px;
	}
	
	.post.classic .post_author {
		float: none;
		width: auto;
		margin: 0 0 15px 0;
		border-radius: 8px;
	}
	
	.post.classic .post_content {
		float: none;
		width: auto;
		border-radius: 8px;
	}
	
	.thead {
		font-size: 14px;
		padding: 10px;
	}
	
	a.button:link,
	a.button:hover,
	a.button:visited,
	a.button:active {
		padding: 10px 20px;
		font-size: 14px;
	}
}

/* ==========================================
   ANIMASYONLAR
   ========================================== */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

.fade-in {
	animation: fadeIn 0.5s ease-out;
}

.slide-in {
	animation: slideIn 0.3s ease-out;
}

/* ==========================================
   ÖZEL SCROLL BAR
   ========================================== */

::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: #f7fafc;
	border-radius: 6px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 6px;
	border: 2px solid #f7fafc;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
	body {
		background: #fff;
		color: #000;
	}
	
	.wrapper {
		box-shadow: none;
		border-radius: 0;
	}
	
	#logo, #panel, #footer, .post_controls, .postbit_buttons {
		display: none;
	}
	
	.post {
		box-shadow: none;
		page-break-inside: avoid;
	}
}

/* ==========================================
   USER CONTROL PANEL NAVIGATION
   ========================================== */

.usercp_nav_item {
	display: block;
	padding: 12px 15px 12px 45px;
	background-image: url(../../../images/usercp_sprite.png);
	background-repeat: no-repeat;
	color: #4a5568;
	font-weight: 500;
	border-radius: 8px;
	margin-bottom: 5px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.usercp_nav_item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.usercp_nav_item:hover {
	background-color: #f7fafc;
	color: #667eea;
	padding-left: 50px;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.usercp_nav_item:hover::before {
	transform: scaleY(1);
}

.usercp_nav_item:active {
	background: linear-gradient(to right, rgba(102, 126, 234, 0.1), transparent);
}

.usercp_nav_composepm {
	background-position: 15px 0;
	font-weight: 600;
	color: #667eea;
}

.usercp_nav_composepm:hover {
	background-color: rgba(102, 126, 234, 0.1);
}

.usercp_nav_pmfolder {
	background-position: 15px -20px;
}

.usercp_nav_sub_pmfolder {
	padding-left: 60px;
	background-position: 30px -40px;
	font-size: 13px;
}

.usercp_nav_sub_pmfolder::after {
	content: '';
	position: absolute;
	left: 20px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e2e8f0;
}

.usercp_nav_trash_pmfolder {
	padding-left: 60px;
	background-position: 30px -60px;
	font-size: 13px;
	color: #e53e3e;
}

.usercp_nav_trash_pmfolder:hover {
	color: #c53030;
	background-color: rgba(229, 62, 62, 0.05);
}

.usercp_nav_pmtracking {
	background-position: 15px -80px;
}

.usercp_nav_pmfolders {
	background-position: 15px -100px;
}

.usercp_nav_profile {
	background-position: 15px -120px;
	font-weight: 600;
}

.usercp_nav_email {
	padding-left: 60px;
	background-position: 30px -140px;
	font-size: 13px;
}

.usercp_nav_password {
	padding-left: 60px;
	background-position: 30px -160px;
	font-size: 13px;
}

.usercp_nav_username {
	padding-left: 60px;
	background-position: 30px -180px;
	font-size: 13px;
}

.usercp_nav_editsig {
	padding-left: 60px;
	background-position: 30px -200px;
	font-size: 13px;
}

.usercp_nav_avatar {
	padding-left: 60px;
	background-position: 30px -220px;
	font-size: 13px;
}

.usercp_nav_options {
	background-position: 15px -240px;
}

.usercp_nav_usergroups {
	background-position: 15px -260px;
}

.usercp_nav_editlists {
	background-position: 15px -280px;
}

.usercp_nav_attachments {
	background-position: 15px -300px;
}

.usercp_nav_drafts {
	background-position: 15px -320px;
}

.usercp_nav_subscriptions {
	background-position: 15px -340px;
}

.usercp_nav_fsubscriptions {
	background-position: 15px -360px;
}

.usercp_nav_viewprofile {
	background-position: 15px -380px;
	font-weight: 600;
	color: #48bb78;
}

.usercp_nav_viewprofile:hover {
	background-color: rgba(72, 187, 120, 0.1);
	color: #38a169;
}

.usercp_nav_home {
	background-position: 15px -400px;
	font-weight: 600;
}

/* ==========================================
   USER CONTROL PANEL CONTAINER
   ========================================== */

.usercp_notepad {
	width: 99%;
	min-height: 200px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 15px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	transition: all 0.3s ease;
	background: #fff;
}

.usercp_notepad:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	outline: none;
}

.usercp_container {
	margin: 10px;
	padding: 20px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: linear-gradient(to bottom, #ffffff, #f7fafc);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.usercp_container:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* ==========================================
   PRIVATE MESSAGE SPACE METER
   ========================================== */

.pmspace {
	float: right;
	margin: -3px 10px;
}

.pmspace_container {
	background: #f7fafc;
	border: 2px solid #e2e8f0;
	width: 120px;
	display: inline-block;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	height: 24px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pmspace_used {
	display: inline-block;
	color: #fff;
	margin: 0;
	height: 24px;
	line-height: 24px;
	font-weight: 700;
	font-size: 11px;
	text-align: center;
	position: relative;
	transition: all 0.5s ease;
	box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.pmspace_used::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
}

.pmspace_used.low {
	border: none;
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	animation: slideIn 0.8s ease-out;
}

.pmspace_used.medium {
	background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
	border: none;
	animation: slideIn 0.8s ease-out, pulse-warning 2s ease-in-out infinite;
}

.pmspace_used.high {
	background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);
	border: none;
	animation: slideIn 0.8s ease-out, pulse-danger 1.5s ease-in-out infinite;
}

@keyframes pulse-warning {
	0%, 100% {
		box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(237, 137, 54, 0.4);
	}
	50% {
		box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(237, 137, 54, 0);
	}
}

@keyframes pulse-danger {
	0%, 100% {
		box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(229, 62, 62, 0.4);
	}
	50% {
		box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(229, 62, 62, 0);
	}
}

.pmspace_unused {
	display: inline-block;
	background: transparent;
}

.pmspace_text {
	padding: 4px 12px;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: #4a5568;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	margin-left: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pmspace_text::before {
	content: '? ';
	margin-right: 4px;
}

/* ==========================================
   NEW PRIVATE MESSAGE INDICATOR
   ========================================== */

.new_pm {
	font-weight: 700;
	color: #667eea;
	position: relative;
	padding-left: 20px;
	animation: fadeIn 0.5s ease-out;
}

.new_pm::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
	animation: pulse-new 2s ease-in-out infinite;
}

@keyframes pulse-new {
	0% {
		box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(102, 126, 234, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
	}
}

.new_pm:hover {
	color: #764ba2;
}

/* ==========================================
   USERCP RESPONSIVE
   ========================================== */

@media screen and (max-width: 768px) {
	.usercp_nav_item {
		padding: 10px 12px 10px 40px;
		font-size: 13px;
	}
	
	.usercp_nav_sub_pmfolder,
	.usercp_nav_trash_pmfolder,
	.usercp_nav_email,
	.usercp_nav_password,
	.usercp_nav_username,
	.usercp_nav_editsig,
	.usercp_nav_avatar {
		padding-left: 50px;
	}
	
	.usercp_container {
		margin: 5px;
		padding: 15px;
	}
	
	.pmspace {
		float: none;
		display: block;
		margin: 10px auto;
		text-align: center;
	}
	
	.pmspace_container {
		width: 200px;
	}
	
	.pmspace_text {
		display: block;
		margin: 8px auto 0;
		width: fit-content;
	}
}

/* ==========================================
   USERCP ACTIVE STATE
   ========================================== */

.usercp_nav_item.active {
	background: linear-gradient(to right, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05));
	color: #667eea;
	font-weight: 700;
	border-left: 4px solid #667eea;
	padding-left: 41px;
}

.usercp_nav_item.active::before {
	transform: scaleY(1);
}

/* ==========================================
   USERCP SECTION HEADERS
   ========================================== */

.usercp_nav_section {
	padding: 15px 15px 8px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #718096;
	margin-top: 20px;
	border-bottom: 2px solid #e2e8f0;
	position: relative;
}

.usercp_nav_section::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 15px;
	width: 40px;
	height: 2px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ==========================================
   USERCP STATS BADGES
   ========================================== */

.usercp_stat_badge {
	display: inline-block;
	padding: 4px 10px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	margin-left: 8px;
	box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
	animation: fadeIn 0.5s ease-out;
}

.usercp_stat_badge.warning {
	background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
	box-shadow: 0 2px 4px rgba(237, 137, 54, 0.3);
}

.usercp_stat_badge.danger {
	background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);
	box-shadow: 0 2px 4px rgba(229, 62, 62, 0.3);
}

.usercp_stat_badge.success {
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	box-shadow: 0 2px 4px rgba(72, 187, 120, 0.3);
}