/* ── Jumbotron Header ────────────────────────────────── */
.jumbotron-header {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-right: 20px !important;
	box-sizing: border-box;
}

.jumbotron-file-info {
	flex: 1;
	min-width: 0;
}

.jumbotron-surec {
	flex: 1;
	min-width: 0;
	text-align: center;
}

.jumbotron-right {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.jumbotron-company {
	font-size: 12px;
	color: #999;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.jumbotron-primary-name {
	font-size: 15px;
	font-weight: 700;
	color: #222;
	margin-bottom: 8px;
}

.jumbotron-meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
}

.jumbotron-label {
	font-size: 11px;
	color: #aaa;
	width: 64px;
	flex-shrink: 0;
}

.jumbotron-value {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.jumbotron-qr {
	flex-shrink: 0;
	text-align: center;
}

.jumbotron-qr img {
	display: block;
	max-width: 90px;
}

.jumbotron-dealer {
	flex: 0 1 auto;
	min-width: 0;
	text-align: right;
	box-sizing: border-box;
}

.jumbotron-dealer .jumbotron-primary-name {
	text-align: right;
}

.jumbotron-dealer .jumbotron-meta {
	justify-content: flex-end;
}

.jumbotron-dealer .jumbotron-label {
	width: 20px;
	text-align: center;
	color: #aaa;
	order: 2;
}

.jumbotron-dealer .jumbotron-value {
	order: 1;
}

.jumbotron-dealer .jumbotron-label .fa {
	font-size: 12px;
}

.jumbotron-qr-label {
	text-align: center;
	font-size: 11px;
	color: #999;
	margin-top: 4px;
	letter-spacing: 0.5px;
}

.jumbotron-qr canvas,
.jumbotron-qr img {
	display: block;
	margin: 0 auto;
}

.jumbotron-btn-groups {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}

.jumbotron-btn-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jumbotron-btn-group-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #999;
	padding-left: 2px;
}

.jumbotron-btn-group .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.jumbotron-btn-group .btn-group .btn {
	border-radius: 3px !important;
	margin: 0;
}

/* ── End Jumbotron Header ────────────────────────────── */

/* ── Info Outer Panel ────────────────────────────────── */
.info-outer-panel {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.info-outer-panel > .panel-body {
	background: transparent !important;
	padding-left: 0;
	padding-right: 0;
}

/* ── Info Card Grid ──────────────────────────────────── */
.info-section-title {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 15px;
	color: #555;
}

.info-card {
	background: #fff;
	border: 1px solid #e4e4e4;
	border-left: 3px solid #c00;
	border-radius: 3px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.info-card-header {
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	background: #fafafa;
	border-bottom: 1px solid #ececec;
	border-radius: 2px 2px 0 0;
}

.info-card-header .fa {
	color: #c00;
	margin-right: 6px;
}

.info-card-body {
	padding: 12px 14px;
}

/* Key-value list inside cards */
.info-dl {
	margin: 0;
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 0;
}

.info-dl dt,
.info-dl dd {
	padding: 5px 6px;
	margin: 0;
	border-bottom: 1px solid #f2f2f2;
	font-size: 13px;
	line-height: 1.5;
	vertical-align: top;
}

.info-dl dt {
	color: #888;
	font-weight: 600;
	white-space: nowrap;
}

.info-dl dd {
	color: #333;
}

.info-dl dt:last-of-type,
.info-dl dd:last-of-type {
	border-bottom: none;
}

/* Status badge inside dl */
.info-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
	background: #f0f0f0;
	border-radius: 10px;
	color: #555;
}

/* History / table inside cards */
.info-history-table {
	margin-bottom: 0;
	font-size: 13px;
}

.info-history-table thead th {
	background: #f7f7f7;
	font-weight: 600;
	color: #555;
	border-bottom: 2px solid #e0e0e0;
	padding: 7px 10px;
}

.info-history-table tbody td {
	padding: 6px 10px;
	color: #333;
	border-top: 1px solid #f2f2f2;
}

.info-history-table tbody tr:hover {
	background: #fafafa;
}

.info-total-row td {
	background: #f7f7f7;
	border-top: 2px solid #e0e0e0 !important;
}

.info-empty {
	font-size: 13px;
	margin: 4px 0;
}

.info-card-header-icon-warning {
	color: #e6a817 !important;
}

.info-warning-row {
	font-size: 13px;
	padding: 4px 0;
	border-bottom: 1px solid #f2f2f2;
	color: #333;
}

.info-warning-row:last-child {
	border-bottom: none;
}

/* ── End Info Card Grid ───────────────────────────────── */

#file-photos ul li{
  float: left;
  padding-right: 10px;
}
#file-photos .badges-v1{
  width: 220px;
  height: 270px;
}

/*
 * style-red.css .badges-ribbon-reverse uses width:40px + overflow:hidden, which clips
 * every action button after the first (sil / indir / bilgi). Higher specificity here wins.
 */
#file-photos .badges-ribbon-reverse,
#modalContent .badges-ribbon-reverse {
	width: auto;
	min-width: 40px;
	max-width: 210px;
	overflow: visible;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 4px;
	z-index: 100;
}

#file-photos dl{
  padding: 5px;
}
#file-photos dl dt{
  float: left;
  width: 40%;
  font-size: 13px;
  line-height: 1.5;
  height: auto;
}
#file-photos dl dd{
  float: left;
  width: 60%;
  font-size: 13px;
  line-height: 1.5;
  height: auto;
}
#file-photos .photopartname-dd {
  font-size: 13px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  position: relative;
  cursor: help;
}
#file-messages .nav-tabs-v6 li{
  padding-top: 15px;
}
#file-messages .nav-tabs-v6 > li.active:after {
  border-width: 20px;
  margin-left: -20px;
}
#file-messages .timeline:before, #file-messages-ro-messages .timeline:before {
  left: 93%;
}
#file-messages .timeline > li > .timeline-panel, #file-messages-ro-messages .timeline > li > .timeline-panel {
  width: 90%;
}
#file-timeline .list-timeline-section {
  padding: 0;
}

.badges-v1 {
	overflow: hidden;
}

.badges-v1 img {
	height: 150px;
	display: block;
	margin: 0 auto;
}

.part-summary-display {
	margin-top: 10px;
	margin-bottom: 20px;
}
.part-summary-display .btn hr {
	margin: 0;
}
.part-summary-display .btn.btn-circle {
	font-size: 2em;
}

.part-summary-display .col-md-2,
.part-summary-display .col-sm-6,
.part-summary-display .col-xs-12 {
	padding-left: 5px;
	padding-right: 5px;
}

@media (min-width: 992px) and (max-width: 1400px) {
	.part-summary-display .col-md-2 {
		width: 9.8% !important;
	}
}

@media (min-width: 1401px) and (max-width: 1950px) {
	.part-summary-display .col-md-2 {
		width: 10.6% !important;
	}
}
@media (min-width: 1951px) {
	.part-summary-display .col-md-2 {
		width: 11.0% !important;
	}
}

.btn-discount-change {
	margin-left: 10px;
	padding: 6px 14px;
	font-weight: 600;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.2s ease, transform 0.1s ease;
}
.btn-discount-change .fa {
	margin-right: 5px;
}
.btn-discount-change:hover {
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
	color: #fff;
}
.btn-discount-change:active {
	transform: translateY(1px);
}

#tabs-area-demo .nav-tabs.nav-tabs-v5 {
	display: flex;
	flex-wrap: nowrap;
	margin-bottom: 24px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 > li {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	position: relative;
	padding-bottom: 14px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 > li.active:before,
#tabs-area-demo .nav-tabs.nav-tabs-v5 > li.active:after {
	bottom: 2px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 span.round-tabs {
	width: 48px;
	height: 48px;
	line-height: 48px;
	font-size: 18px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 > li a {
	width: 48px;
	height: 48px;
	margin: 10px auto !important;
	margin-bottom: 18px !important;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 > li a[data-toggle="tab"] > div {
	top: 52px !important;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	left: 50% !important;
	transform: translateX(-50%);
	width: 100%;
	padding: 0 2px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 .liner {
	margin-top: 72px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 .badge {
	font-size: 9px;
	padding: 1px 4px;
}
#tabs-area-demo .nav-tabs.nav-tabs-v5 .badge .icon {
	font-size: 9px;
}

.photo-gate-inline .photo-gate-thumbs-row {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	align-content: flex-start;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.photo-gate-inline .photo-gate-thumbs-row li {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}
.photo-gate-inline .photo-gate-thumbs-row .photo-gate-thumb-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
	overflow: hidden;
	background: #fafafa;
}
.photo-gate-inline .photo-gate-thumbs-row img {
	display: block;
	max-width: 52px;
	max-height: 52px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.photo-gate-inline .photo-gate-thumbs-row img.photo-gate-doc-icon {
	max-width: 36px;
	max-height: 36px;
	width: auto;
	height: auto;
	object-fit: contain;
	padding: 4px;
}
.photo-gate-inline .photo-gate-types-row {
	margin-left: -6px;
	margin-right: -6px;
}
.photo-gate-inline .photo-gate-types-row .photo-gate-type-col {
	padding-left: 6px;
	padding-right: 6px;
	margin-bottom: 10px;
}
.photo-gate-inline .photo-gate-type-block {
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 8px 8px 6px;
	background: #fafafa;
	height: 100%;
	margin-bottom: 0;
}
.photo-gate-inline .photo-gate-type-title strong {
	display: block;
	line-height: 1.25;
	word-break: break-word;
}
.remote-modal .photo-gate-inline .photo-gate-inline-header .photo-gate-back-btn {
	color: #337ab7;
}
.remote-modal .photo-gate-inline .photo-gate-inline-header .photo-gate-back-btn:hover {
	color: #23527c;
	text-decoration: underline;
}

/* Fotoğraf gerekli (photo gate): modal ve yükleme alanı dar, taşmayı azaltır */
.remote-modal.photo-gate-modal .modal-dialog.photo-gate-modal-dialog {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}
.remote-modal.photo-gate-modal .modal-body {
	overflow-x: hidden;
}
.remote-modal.photo-gate-modal .photo-gate-upload-wrap {
	max-width: 100%;
}
.remote-modal.photo-gate-modal .photo-gate-upload-iframe {
	display: block;
}

/* Onarımda modal: İşlemde tamamlanan satır — yeşil daha yumuşak (bg-success) */
.assigned-parts tr.bg-success > td {
	background-color: rgba(39, 194, 76, 0.2) !important;
}