/* ProfelisTheme - okunabilirlik odakli hafif tema.
 *
 * Ilkeler:
 *  - WCAG 2.1 AA kontrast: normal metin >= 4.5:1, buyuk metin/ikon >= 3:1
 *  - Taban yazi boyutu 15px, satir araligi 1.6; 12px altinda metin yok
 *  - Klavye odagi her zaman gorunur (WCAG 2.4.7)
 *  - Basliklar: Poppins; metin: Inter (her ikisi yerel servis, disa bagimlilik yok)
 *
 * Renk sistemi - Profelis kurumsal kimligi:
 *  - Birincil       Profelis Kirmizi  #e51c24  (logo rengi; vurgu/buton)
 *  - Birincil koyu                    #9e1117  (hover/aktif)
 *  - Link                             #c2151c
 *  - Acik vurgu zemini                #fdecec  (pastel kirmizi)
 *  - Ust menu/genis basliklar         #34454c  (arduvaz; kirmizi genis
 *                                     yuzeyde yorucu oldugu icin)
 *  - Notr gri                         #b6bfc1  (cerceveler)
 *  - Basari #1a7444, Uyari #ae5224, Hata #ab2439, Bilgi #005b8d
 *  - Sayfa zemini                     #f4f6f6
 *  - Durum/ozet zeminleri pastel tonlarda tutulur
 */

/* ---------- Fontlar ----------
 * Basliklar : Poppins (600/700, yerel servis)
 * Metin     : Inter (400-700 degisken, yerel servis) */
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/poppins-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/inter-400-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('plugin_file.php?file=ProfelisTheme/inter-400-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Zemin ve tipografi ---------- */
/* html'e de zemin rengi verilir; aksi halde icerik ekrandan kisa
 * kaldiginda sayfanin alt kismi beyaz gorunur. */
html {
	background-color: #e9edef;
	min-height: 100%;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #25333b;
	background-color: #e9edef;
	min-height: 100vh;
}

.btn, .navbar, .sidebar, .table, input, select, textarea, .label, .badge {
	font-family: inherit;
}

/* Basliklar: Poppins */
h1, h2, h3, h4, h5,
.widget-title, .page-header h1,
.lm-license-box .widget-title, #login-box h4.header {
	font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5 {
	font-weight: 600;
	color: #25333b;
	line-height: 1.35;
}

.page-header h1 {
	font-size: 22px;
}

h4, .widget-title {
	font-size: 15px;
}

small, .small {
	font-size: 12.5px;
}

/* ---------- Baglantilar ---------- */
a {
	color: #c2151c;
}

a:hover, a:focus {
	color: #9e1117;
	text-decoration: underline;
}

.widget-header a, .widget-header a:hover {
	color: #25333b;
}

/* ---------- Klavye odagi (WCAG 2.4.7) ---------- */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid #e51c24;
	outline-offset: 1px;
}

/* ---------- Ust menu (navbar): koyu arduvaz ---------- */
.navbar, .navbar-default {
	background: #34454c !important;
	background-image: none !important;
}

.navbar .navbar-brand,
.navbar .nav > li > a {
	color: #f4f6f6 !important;
	text-shadow: none !important;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus {
	background: #e51c24 !important;
	color: #ffffff !important;
}

/* ---------- Widget kutulari ---------- */
.widget-box {
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(52, 69, 76, 0.12);
	border-color: #b6bfc1;
	background: #ffffff;
	overflow: hidden;
}

.widget-color-blue2 > .widget-header,
.widget-color-blue > .widget-header {
	border-top-color: #00718f !important;
}

.widget-header {
	border-radius: 8px 8px 0 0;
	text-shadow: none !important;
	background: #f4f6f7 !important;
	background-image: none !important;
	border-top: 3px solid #8f9fa6;
	border-bottom: 1px solid #e2e8e9 !important;
	color: #25333b;
}

.widget-title {
	font-weight: 500;
	letter-spacing: 0.2px;
	color: #25333b;
}

/* Ace bazi basliklari h4.widget-title.bolder yapar; medium'a sabitle */
.widget-header .widget-title, .widget-header h4 {
	font-weight: 500 !important;
}

/* ---------- Tablolar ---------- */
.table > thead > tr > th {
	background: #edf1f1;
	color: #34454c;
	font-weight: 700;
	font-size: 13.5px;
	border-bottom: 2px solid #cdd6d8;
	padding: 9px 12px;
	text-transform: none;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
	padding: 8px 12px;
	vertical-align: middle;
	border-color: #e2e8e9;
	font-size: 14px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #f7fafa;
}

.table-hover > tbody > tr:hover {
	background-color: #fdecec;
}

td.category, th.category,
.category {
	background: #edf1f1 !important;
	color: #34454c !important;
	font-weight: 700;
}

/* ---------- Form elemanlari ---------- */
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="time"], input[type="date"],
input[type="datetime-local"], select, textarea, .input-sm {
	border-radius: 4px !important;
	border-color: #9fabaf;
	/* Ace zaman/tarih girislerine soluk gri (#858585) verir; pasif
	 * gorunmemesi icin diger alanlarla ayni koyu renk kullanilir */
	color: #34454c !important;
	font-size: 14px;
	background-color: #ffffff;
}

::placeholder {
	color: #5c6b72 !important;
	opacity: 1;
}

input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, input[type="number"]:focus,
input[type="time"]:focus, input[type="date"]:focus,
input[type="datetime-local"]:focus,
select:focus, textarea:focus {
	border-color: #e51c24 !important;
	box-shadow: 0 0 0 2px rgba(229, 28, 36, 0.18) !important;
	outline: none;
}

/* ---------- Butonlar ----------
 * Tum butonlar opak (solid): saydam/beyaz zemin arkadaki
 * yazilarin gorunmesine yol aciyordu. */
.btn {
	border-radius: 4px !important;
	font-weight: 600;
	font-size: 14px;
	background-image: none !important;
	text-shadow: none !important;
	opacity: 1;
	background-color: #5c6b72;
	border-color: #4a575d;
	color: #ffffff;
}

.btn:hover, .btn:focus {
	background-color: #4a575d;
	color: #ffffff;
}

/* Beyaz (outline) varyant: saydam degil, duz beyaz zemin */
.btn.btn-white {
	background: #ffffff !important;
	border: 1px solid #9fabaf !important;
	color: #34454c !important;
}

.btn.btn-white:hover, .btn.btn-white:focus {
	background: #f0f5f6 !important;
	color: #9e1117 !important;
}

.btn-primary,
.btn-primary.btn-white.btn-round {
	border-color: #34454c !important;
	color: #34454c;
}

.btn-primary:not(.btn-white) {
	background: #34454c !important;
	color: #ffffff !important;
}

.btn-primary:not(.btn-white):hover,
.btn-primary:not(.btn-white):focus {
	background: #25333b !important;
}

.btn-primary.btn-white {
	color: #34454c !important;
	border-color: #5d6b72 !important;
}

/* ---------- Rozet ve etiketler (AA kontrastli zeminler) ---------- */
.label, .badge {
	font-weight: 700;
	letter-spacing: 0.2px;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12.5px;
	color: #ffffff;
}

.label-danger, .badge-important {
	background-color: #ab2439 !important;
}

.label-warning {
	background-color: #ae5224 !important;
}

.label-success {
	background-color: #1a7444 !important;
}

.label-info {
	background-color: #005b8d !important;
}

/* ---------- Kenar cubugu (Figma mockup: aktif oge yuvarlak hap) ---------- */
.sidebar .nav-list > li > a {
	font-size: 13.5px;
	color: #34454c;
	border-radius: 6px;
	margin: 1px 6px;
}

.sidebar .nav-list > li.active > a,
.sidebar .nav-list > li.active > a:hover {
	font-weight: 700;
	color: #c2151c;
	background: #fdecec !important;
}

.sidebar .nav-list > li:hover > a {
	color: #9e1117;
	background: #f0f5f6;
}

/* Ace'in aktif oge ok/kenar suslerini sadelestir */
.sidebar .nav-list > li.active:after,
.sidebar .nav-list > li.active > a:after {
	display: none;
}

/* ---------- Gorev goruntuleme ---------- */
.bugnote .bugnote-note,
td.bugnote-note-public, td.bugnote-note-private {
	line-height: 1.65;
	font-size: 14.5px;
}

/* ---------- Uyari bantlari (yumusak zemin + koyu metin) ---------- */
.alert {
	border-radius: 6px;
	line-height: 1.55;
	font-size: 14px;
}

.alert-warning {
	color: #7c3a18;
	background-color: #fbf1ea;
	border-color: #ecd3c2;
}

.alert-danger {
	color: #8a1d2e;
	background-color: #faecee;
	border-color: #edc6cc;
}

.alert-success {
	color: #155c36;
	background-color: #ebf5f0;
	border-color: #c6e2d3;
}

.alert-info {
	color: #06496f;
	background-color: #e9f2f7;
	border-color: #c2dbe9;
}

/* ---------- Kirinti (breadcrumb) cubugu ---------- */
.breadcrumbs {
	background: #ffffff !important;
	background-image: none !important;
	border-bottom: 1px solid #cdd6d8 !important;
}

.breadcrumb > li, .breadcrumb > li > a {
	font-size: 13.5px;
}

/* ---------- Sekmeler ---------- */
.nav-tabs > li > a {
	border-radius: 6px 6px 0 0;
	color: #5c6b72;
	font-size: 14px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	color: #c2151c;
	font-weight: 700;
	border-top: 2px solid #e51c24;
}

/* ---------- Sayfalama ---------- */
.pagination > li > a {
	color: #c2151c;
}

.pagination > .active > a,
.pagination > .active > a:hover {
	background: #e51c24;
	border-color: #e51c24;
}

/* ---------- Acilir menuler ---------- */
.dropdown-menu {
	border-radius: 6px;
	border-color: #cdd6d8;
	box-shadow: 0 4px 12px rgba(52, 69, 76, 0.18);
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	background: #fdecec;
	color: #9e1117;
}

/* ---------- Lisans kutulari (LicenseManager) ---------- */
.lm-license-box .widget-main table td {
	padding: 7px 12px;
}

.lm-license-box .widget-toolbox {
	line-height: 1.6;
}

#lm-stats .lm-stat {
	transition: transform 0.1s ease, box-shadow 0.1s ease;
	border-radius: 8px;
	border: none;
}

#lm-stats .lm-stat:hover,
#lm-stats .lm-stat:focus {
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(52, 69, 76, 0.2);
	text-decoration: none;
}

/* ---------- Ince kaydirma cubugu (WebKit) ---------- */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: #edf1f1;
}

::-webkit-scrollbar-thumb {
	background: #b6bfc1;
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: #93a3a9;
}

/* ---------- Genel bosluklar ---------- */
.widget-main {
	padding: 12px;
}

.widget-main.no-padding {
	padding: 0;
}

.padding-8 {
	padding: 10px !important;
}

/* ============================================================
 * TUM EKRANLAR - Mantis geneli gorunum
 * ============================================================ */

/* ---------- Gorev durum renkleri (View Issues satirlari + rozetler)
 * Mantis'in varsayilan cig tonlari yerine ayni ton ailesinde
 * yumusatilmis, goz yormayan pastel zeminler. Metin koyu kaldigi
 * icin kontrast korunur. ---------- */
.status-10-bg { background-color: #f2cfc9 !important; } /* new */
.status-20-bg { background-color: #eec9da !important; } /* feedback */
.status-30-bg { background-color: #f5e3b1 !important; } /* acknowledged */
.status-40-bg { background-color: #f6eec6 !important; } /* confirmed */
.status-50-bg { background-color: #ccd7ee !important; } /* assigned */
.status-80-bg { background-color: #cfe6d8 !important; } /* resolved */
.status-90-bg { background-color: #e2e7e8 !important; } /* closed */

/* View Issues'ta durum kucuk kare ikon olarak cizilir (fa-status-box).
 * Ikon rengi bu -fg siniflarindan gelir; pastellerle ayni aileden,
 * ayirt edilebilir orta doygunlukta tonlar kullaniyoruz. */
.status-10-fg { color: #cf6a5e !important; }
.status-20-fg { color: #c96a97 !important; }
.status-30-fg { color: #d9a831 !important; }
.status-40-fg { color: #cdbb4a !important; }
.status-50-fg { color: #6c85c4 !important; }
.status-80-fg { color: #55a97c !important; }
.status-90-fg { color: #93a1a6 !important; }

/* Sorun goruntuleme: SLA bandi (AdvancedReporting) */
.pt-view-issue .pt-sla-wrap .ar-sla-card {
	margin: 0;
}

.pt-view-issue .pt-quota-wrap .lm-quota-card {
	margin: 0;
}

/* Ticket kotasi karti — SLA bandi ile ayni renk dili */
.lm-quota-card {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 1px solid #e2e8e9;
	border-left: 5px solid #00718f;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.06 );
	margin: 10px 0;
	overflow: hidden;
	flex-wrap: wrap;
}
.lm-quota-card-warn {
	border-left-color: #f3a221;
}
.lm-quota-card-breach {
	border-left-color: #e5504c;
}
.lm-quota-main {
	flex: 1 1 320px;
	min-width: 0;
	padding: 12px 18px;
}
.lm-quota-title {
	font-weight: 700;
	font-size: 13px;
	color: #25333b;
	margin-bottom: 8px;
	line-height: 1.45;
}
.lm-quota-title .ar-sla-plan {
	font-weight: 500;
}
.lm-quota-meter {
	background: #e5eef1;
	border-radius: 5px;
	height: 10px;
	overflow: hidden;
}
.lm-quota-fill {
	height: 10px;
	border-radius: 5px;
}
.lm-quota-fill-ok { background: #00718f; }
.lm-quota-fill-warn { background: #f3a221; }
.lm-quota-fill-breach { background: #e5504c; }
.lm-quota-line {
	font-size: 12px;
	color: #6b7a80;
	margin-top: 7px;
}
.lm-quota-period {
	color: #94a1a6;
}
.lm-quota-stat {
	flex: 0 0 auto;
	align-self: center;
	text-align: center;
	background: #e5eef1;
	border-radius: 12px;
	padding: 10px 18px;
	margin: 10px 14px 10px 0;
}
.lm-quota-stat-warn {
	background: #fdf3e0;
}
.lm-quota-stat-breach {
	background: #fdecee;
}
.lm-quota-stat-num {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: #00718f;
}
.lm-quota-stat-num-warn {
	color: #a86a08;
}
.lm-quota-stat-num-breach {
	color: #e5504c;
}
.lm-quota-stat-label {
	font-size: 10.5px;
	color: #6b7a80;
	margin-top: 3px;
}
.lm-quota-card .ar-sla-targets {
	margin: 0;
	border-left: 1px solid #eef2f3;
	border-radius: 0;
	box-shadow: none;
}

.pt-view-issue .pt-sla-wrap + .pt-quota-wrap > .space-10 {
	margin: 10px 0;
}

/* Sorun goruntuleme: Cagri Islemleri (Figma CallActions — IssueDetail alt bandi) */
.pt-view-issue .pt-call-actions-wrap + .pt-issue-content-wrap > .space-10,
.pt-view-issue .pt-sla-wrap + .pt-call-actions-wrap > .space-10,
.pt-view-issue .col-md-12:not( .pt-call-actions-wrap ):not( .pt-sla-wrap ):not( .pt-issue-content-wrap )
	+ .pt-issue-content-wrap > .space-10 {
	margin: 16px 0;
}

.pt-view-issue .pt-call-actions-card {
	background: #ffffff;
	border: 1px solid #e2e8e9;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.06 );
	overflow: hidden;
}
.pt-view-issue .pt-call-actions-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px 10px;
	background: #fafcfc;
	border-bottom: 1px solid #eef2f3;
}
.pt-view-issue .pt-call-actions-icon {
	color: #00718f;
	font-size: 14px;
}
.pt-view-issue .pt-call-actions-title {
	font-size: 13px;
	font-weight: 600;
	color: #5d6b72;
}
.pt-view-issue .pt-call-actions-body {
	padding: 0;
}
.pt-view-issue .pt-call-actions-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}
.pt-view-issue .pt-call-actions-col {
	padding: 16px 20px;
	border-right: 1px solid #eef2f3;
	min-width: 0;
}
.pt-view-issue .pt-call-actions-col:last-child {
	border-right: none;
}
.pt-view-issue .pt-call-actions-label {
	display: block;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #94a1a6;
	margin-bottom: 8px;
}
.pt-view-issue .pt-call-actions-value {
	font-size: 13px;
	font-weight: 600;
	color: #25333b;
	margin-bottom: 10px;
	min-height: 20px;
}
.pt-view-issue .pt-call-actions-value a {
	color: #00718f;
	font-weight: 600;
}
.pt-view-issue .pt-call-actions-status .pt-status-pill {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	background: #eaeefa;
	color: #4a5ca8;
}
.pt-view-issue .pt-call-actions-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.pt-view-issue .pt-call-actions-controls-decision {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}
.pt-view-issue .pt-call-action-form {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.pt-view-issue .pt-call-actions-resolution {
	margin-bottom: 8px;
	min-height: 1.2em;
}

.pt-view-issue .pt-resolution-pill {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

/* Sonuclandirma enum renkleri (Mantis resolution listesi) */
.pt-view-issue .pt-res-10 { background: #e8eef3; color: #4a6070; } /* acik */
.pt-view-issue .pt-res-20 { background: #d4eddf; color: #0b7a5e; } /* duzenlendi */
.pt-view-issue .pt-res-30 { background: #fdf3e0; color: #a86a08; } /* tekrar acildi */
.pt-view-issue .pt-res-40 { background: #ece8f4; color: #5c4a8a; } /* tekrarlanamadi */
.pt-view-issue .pt-res-50 { background: #fdeaea; color: #b3271e; } /* duzenlenemez */
.pt-view-issue .pt-res-60 { background: #f0e6f7; color: #6b3fa0; } /* kopya */
.pt-view-issue .pt-res-70 { background: #e3f0f7; color: #2a6f8a; } /* degisiklik gerekmiyor */
.pt-view-issue .pt-res-80 { background: #eef2f3; color: #5d6b72; } /* askiya alindi */
.pt-view-issue .pt-res-90 { background: #f5e8e8; color: #8a4a4a; } /* duzenlenmeyecek */

.pt-view-issue .pt-call-actions-controls-decision .pt-call-action-form {
	width: auto;
	flex-wrap: nowrap;
}
.pt-view-issue .bug-quick-resolve-form .pt-call-action-select {
	flex: 1 1 auto;
	min-width: 120px;
}
.pt-view-issue .pt-call-action-select {
	min-width: 120px;
	max-width: 100%;
	border-radius: 8px !important;
	border-color: #e2e8e9 !important;
	height: 32px;
}
.pt-view-issue .btn.pt-call-action-btn {
	background: #ffffff !important;
	border: 1px solid #e2e8e9 !important;
	border-radius: 8px !important;
	color: #5d6b72 !important;
	font-weight: 600;
	font-size: 13px;
	box-shadow: none;
	padding: 7px 14px;
	white-space: nowrap;
}
.pt-view-issue .btn.pt-call-action-btn:hover,
.pt-view-issue .btn.pt-call-action-btn:focus {
	background: #f0f7f9 !important;
	border-color: #bcd9e2 !important;
	color: #00718f !important;
}
.pt-view-issue .btn.pt-call-action-btn-success {
	color: #00718f !important;
}
.pt-view-issue .pt-call-actions-controls-decision .pt-call-action-form .pt-call-action-btn {
	width: 100%;
	text-align: center;
}
@media ( max-width: 991px ) {
	.pt-view-issue .pt-call-actions-grid {
		grid-template-columns: 1fr;
	}
	.pt-view-issue .pt-call-actions-col {
		border-right: none;
		border-bottom: 1px solid #eef2f3;
	}
	.pt-view-issue .pt-call-actions-col:last-child {
		border-bottom: none;
	}
}

/* Buglist tablo basligi: Figma mockup'taki acik gri serit */
table.table > thead > tr > th {
	background: #f2f5f6 !important;
	background-image: none !important;
	color: #5c6b72;
	font-weight: 700;
	font-size: 12.5px;
	border-bottom: 1px solid #d5dde4 !important;
}

/* ---------- My View / genel widget renk varyantlari
 * Ace'in cig renklerini Wada Sanzo tonlarina esle ---------- */
.widget-color-dark > .widget-header {
	border-top-color: #34454c !important;
}

.widget-color-green > .widget-header,
.widget-color-green2 > .widget-header,
.widget-color-green3 > .widget-header {
	border-top-color: #1a7444 !important;
}

.widget-color-red > .widget-header {
	border-top-color: #ab2439 !important;
}

.widget-color-orange > .widget-header {
	border-top-color: #ae5224 !important;
}

.widget-color-purple > .widget-header {
	border-top-color: #66629c !important;
}

.widget-color-pink > .widget-header {
	border-top-color: #8c4c62 !important;
}

.widget-color-blue3 > .widget-header {
	border-top-color: #005b8d !important;
}

.widget-color-grey > .widget-header {
	border-top-color: #5d6b72 !important;
}

/* Baslik ici metin koyu, ikonlar orta gri (sakin yuzey dili) */
.widget-header .widget-title {
	color: #25333b !important;
}

.widget-header .ace-icon,
.widget-header .widget-toolbar a {
	color: #5d6b72 !important;
}

/* ---------- Butun buton varyantlari ---------- */
.btn-success {
	background: #1a7444 !important;
	border-color: #155c36 !important;
	color: #ffffff !important;
}

.btn-success:hover, .btn-success:focus {
	background: #155c36 !important;
}

.btn-danger {
	background: #ab2439 !important;
	border-color: #8a1d2e !important;
	color: #ffffff !important;
}

.btn-danger:hover, .btn-danger:focus {
	background: #8a1d2e !important;
}

.btn-warning {
	background: #ae5224 !important;
	border-color: #8c421d !important;
	color: #ffffff !important;
}

.btn-warning:hover, .btn-warning:focus {
	background: #8c421d !important;
}

.btn-inverse, .btn-grey {
	background: #5c6b72 !important;
	border-color: #4a575d !important;
	color: #ffffff !important;
}

/* Kucuk yardimci butonlar (buglist toolbar vb.) */
.btn-xs, .btn-sm {
	font-weight: 600;
}

/* ---------- View Issues: filtre kutusu ---------- */
.filter-box, #filter, .widget-box .filters {
	background: #ffffff;
}

table.filters td, .filter-box td {
	padding: 6px 8px !important;
	font-size: 13.5px;
}

/* Filtre baslik linkleri */
.filter-box a, table.filters a {
	color: #c2151c;
}

/* ---------- Gorev goruntuleme: not kartlari ---------- */
.bugnote {
	border-radius: 8px;
	border: 1px solid #d5dde4;
	margin-bottom: 10px;
	background: #ffffff;
}

.bugnote .category {
	border-radius: 8px 0 0 8px;
}

/* Ozel notlar hafif sari-bej zemin */
.bugnote-private, tr.bugnote-private td.bugnote-note {
	background-color: #fbf6ea !important;
}

/* ---------- Gecmis (History) tablosu ---------- */
.table-responsive .table-bordered {
	border-radius: 6px;
}

/* ---------- Giris ekrani ---------- */
.login-layout {
	background: #e9edef;
}

.login-layout .widget-box {
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(52, 69, 76, 0.16);
	border: none;
}

.login-layout .widget-main {
	padding: 24px;
}

.login-box .toolbar {
	background: #34454c !important;
}

/* ---------- Tema degistirme dugmesi (navbar) ----------
 * theme.js dugmeyi kullanici menusunun soluna ekler; navbar olmayan
 * sayfalarda sag alttaki yuzen .pt-theme-toggle yedegi kullanilir. */
.navbar .ace-nav > li.pt-theme-nav > a {
	padding: 0 14px;
	font-size: 16px;
	cursor: pointer;
	background: transparent;
}

/* ---------- Proje secici ve navbar acilirlari ---------- */
.navbar .dropdown-menu > li > a {
	font-size: 13.5px;
	color: #34454c;
}

.grey.ace-icon, .navbar .ace-icon {
	color: inherit;
}

/* ---------- Uyari/bilgi kutulari (checkfilter, infobox) ---------- */
.alert.alert-sm {
	padding: 8px 12px;
}

/* ---------- Sayfa alt bilgisi ---------- */
.footer .footer-inner {
	background: #ffffff;
	border-top: 1px solid #d5dde4;
	color: #5c6b72;
	font-size: 13px;
}

/* ---------- Etiketler (tags) ---------- */
a.tag, .tag {
	border-radius: 4px;
	background: #fdecec;
	color: #9e1117;
	padding: 2px 8px;
	font-size: 12.5px;
}

/* ---------- Zorunlu alan yildizi ---------- */
.required, span.required {
	color: #ab2439;
	font-weight: 700;
}

/* ---------- Progress cubuklari (roadmap/changelog) ---------- */
.progress {
	border-radius: 6px;
	background: #e2e7e8;
	height: 16px;
}

.progress .progress-bar,
.progress .bar {
	background: #1a7444 !important;
}

/* ---------- Tooltipler ---------- */
.tooltip-inner {
	background: #34454c;
	border-radius: 4px;
	font-size: 12.5px;
	padding: 5px 10px;
}

/* ---------- Secili metin rengi ---------- */
::selection {
	background: #fad4d5;
	color: #17323d;
}

/* ---------- Sayfa basliklari arasi bosluk ritmi ---------- */
.page-header {
	border-bottom: 1px solid #d5dde4;
	margin-bottom: 14px;
	padding-bottom: 8px;
}

/* ---------- DataTable / buglist yogunluk ayari ---------- */
table.table-condensed > tbody > tr > td {
	padding: 6px 10px;
}

/* Buglist satir hover'i tum durum renklerinin ustunde calissin */
table tbody tr:hover td {
	filter: brightness(0.97);
}

/* ---------- Figma mockup ince ayarlari ---------- */
/* Gorev ID linkleri belirgin olsun */
td.column-id a {
	font-weight: 700;
	color: #c2151c;
}

/* Gorev detayinda kategori (etiket) hucreleri: acik gri serit */
th.bug-custom-field.category,
table.table > tbody > tr > th.category,
td.category {
	background: #f2f5f6 !important;
	color: #5c6b72;
	font-weight: 700;
	font-size: 12.5px;
}

/* Gorev detay basligindaki durum rozeti hissi */
.bug-status {
	border-radius: 10px;
	padding: 2px 10px;
	font-weight: 700;
	display: inline-block;
}

/* Not (bugnote) meta sutunu: acik gri arkaplan, koyu mavi kullanici linki */
.bugnote td.category, .bugnote-meta {
	background: #f2f5f6;
}

.bugnote a {
	color: #c2151c;
	font-weight: 700;
}

/* ============================================================
 * MOCKUP GORUNUMU - yapisal ogeler (theme.js ile birlikte)
 * ============================================================ */

/* ---------- Durum "pill" rozetleri ----------
 * theme.js, kare ikon + metin kalibini bu rozete cevirir. */
.pt-pill {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 12px;
	font-size: 12.5px;
	font-weight: 700;
	color: #17323d;
	line-height: 1.5;
	white-space: nowrap;
}

.pt-st-10 { background-color: #f2cfc9; } /* yeni */
.pt-st-20 { background-color: #eec9da; } /* geri bildirim */
.pt-st-30 { background-color: #f5e3b1; } /* kabul edildi */
.pt-st-40 { background-color: #f6eec6; } /* onaylandi */
.pt-st-50 { background-color: #ccd7ee; } /* atandi */
.pt-st-80 { background-color: #cfe6d8; } /* cozuldu */
.pt-st-90 { background-color: #e2e7e8; } /* kapali */

/* Pill kullanildiginda satir zeminini duz beyaz birak; renk pill'de */
td.column-status[data-pt-pill] {
	background: transparent !important;
}

/* ---------- Navbar: mockup'taki duz koyu serit ---------- */
.navbar {
	border: none !important;
	box-shadow: none !important;
	min-height: 48px;
}

/* Marka yazisi (sol ust) cekirdek gorunumunde kalir; tema dokunmaz */

.navbar .nav > li > a {
	font-weight: 600;
	font-size: 13.5px;
}

/* Proje secici: sadece zemin tonu; olcu/hiza dokunma ki
 * cekirdek navbar duzeni (butonlar, avatar, arama) bozulmasin */
.navbar #dropdown_projects_menu > a:hover,
.navbar #dropdown_projects_menu > a:focus {
	background: rgba(255, 255, 255, 0.12) !important;
}

/* Navbar icindeki butonlar (Gorev Bildir, Kullanici Davet Et vb.)
 * cekirdek olculerinde kalsin, yalnizca duz/solid renk alsin */
.navbar .btn {
	background-image: none !important;
	text-shadow: none !important;
	opacity: 1;
}

/* ---------- Giris ekrani: mockup'taki petrol baslikli kart ---------- */
.login-layout #login-box,
.login-layout .signup-box {
	border-radius: 10px !important;
	box-shadow: 0 6px 24px rgba(52, 69, 76, 0.16) !important;
	border: none !important;
	overflow: hidden;
}

/* Baslik bandini karta tam genislikte yay (negatif kenar boslugu) */
.login-layout #login-box .widget-main {
	padding: 0 0 24px 0;
}

.login-layout #login-box h4.header {
	background: #34454c;
	color: #ffffff !important;
	margin: 0 0 18px 0;
	padding: 18px 24px 14px 24px;
	font-weight: 700;
	font-size: 18px;
	border-bottom: none;
}

.login-layout #login-box fieldset,
.login-layout #login-box .form-group,
.login-layout #login-box form > div,
.login-layout #login-box .clearfix {
	padding-left: 24px;
	padding-right: 24px;
}

.login-layout #login-box input[type="submit"],
.login-layout #login-box .btn {
	border-radius: 6px !important;
	width: 100%;
	padding: 9px;
	font-weight: 700;
	background: #34454c !important;
	color: #ffffff !important;
	border-color: #34454c !important;
}

/* ---------- View Issues: filtre kutusu mockup basligi ---------- */
#filter .widget-header,
.filter-box .widget-header {
	border-top-color: #00718f !important;
}

/* ---------- Ana icerik kenar boslugu ritmi (mockup: 20px) ---------- */
.main-content .page-content {
	padding: 16px 20px 24px 20px;
}

/* ---------- Buglist karti: widget disinda kalan ciplak tablolar da
 * kart gorunumu alsin ---------- */
.table-responsive > table.table {
	background: #ffffff;
}

/* ============================================================
 * BOOTSTRAP BILESENLERI - palete uyarlanmis
 * ============================================================ */

/* ---------- Modal pencereler ---------- */
.modal-content {
	border-radius: 10px;
	border: none;
	box-shadow: 0 10px 40px rgba(52, 69, 76, 0.28);
}

.modal-header {
	background: #f4f6f7;
	color: #25333b;
	border-radius: 10px 10px 0 0;
	border-top: 3px solid #00718f;
	border-bottom: 1px solid #e2e8e9;
	padding: 14px 20px;
}

.modal-header .close {
	color: #5d6b72;
	opacity: 0.8;
	text-shadow: none;
}

.modal-title {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-weight: 500;
}

.modal-footer {
	border-top: 1px solid #e2e8e9;
	padding: 12px 20px;
}

.modal-backdrop.in {
	opacity: 0.4;
}

/* ---------- Panel / well / list-group ---------- */
.panel {
	border-radius: 8px;
	border-color: #d5dde4;
	box-shadow: 0 1px 3px rgba(52, 69, 76, 0.1);
}

.panel-heading {
	background: #f2f5f6;
	border-radius: 8px 8px 0 0;
	color: #34454c;
	font-weight: 600;
}

.panel-primary > .panel-heading {
	background: #34454c;
	border-color: #253238;
	color: #ffffff;
}

.well {
	background: #f7fafa;
	border: 1px solid #e2e8e9;
	border-radius: 8px;
	box-shadow: none;
}

.list-group-item {
	border-color: #e2e8e9;
}

.list-group-item.active,
.list-group-item.active:hover {
	background: #e51c24;
	border-color: #e51c24;
}

.list-group-item:first-child {
	border-radius: 8px 8px 0 0;
}

.list-group-item:last-child {
	border-radius: 0 0 8px 8px;
}

/* ---------- Bootstrap tooltip (theme.js etkinlestirir) ---------- */
.tooltip.in {
	opacity: 1;
}

.tooltip .tooltip-arrow {
	display: none;
}

/* ---------- Popover ---------- */
.popover {
	border-radius: 8px;
	border-color: #d5dde4;
	box-shadow: 0 6px 20px rgba(52, 69, 76, 0.2);
	font-family: inherit;
}

.popover-title {
	background: #f2f5f6;
	border-radius: 8px 8px 0 0;
	font-weight: 600;
	color: #34454c;
}

/* ---------- Input group (arama kutulari) ---------- */
.input-group-addon {
	background: #f2f5f6;
	border-color: #9fabaf;
	color: #5c6b72;
	border-radius: 4px 0 0 4px;
}

/* ---------- Collapse / accordion oklari ---------- */
.collapse-link .ace-icon {
	color: inherit;
}


/* ---------- Marka logosu (sol ust) ---------- */
.navbar .navbar-brand {
	background: url('plugin_file.php?file=ProfelisTheme/profelis-logo.png') no-repeat 12px center;
	background-size: 26px 26px;
	padding-left: 48px !important;
}


/* ---------- Renkli basliklarda etiket kontrasti (Figma karari) ----------
 * Kirmizi/turuncu/mavi widget basliklari uzerindeki rozetler artik
 * beyaz zeminli; yazi rengi rozet turune gore koyu tondadir. */
.widget-header .label, .widget-header .badge {
	background: #e2e8e9 !important;
	color: #25333b !important;
	border-radius: 10px;
}

.widget-header .label-danger, .widget-header .badge-important {
	color: #9e1117 !important;
}

.widget-header .label-warning {
	color: #8c421d !important;
}

.widget-header .label-success {
	color: #155c36 !important;
}

.widget-header .label-info {
	color: #064f6e !important;
}


/* ============================================================
 * MY VIEW & GENEL OKUNABILIRLIK DUZELTMELERI
 * ============================================================ */

/* Sayfa zemini beyaz degil yumusak gri; kutular beyaz kalarak
 * katman hissi verir */
.main-container, .main-content, .page-content {
	background: #e9edef !important;
}

/* Ace'in soluk gri kucuk metinleri beyaz zeminde okunmuyor;
 * okunabilir orta-koyu griye cek */
.widget-main .small, .widget-main small,
td .small, td small, .my-buglist-bug .small,
.grey, .lighter, .smaller-75 {
	color: #5d6b72 !important;
}

/* Kutu icindeki metinler her zaman koyu */
.widget-main, .widget-main td, .widget-main p {
	color: #25333b;
}

/* Liste/tablolardaki gorev baglantilari: kirmizi govde linki
 * yogun listede yorucu; sakin koyu mavi kullan */
.widget-main table a, table.table a,
.my-buglist-bug a {
	color: #1d4e89;
}

.widget-main table a:hover, table.table a:hover,
.my-buglist-bug a:hover {
	color: #0f2f56;
}

/* Gorev ID'leri belirgin */
td.my-buglist-id a, td.column-id a {
	font-weight: 600;
	color: #1d4e89;
}

/* Cizgili satir tonu, gri zeminle uyumlu */
.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #f6f8f9;
}

/* My View basliklarindaki sayac rozeti okunakli */
.widget-header .badge {
	font-size: 12px;
	padding: 3px 9px;
}

/* Ozel (private) gorev vurgusu: kirmizi metin yerine sol serit */
tr.my-buglist-private td:first-child {
	box-shadow: inset 3px 0 0 #e51c24;
}


/* ---------- Sakin yuzey dili: baslik onunde renk noktasi ---------- */
.widget-header .widget-title:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8f9fa6;
	margin-right: 8px;
	vertical-align: 1px;
}

.widget-color-blue2 > .widget-header .widget-title:before,
.widget-color-blue > .widget-header .widget-title:before { background: #00718f; }
.widget-color-dark > .widget-header .widget-title:before { background: #34454c; }
.widget-color-green > .widget-header .widget-title:before,
.widget-color-green2 > .widget-header .widget-title:before,
.widget-color-green3 > .widget-header .widget-title:before { background: #1a7444; }
.widget-color-red > .widget-header .widget-title:before { background: #ab2439; }
.widget-color-orange > .widget-header .widget-title:before { background: #ae5224; }
.widget-color-purple > .widget-header .widget-title:before { background: #66629c; }
.widget-color-pink > .widget-header .widget-title:before { background: #8c4c62; }
.widget-color-blue3 > .widget-header .widget-title:before { background: #005b8d; }
.widget-color-grey > .widget-header .widget-title:before { background: #5d6b72; }

/* Baslik icindeki linkler (kutu adi) koyu kalsin */
.widget-header a.white, .widget-header .white {
	color: #25333b !important;
}

/* Giris karti basligi da sakin dile uysun */
.login-layout #login-box h4.header {
	background: #f4f6f7;
	color: #25333b !important;
	border-top: 3px solid #00718f;
	border-bottom: 1px solid #e2e8e9;
}

.login-box .toolbar {
	background: #f4f6f7 !important;
	border-top: 3px solid #00718f;
}

.login-box .toolbar a {
	color: #25333b !important;
}

/* ============================================================
 * SITE GENELI KART DILI (Figma: Mantis Advanced Reports UI)
 * AdvancedReporting rapor ekranlariyla ayni gorunum: yumusak
 * golgeli beyaz kartlar, acik gri baslik seridi, zebra satirlar
 * ve turkuaz hover.
 * ============================================================ */

/* Widget kutulari kart gorunumune gecer */
.widget-box {
	border-radius: 12px;
	border: 1px solid #e2e8e9;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.widget-header {
	border-radius: 12px 12px 0 0;
}

/* Tablo basliklari: kompakt, gri, yari kalin */
table.table > thead > tr > th {
	background: #f4f7f8 !important;
	color: #5d6b72 !important;
	font-weight: 600;
	font-size: 12px;
	border-bottom: 1px solid #e2e8e9 !important;
	border-top: none !important;
	padding: 10px 12px;
}

/* Zebra ve hover: rapor tablolariyla ayni tonlar */
.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #fafcfc;
}

.table-hover > tbody > tr:hover,
.table-hover > tbody > tr:hover > td {
	background-color: #f0f7f9 !important;
}

/* Hucre ic bosluklari raporlarla esit ritimde */
.table > tbody > tr > td,
.table > tbody > tr > th {
	padding: 10px 12px;
	border-color: #eef2f3;
}

/* ---------- Sayfa alt bilgisi: icerik kutulariyla ayni cerceve ----------
 * Ace footer-inner'i absolute (left/right:0, bottom:0) konumlar;
 * margin degerleri karti kenarlardan iceri ceker. .footer'in
 * padding-top:75px alani korunur (kart icin yer ayirir). */
.footer .footer-inner {
	background: #ffffff;
	border: 1px solid #e2e8e9;
	border-top: 3px solid #00718f;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	margin: 0 10px 14px 10px;
	padding: 4px 0;
	color: #5c6b72;
	font-size: 13px;
}

/* Ace icerigi absolute (bottom:4px) konumlar ve kartin disina
 * tasirir; normal akisa alip kartin icine yerlestir. Ace'in
 * "3px double" ayirici cizgisini de kaldir (cizgi karta tasindi). */
.footer .footer-inner .footer-content {
	position: static;
	width: auto;
	padding: 10px 18px;
	border-top: none;
}

/* Footer normal akista: Ace'in height:0 + absolute hack'i icerigin
 * (or. Sorun Bildir gonder dugmesi) ustune binmesine yol acar.
 * Yatay hizalama ace-mantis sidebar ofsetleriyle ayni kalir. */
.footer {
	padding-top: 0 !important;
	height: auto !important;
	width: auto !important;
	position: relative;
	clear: both;
	margin-top: 20px;
	z-index: auto;
}

.sidebar + .main-content ~ .footer,
.sidebar ~ .footer {
	margin-left: 190px;
}

.sidebar.compact ~ .footer {
	margin-left: 125px;
}

.sidebar.menu-min ~ .footer {
	margin-left: 43px;
}

@media (max-width: 991px) {
	.sidebar ~ .footer,
	.sidebar.compact ~ .footer,
	.sidebar.menu-min ~ .footer {
		margin-left: 0;
	}

	.sidebar.responsive-min ~ .footer {
		margin-left: 43px;
	}
}

.footer .footer-inner {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	width: auto !important;
}

.footer .footer-inner .footer-content::after {
	content: "";
	display: table;
	clear: both;
}

/* ============================================================
 * UST HEADER (Figma: Mantis SLA Status Card > Header)
 * Koyu navbar + beyaz kirinti seridi; her roldeki kullanici icin
 * okunur ve kullanisli: parlak "Sorun Bildir" CTA'si, cip seklinde
 * proje secici, rol rozeti, son ziyaret cipleri ve hap arama kutusu.
 * ============================================================ */

/* --- Sorun Bildir: navbar'daki ana eylem, parlak kirmizi hap --- */
.navbar .btn-group .btn.btn-primary {
	border-radius: 999px !important;
	border: none !important;
	padding: 6px 18px;
	font-weight: 700;
	font-size: 13px;
}

.navbar .btn-group a.btn[href*="bug_report"] {
	background: #e51c24 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(229, 28, 36, 0.45);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.navbar .btn-group a.btn[href*="bug_report"]:hover,
.navbar .btn-group a.btn[href*="bug_report"]:focus {
	background: #c8131b !important;
	box-shadow: 0 3px 12px rgba(229, 28, 36, 0.6);
	transform: translateY(-1px);
}

/* Ikincil navbar butonlari (kullanici davet vb.) sade kalir */
.navbar .btn-group a.btn:not([href*="bug_report"]) {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #f4f6f6 !important;
	box-shadow: none;
}

.navbar .btn-group a.btn:not([href*="bug_report"]):hover {
	background: rgba(255, 255, 255, 0.22) !important;
}

/* Butonlar arasinda nefes payi */
.navbar .btn-group .btn + .btn {
	margin-left: 8px;
}

/* --- Proje secici: cip gorunumu --- */
.navbar #dropdown_projects_menu > a {
	background: rgba(255, 255, 255, 0.1) !important;
	border-radius: 8px;
	margin: 8px 6px;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	height: auto !important;
	line-height: 20px !important;
	font-weight: 600;
}

.navbar #dropdown_projects_menu > a:hover,
.navbar #dropdown_projects_menu > a:focus {
	background: rgba(255, 255, 255, 0.2) !important;
}

/* --- Kirinti seridi: rol rozeti --- */
.breadcrumb .label-default.arrowed,
.breadcrumb .label-default.arrowed-right {
	background: #eaf4f7 !important;
	color: #00718f !important;
	border-radius: 999px;
	padding: 3px 10px;
	font-size: 11.5px;
	font-weight: 600;
	text-shadow: none;
}

/* Ace'in ok ucgenlerini kaldir (hap rozetle uyusmaz) */
.breadcrumb .label-default.arrowed:before,
.breadcrumb .label-default.arrowed:after,
.breadcrumb .label-default.arrowed-right:before,
.breadcrumb .label-default.arrowed-right:after {
	display: none !important;
}

.breadcrumb > li > a {
	color: #00718f;
	font-weight: 600;
}

/* --- Son ziyaret edilenler: cip gorunumu --- */
.nav-recent {
	color: #5d6b72;
	font-size: 12.5px;
}

.nav-recent a {
	display: inline-block;
	background: #f4f8f9;
	border: 1px solid #e2e8e9;
	border-radius: 999px;
	padding: 2px 10px;
	margin: 0 1px;
	font-weight: 600;
	color: #00718f !important;
	text-decoration: none;
}

.nav-recent a:hover {
	background: #eaf4f7;
	border-color: #bcd9e2;
}

/* --- Sorun no arama: hap kutu --- */
.nav-search .nav-search-input,
.nav-search .nav-search-input:focus,
.nav-search .nav-search-input:hover {
	background: #f4f8f9 !important;
	border: 1px solid #e2e8e9 !important;
	border-radius: 999px !important;
	width: 130px;
	transition: width 0.15s ease, border-color 0.15s ease;
}

.nav-search .nav-search-input:focus {
	border-color: #00718f !important;
	width: 170px;
}

/* ============================================================
 * SORUN DETAY SAYFASI (Figma: Mantis SLA Status Card > IssueDetail)
 * theme.js sayfayi body.pt-view-issue ile isaretler. Amac: agir
 * cizgili tablo yerine sakin bir alan gridi, vurgulu ozet, hayalet
 * eylem butonlari ve sohbet kartina benzeyen aktivite notlari.
 * ============================================================ */

/* --- Alan etiketleri: kucuk, gri, buyuk harf --- */
.pt-view-issue table.table > tbody > tr > th.category,
.pt-view-issue table.table > tbody > tr > td.category {
	background: transparent !important;
	color: #8a969b !important;
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
}

/* --- Agir ic cizgiler yerine ince yatay ayraclar --- */
.pt-view-issue .widget-main table.table-bordered,
.pt-view-issue .widget-main table.table-bordered > tbody > tr > td,
.pt-view-issue .widget-main table.table-bordered > tbody > tr > th {
	border: none !important;
}

.pt-view-issue .widget-main table.table-bordered > tbody > tr {
	border-bottom: 1px solid #eef2f3;
}

.pt-view-issue .widget-main table.table-bordered > tbody > tr:last-child,
.pt-view-issue .widget-main table.table-bordered > tbody > tr.spacer {
	border-bottom: none;
}

.pt-view-issue tr.spacer > td {
	height: 6px;
	padding: 0 !important;
}

/* --- Deger hucreleri --- */
.pt-view-issue table.table > tbody > tr > td {
	font-size: 13.5px;
	color: #34454c;
	font-weight: 500;
}

/* --- Ozet vurgulu, aciklama rahat okunur --- */
.pt-view-issue td.bug-summary {
	font-size: 17px;
	font-weight: 700;
	color: #25333b;
	padding-top: 12px;
	padding-bottom: 12px;
}

.pt-view-issue td.bug-description {
	font-size: 13.5px;
	color: #4a575e;
	line-height: 1.55;
}

/* --- Eylem cubugu: Duzenle dolgulu petrol, digerleri hayalet --- */
.pt-view-issue .widget-toolbox .btn {
	background: #ffffff !important;
	border: 1px solid #e2e8e9 !important;
	border-radius: 8px !important;
	color: #5d6b72 !important;
	font-weight: 600;
	box-shadow: none;
}

.pt-view-issue .widget-toolbox .btn:hover,
.pt-view-issue .widget-toolbox .btn:focus {
	background: #f0f7f9 !important;
	border-color: #bcd9e2 !important;
	color: #00718f !important;
}

.pt-view-issue .widget-toolbox a.btn[href*="bug_update_page"],
.pt-view-issue .widget-toolbox form[action*="bug_update_page"] .btn {
	background: #00718f !important;
	border-color: #00718f !important;
	color: #ffffff !important;
}

.pt-view-issue .widget-toolbox a.btn[href*="bug_update_page"]:hover,
.pt-view-issue .widget-toolbox form[action*="bug_update_page"] .btn:hover {
	background: #005a72 !important;
	color: #ffffff !important;
}

/* --- Aktiviteler: sohbet karti gorunumu --- */
/* Zebra kapali; her not beyaz zeminde, ince ayracla ayrilir */
.pt-view-issue #bugnotes .table-striped > tbody > tr,
.pt-view-issue #bugnotes .table-striped > tbody > tr:nth-of-type(odd) {
	background: #ffffff !important;
}

/* Sabit tablo duzeni: avatar sutunu kesin olarak 64px kalir */
.pt-view-issue #bugnotes .widget-main table.table {
	table-layout: fixed;
	width: 100%;
}

/* Uzun baglantilar sabit duzende tasmasin */
.pt-view-issue #bugnotes .pt-note-bubble {
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

/* Avatar sutunu: ust kutularin width-15 etiket sutunuyla ayni hizada
 * (genislik theme.js'in ekledigi colgroup ile %15'e sabitlenir) */
.pt-view-issue #bugnotes td.category {
	text-transform: none;
	font-size: 13px;
	letter-spacing: 0;
	color: #34454c !important;
	font-weight: 500;
	width: 15% !important;
	vertical-align: top;
	text-align: left;
	padding: 14px 0 14px 20px !important;
}

.pt-view-issue #bugnotes td.category img {
	width: 60px !important;
	height: 60px !important;
	border-radius: 50% !important;
	object-fit: cover;
}

.pt-view-issue #bugnotes td.category .padding-2 {
	padding: 0 !important;
}

.pt-view-issue #bugnotes td.category a {
	color: #00718f;
	font-weight: 700;
}

/* Meta seridi: ad + rol rozeti + tarih solda, not no sagda */
.pt-view-issue #bugnotes .pt-note-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 8px;
}

.pt-view-issue #bugnotes .pt-note-meta p {
	margin: 0;
}

.pt-view-issue #bugnotes .pt-note-meta p.small {
	color: #94a1a6;
}

/* Not no baglantisi saga yaslanir (Figma'daki gibi) */
.pt-view-issue #bugnotes .pt-note-meta .pt-note-link {
	margin-left: auto;
}

.pt-view-issue #bugnotes .pt-note-meta .pt-note-link a {
	color: #94a1a6;
	font-weight: 600;
	font-size: 11.5px;
}

/* Not balonu: metin, ust kutudaki giris kutusunun sol hizasinda
 * baslar (hucre dolgusu 2px + balon dolgusu 14px = 16px) */
.pt-view-issue #bugnotes td.bugnote-note,
.pt-view-issue #bugnotes td.bugnote-private {
	background: #ffffff;
	padding: 14px 20px 14px 2px !important;
	line-height: 1.55;
	vertical-align: top;
}

.pt-view-issue #bugnotes .pt-note-meta,
.pt-view-issue #bugnotes .pt-note-actions {
	margin-left: 14px;
}

/* Notlar arasindaki bos ayirici satirlari kaldir; ince cizgi yeter */
.pt-view-issue #bugnotes tr.spacer {
	display: none;
}

.pt-view-issue #bugnotes tr.bugnote ~ tr.bugnote > td {
	border-top: 1px solid #eef2f3 !important;
}

.pt-view-issue #bugnotes .pt-note-bubble {
	background: #f8fafb;
	border: 1px solid #ebeff1;
	border-radius: 10px;
	padding: 10px 14px;
}

/* Ozel (private) notlar: kehribar tonlu balon */
.pt-view-issue #bugnotes td.bugnote-private .pt-note-bubble {
	background: #fdf6e8;
	border-color: #f3e3bd;
}

/* Eylem dugmeleri balonun altinda kucuk satir */
.pt-view-issue #bugnotes .pt-note-actions {
	margin-top: 8px;
}

/* Rol etiketi hap rozet olur (arrowed ucgenler kaldirilir) */
.pt-view-issue #bugnotes .label-default {
	background: #eaf4f7 !important;
	color: #00718f !important;
	border-radius: 999px;
	padding: 2px 9px;
	font-size: 10.5px;
	font-weight: 600;
	text-shadow: none;
}

.pt-view-issue #bugnotes .label-default:before,
.pt-view-issue #bugnotes .label-default:after {
	display: none !important;
}

/* --- Figma'ya yakinlastirma: ferah bosluklar --- */
.pt-view-issue .widget-main table.table > tbody > tr > td,
.pt-view-issue .widget-main table.table > tbody > tr > th {
	padding: 10px 16px;
}

/* Detay kartinin baslik seridi Figma'daki acik gri banda benzesin */
.pt-view-issue .widget-header {
	background: #f4f7f8 !important;
	border-top: none !important;
}

.pt-view-issue .widget-header .widget-title {
	font-size: 13px;
	font-weight: 700 !important;
	color: #34454c;
}

/* --- Sorun detayi iki kart (theme.js splitIssueDetails) --- */
/* Ust kartin sonunda kalan bos ayirici satirlari gizle */
.pt-view-issue .widget-main table.table-bordered > tbody > tr.spacer:last-child {
	display: none;
}

/* Kunye gridi: Figma MetaCard - etiket ustte, deger altta, 4 sutun */
.pt-view-issue .pt-field-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
	gap: 16px 24px;
	padding: 16px 20px;
}

.pt-view-issue .pt-field-label {
	display: block;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #94a1a6;
	margin-bottom: 3px;
}

.pt-view-issue .pt-field-value {
	font-size: 13px;
	font-weight: 600;
	color: #25333b;
	word-break: break-word;
}

.pt-view-issue .pt-field-value a {
	color: #00718f;
}

/* Icerik yigini: Figma ContentCard - baslik, aciklama, etiketler */
.pt-view-issue .pt-content-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 20px;
}

.pt-view-issue .pt-section-summary .pt-section-value {
	font-size: 17px;
	font-weight: 700;
	color: #25333b;
	line-height: 1.35;
}

.pt-view-issue .pt-section-desc .pt-section-value {
	font-size: 13.5px;
	color: #5d6b72;
	line-height: 1.6;
}

.pt-view-issue .pt-section-value {
	font-size: 13px;
	color: #34454c;
}

/* Etiket ekleme formu ogeleri yan yana dizilsin */
.pt-view-issue .pt-section-value form,
.pt-view-issue .pt-section-value form > * {
	display: inline-block;
	vertical-align: middle;
}

/* Son kart ile footer arasinda nefes payi (footer artik normal akista) */
.main-content .page-content {
	padding-bottom: 28px;
}

/* --- Avatarlar: Figma'daki gibi daire --- */
.pt-view-issue #bugnotes img.avatar,
.pt-view-issue img.avatar {
	border-radius: 50% !important;
}

/* --- Not balonu: koseleri yuvarla (separate ile radius calisir) --- */
.pt-view-issue #bugnotes table.table {
	border-collapse: separate;
	border-spacing: 0;
}

.pt-view-issue #bugnotes td.bugnote-note {
	border-radius: 10px;
}

/* Not meta bilgileri (tarih, baglanti) soluk gri */
.pt-view-issue #bugnotes td.category p.small,
.pt-view-issue #bugnotes td.category .lighter {
	color: #94a1a6;
}

/* --- Etiketler: bootstrap rozet (hap) gorunumu --- */
.pt-view-issue td.bug-tags a.tag,
a.tag, .tag {
	display: inline-block;
	background: #eaf4f7;
	color: #00718f;
	border: 1px solid #cfe4eb;
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	margin: 1px 2px 1px 0;
}

a.tag:hover {
	background: #d9ecf2;
	color: #005a72;
}

/* Etiket silme (x) dugmesi rozete bitisik kucuk hap */
.pt-view-issue td.bug-tags .btn-xs {
	border-radius: 999px !important;
	padding: 1px 8px;
}

/* ============================================================
 * YUMUSAK BUTONLAR (site geneli)
 * Tum icerik butonlari "Hatirlatma Gonder" gibi: beyaz zemin,
 * ince kenarlik, 8px kose, hover'da turkuaz tint. Navbar disinda
 * kalan her buton bu dile gecer (.main-container kapsami navbar'i
 * dislar; kirmizi "Sorun Bildir" CTA'si etkilenmez).
 * ============================================================ */
.main-container .btn {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid #e2e8e9 !important;
	border-radius: 8px !important;
	color: #5d6b72 !important;
	font-weight: 600;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.main-container .btn:hover,
.main-container .btn:focus {
	background: #f0f7f9 !important;
	border-color: #bcd9e2 !important;
	color: #00718f !important;
}

.main-container .btn[disabled],
.main-container .btn.disabled {
	background: #f4f6f7 !important;
	color: #b0babd !important;
	border-color: #e2e8e9 !important;
}

/* Etiket butonlari (tag_view_page baglantilari) rozet olur;
 * renkleri theme.js etiket adina gore atar */
.main-container a.btn[href*="tag_view_page.php"] {
	border-radius: 999px !important;
	padding: 2px 12px;
	font-size: 12px;
	font-weight: 600;
	background: #eaf4f7 !important;
	color: #00718f !important;
	border-color: #cfe4eb !important;
}

/* Etiket sokme (x) dugmesi kucuk yuvarlak hap */
.main-container a.btn[href*="tag_detach"] {
	border-radius: 999px !important;
	padding: 2px 8px;
}

/* Birincil eylem (Duzenle) dolgulu petrol olarak kalir */
.pt-view-issue .widget-toolbox a.btn[href*="bug_update_page"],
.pt-view-issue .widget-toolbox form[action*="bug_update_page"] .btn {
	background: #00718f !important;
	border-color: #00718f !important;
	color: #ffffff !important;
}

.pt-view-issue .widget-toolbox a.btn[href*="bug_update_page"]:hover,
.pt-view-issue .widget-toolbox form[action*="bug_update_page"] .btn:hover {
	background: #005a72 !important;
	border-color: #005a72 !important;
	color: #ffffff !important;
}

/* ------------------------------------------------------------------ */
/* Cagri acma sayfasi (Figma: ReportIssue) - theme.js restyleReportIssuePage */
/* ------------------------------------------------------------------ */
.pt-report-issue .pt-report-alerts {
	margin: 0 0 12px 0;
}

.pt-report-issue .pt-report-alerts > .col-md-12 {
	padding-left: 0;
	padding-right: 0;
}

.pt-report-issue #report_bug_form .widget-box,
.pt-report-issue form[action*="bug_report.php"] .widget-box {
	border: 1px solid #d6dee0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
	background: #ffffff;
}

.pt-report-issue .pt-report-content {
	margin-top: 0;
}

.pt-report-issue .widget-header .widget-title {
	font-size: 13px;
	font-weight: 700 !important;
	color: #34454c;
}

/* Kunye gridi (ust kart) */
.pt-report-issue .pt-field-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) );
	gap: 14px 20px;
	padding: 16px 20px;
}

.pt-report-issue .pt-field-full {
	grid-column: 1 / -1;
}

/* Profil sec + manuel alanlar */
.pt-report-issue .pt-profile-block {
	background: #f8fbfc;
	border: 1px solid #e3eaec;
	border-radius: 10px;
	padding: 12px 14px;
}

.pt-report-issue .pt-profile-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pt-report-issue .pt-profile-select-row select {
	width: 100%;
	max-width: 420px;
}

.pt-report-issue .pt-profile-toggle,
.pt-report-issue .pt-section-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 420px;
	text-align: left;
	background: #ffffff;
	border: 1px dashed #b8c9ce;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: #00718f;
	cursor: pointer;
}

.pt-report-issue .pt-profile-toggle:hover,
.pt-report-issue .pt-section-toggle:hover {
	background: #f0f8fa;
	border-color: #00718f;
}

.pt-report-issue .pt-profile-toggle .fa,
.pt-report-issue .pt-section-toggle .fa {
	margin-left: auto;
	font-size: 11px;
}

.pt-report-issue .pt-toggle-hint {
	font-weight: 400;
	color: #94a1a6;
	font-size: 11px;
}

.pt-report-issue .pt-profile-manual {
	padding-top: 4px;
}

.pt-report-issue .pt-profile-fields {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 180px, 1fr ) );
	gap: 12px 16px;
}

.pt-report-issue .pt-profile-field .pt-field-value select,
.pt-report-issue .pt-profile-field .pt-field-value input,
.pt-report-issue .pt-profile-field .pt-field-value textarea.pt-platform-textarea {
	width: 100%;
}

.pt-report-issue [data-pt-part="platform"] {
	grid-column: 1 / -1;
}

.pt-report-issue .pt-platform-textarea,
.pt-report-issue [data-pt-part="platform"] textarea {
	min-height: 80px;
	resize: vertical;
}

.pt-report-issue .pt-field-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #94a1a6;
	margin-bottom: 4px;
	text-transform: none;
	letter-spacing: 0;
}

.pt-report-issue .pt-field-optional {
	font-weight: 500;
	color: #b0babf;
}

.pt-report-issue .pt-field-value {
	font-size: 13px;
	font-weight: 600;
	color: #25333b;
	word-break: break-word;
}

.pt-report-issue .pt-field-value select,
.pt-report-issue .pt-field-value input[type="text"],
.pt-report-issue .pt-field-value textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid #d6dee0;
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 13px;
	color: #34454c;
	background: #ffffff;
	font-weight: 400;
}

.pt-report-issue .pt-field-value select:focus,
.pt-report-issue .pt-field-value input[type="text"]:focus,
.pt-report-issue .pt-field-value textarea:focus {
	border-color: #00718f;
	box-shadow: 0 0 0 3px rgba(0, 113, 143, .12);
	outline: none;
}

/* Icerik yigini (ozet / aciklama karti) */
.pt-report-issue .pt-content-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px 20px 8px 20px;
}

.pt-report-issue .pt-section {
	background: #ffffff;
	border: 1px solid #e3eaec;
	border-radius: 10px;
	padding: 12px 14px;
}

.pt-report-issue .pt-section .pt-field-label {
	font-size: 12px;
	font-weight: 700;
	color: #5a6a72;
	margin-bottom: 8px;
}

.pt-report-issue .pt-section-collapsible .pt-section-toggle {
	max-width: none;
	border-style: solid;
	background: #f8fbfc;
	color: #34454c;
}

.pt-report-issue .pt-section-collapsible .pt-section-value[hidden] {
	display: none;
}

.pt-report-issue .pt-section-summary .pt-section-value input {
	font-size: 17px;
	font-weight: 700;
	color: #25333b;
	border: 1px solid #d6dee0;
	border-radius: 8px;
	padding: 10px 14px;
	width: 100%;
	max-width: 820px;
}

.pt-report-issue .pt-section-desc .pt-section-value textarea,
.pt-report-issue .pt-section-value textarea.form-control {
	width: 100%;
	max-width: 820px;
	min-height: 120px;
	border: 1px solid #d6dee0;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #34454c;
}

.pt-report-issue .pt-section-value textarea.form-control:focus,
.pt-report-issue .pt-section-summary .pt-section-value input:focus {
	border-color: #00718f;
	box-shadow: 0 0 0 3px rgba(0, 113, 143, .12);
	outline: none;
}

.pt-report-issue .pt-section .pt-field-label {
	margin-bottom: 6px;
}

/* Gonder satiri */
.pt-report-issue .widget-toolbox {
	border-top: 1px solid #eef2f3;
	background: #f8fbfc;
	padding: 12px 20px !important;
	margin-bottom: 8px;
}

.pt-report-issue .widget-toolbox input[type="submit"],
.pt-report-issue .widget-toolbox button[type="submit"] {
	background: #00718f !important;
	border-color: #00718f !important;
	color: #ffffff !important;
	border-radius: 999px !important;
	padding: 8px 26px;
	font-weight: 600;
	font-size: 13.5px;
	float: none !important;
}

.pt-report-issue .widget-toolbox input[type="submit"]:hover {
	background: #005a72 !important;
	border-color: #005a72 !important;
}

.pt-report-issue .required {
	color: #e6394a;
}

/* Lisans tipine gore alan gorunurlugu */
.pt-report-issue [data-pt-part="os"],
.pt-report-issue [data-pt-part="os_build"] {
	display: none !important;
}

.pt-report-mode-subscription .pt-profile-block,
.pt-report-mode-subscription [data-pt-part="platform"],
.pt-report-mode-subscription [data-pt-part="os"],
.pt-report-mode-subscription [data-pt-part="os_build"] {
	display: none !important;
}

.pt-report-mode-support [data-pt-report-group="product-version"],
.pt-report-mode-support [data-pt-report-group="latest-version"],
.pt-report-mode-support .pt-lm-latest-field,
.pt-report-mode-support [data-pt-part="os"],
.pt-report-mode-support [data-pt-part="os_build"] {
	display: none !important;
}

.pt-report-mode-support .pt-profile-block {
	display: block !important;
}

/* Destek hakki karti form ustunde tam genislik */
.pt-report-issue .lm-quota-card {
	margin: 0 0 12px 0 !important;
}

/* Izleyici ekleme: kullanici adi dogrulama */
.pt-monitor-user-field {
	position: relative;
	display: inline-block;
}
.pt-monitor-user-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 20;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #d5dfe5;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
	max-height: 220px;
	overflow-y: auto;
}
.pt-monitor-user-suggest li {
	padding: 6px 10px;
	cursor: pointer;
	font-size: 13px;
}
.pt-monitor-user-suggest li:hover {
	background: #f0f6ff;
}
.pt-monitor-user-feedback {
	display: block;
	margin-top: 6px;
	font-size: 12px;
}
.pt-monitor-user-feedback--error {
	color: #c0392b;
}
.pt-monitor-user-feedback--ok {
	color: #2e7d32;
}

/* --- Bicimlendirme onizlemesi (Yaz / Onizle) ------------------------- */
.pt-preview-toggle {
	display: inline-block;
	margin: 4px 0 0;
	padding: 2px 10px;
	font-size: 12px;
	color: #4a575e;
	background: #eef2f3;
	border: 1px solid #d5dfe5;
	border-radius: 4px;
	cursor: pointer;
}
.pt-preview-toggle:hover {
	background: #e2eaee;
}
.pt-preview-pane {
	margin-top: 4px;
	padding: 10px 12px;
	min-height: 80px;
	background: #fafcfd;
	border: 1px solid #d5dfe5;
	border-radius: 4px;
	overflow-wrap: break-word;
}
.pt-preview-pane p:last-child {
	margin-bottom: 0;
}
.pt-preview-empty {
	color: #8a97a3;
	font-style: italic;
}

/* ---------- Yol haritasi (roadmap): surum kartlari ----------
 * roadmap_page.php yeniden tasarimi. Surum adi kart basliginda one
 * cikar, tarih/ilerleme rozetleri ust seritte, sorunlar durum pill'li
 * esnek satirlar halinde listelenir. */

/* Baslik: surum adi buyuk, proje adi ikincil */
.pt-roadmap .widget-header {
	padding: 4px 12px;
}

.widget-header a.pt-rm-ver {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-size: 16.5px;
	font-weight: 700;
	color: #25333b;
}

.widget-header a.pt-rm-ver:hover {
	color: #9e1117;
	text-decoration: none;
}

.pt-rm-proj {
	margin-left: 10px;
	font-size: 12.5px;
	font-weight: 500;
}

.widget-header .pt-rm-proj a {
	color: #5c6b72;
}

.widget-header .pt-rm-proj a:hover {
	color: #9e1117;
}

/* Basliktaki yuzde rozeti */
.pt-roadmap .widget-toolbar.pt-rm-pct {
	background: #e7f3ec;
	color: #1a7444;
	font-weight: 700;
	font-size: 12.5px;
	border: none;
	box-shadow: none;
	border-radius: 999px;
	padding: 2px 12px;
	margin: 8px 10px 0 0;
	line-height: 1.6;
}

/* Ust serit: tarih rozeti + sorun listesi kisayolu */
.pt-rm-meta {
	background: #fbfcfc !important;
	border-bottom: 1px solid #eef2f3 !important;
}

.pt-rm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f4f6f7;
	border: 1px solid #e2e8e9;
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: #34454c;
	margin: 2px 6px 2px 0;
	/* Cekirdek sablonda tarih blogu .pull-left; rozet olurken float sifirlanir */
	float: none !important;
}

.pt-rm-chip .fa {
	color: #5c6b72;
}

.pt-rm-meta .btn-toolbar {
	margin-top: 0;
	margin-bottom: 0;
}

/* Changelog: cozulen sorun sayisi rozeti */
.pt-rm-count {
	background: #e7f3ec;
	border-color: #cfe6d8;
	color: #1a7444;
}

/* ---------- My View: pano kartlari ----------
 * Kutu basliklarindaki "x - y / n" sayaci yesil rozete cevrilir,
 * baslik baglantisi kart diline uydurulur (sinifi theme.js ekler). */
body.pt-myview .widget-header .badge {
	background: #e7f3ec !important;
	color: #1a7444 !important;
	font-weight: 700;
	font-size: 12px;
	border-radius: 999px;
	padding: 3px 10px;
	text-shadow: none;
}

body.pt-myview .widget-header .widget-title a {
	color: #25333b;
	font-weight: 600;
}

body.pt-myview .widget-box {
	margin-bottom: 14px;
}

/* Surum aciklamasi: uyari kutusu yerine sakin bilgi notu */
.pt-rm-desc {
	background: #f2f7fa;
	border-left: 3px solid #005b8d;
	border-radius: 0 6px 6px 0;
	color: #25333b;
	padding: 8px 14px;
	margin: 2px 0 12px;
	font-size: 13.5px;
}

/* Ilerleme cubugu + "x / y cozuldu" etiketi */
.pt-rm-progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 14px;
}

.pt-rm-progress .progress {
	flex: 1 1 auto;
	max-width: 420px;
	height: 10px;
	margin: 0;
	border-radius: 999px;
}

.pt-rm-progress-label {
	font-size: 12.5px;
	font-weight: 600;
	color: #5c6b72;
	white-space: nowrap;
}

/* Sorun satirlari (roadmap + changelog ayni dili konusur) */
.pt-roadmap ul.roadmap,
.pt-roadmap ul.changelog {
	margin: 0;
	padding: 0;
}

.pt-roadmap ul.roadmap > li.pt-rm-item,
.pt-roadmap ul.changelog > li.pt-rm-item {
	margin: 0;
	padding: 6px 2px;
	border-bottom: 1px solid #eef2f3;
}

.pt-roadmap ul.roadmap > li.pt-rm-item:last-child,
.pt-roadmap ul.changelog > li.pt-rm-item:last-child {
	border-bottom: none;
}

.pt-roadmap ul.roadmap > li.pt-rm-item:hover,
.pt-roadmap ul.changelog > li.pt-rm-item:hover {
	background: #f7fafa;
}

.pt-rm-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

/* Durum pill'i: zemin rengi status-X-bg siniflarindan (pastel) gelir */
.pt-rm-status {
	flex: 0 0 auto;
	min-width: 96px;
	text-align: center;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #25333b;
	border: 1px solid rgba(37, 51, 59, 0.12);
}

.pt-rm-id a {
	font-weight: 700;
	color: #c2151c;
}

.pt-rm-cat {
	background: #edf1f1;
	color: #5c6b72;
	border-radius: 4px;
	padding: 1px 8px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.pt-rm-summary {
	flex: 1 1 auto;
	min-width: 220px;
	font-size: 14px;
}

.pt-rm-handler {
	color: #5c6b72;
	font-size: 12.5px;
	white-space: nowrap;
}

.pt-rm-handler a {
	color: #5c6b72;
	font-weight: 600;
}

/* Cozulen sorunlar: satir soluklasir, yalnizca ozet ustu cizilir */
.pt-rm-resolved {
	opacity: 0.68;
}

.pt-rm-resolved .pt-rm-summary {
	text-decoration: line-through;
	text-decoration-color: rgba(92, 107, 114, 0.55);
	color: #5c6b72;
}

/* Bos durum */
.pt-rm-empty {
	background: #ffffff;
	border: 1px dashed #b6bfc1;
	border-radius: 8px;
	text-align: center;
	padding: 40px 20px;
	margin-top: 16px;
	color: #5c6b72;
}

.pt-rm-empty .pt-rm-empty-icon {
	font-size: 40px;
	color: #b6bfc1;
	display: block;
	margin-bottom: 12px;
}

.pt-rm-empty p.lead {
	margin: 0;
	font-size: 15px;
}

/* Dar ekran: pill tam satir olur, ozet alta iner */
@media (max-width: 560px) {
	.pt-rm-status {
		min-width: 0;
	}

	.pt-rm-summary {
		flex-basis: 100%;
		min-width: 0;
	}

	.pt-rm-progress .progress {
		max-width: none;
	}
}

/* ---------- Ortak GUI atomlari: toggle anahtar + chip girisi ----------
 * Figma "Mantis Roadmap Redesign" ayar ekranlari (12:137) dili.
 * Eklentiler (ServiceRating vb.) bu siniflari dogrudan kullanir. */
.pt-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	vertical-align: middle;
}

.pt-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.pt-switch .pt-switch-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #cfd8dc;
	border-radius: 999px;
	transition: background 0.2s;
}

.pt-switch .pt-switch-slider:before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.pt-switch input:checked + .pt-switch-slider {
	background: #00718f;
}

.pt-switch input:checked + .pt-switch-slider:before {
	transform: translateX(20px);
}

.pt-chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	border: 1px solid #e2e8e9;
	border-radius: 6px;
	background: #fff;
	padding: 5px 10px;
	min-width: 220px;
	max-width: 340px;
}

.pt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f4f6f7;
	border: 1px solid #e2e8e9;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #34454c;
	white-space: nowrap;
}

.pt-chip-x {
	color: #5c6b72;
	cursor: pointer;
	text-decoration: none;
	font-weight: 700;
	line-height: 1;
}

.pt-chip-x:hover {
	color: #c2151c;
	text-decoration: none;
}

.pt-chip-add {
	color: #00718f;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 2px 4px;
}

/* ---------- Mobil: proje secici ust cubukta sag ust kose ----------
 * theme.js kucuk ekranlarda #dropdown_projects_menu'yu buraya (her
 * zaman gorunur .navbar-header) tasir. Avatar toggle (pull-right) en
 * sagda kalir; proje secici onun soluna oturur. */
@media (max-width: 767px) {
	.navbar .navbar-header .pt-mobile-projects.ace-nav {
		float: right;
		margin: 0;
		padding: 0;
		max-width: 45vw;
	}

	.navbar .navbar-header .pt-mobile-projects.ace-nav > li#dropdown_projects_menu {
		float: left;
		line-height: normal;
	}

	.navbar .navbar-header .pt-mobile-projects #dropdown_projects_menu > a {
		display: flex;
		align-items: center;
		max-width: 45vw;
		height: 45px;
		margin: 0;
		padding: 0 10px !important;
		border-radius: 0;
		background: rgba(255, 255, 255, 0.1) !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
