/* ============================================================
 * faneltrcheck – Custom CSS
 * ============================================================ */

/* Risk warning banner */
.risk-warning-banner {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 8px 12px;
	margin-bottom: 12px;
	color: #856404;
	font-weight: bold;
}

.risk-warning-banner i,
.risk-warning-banner .fa {
	margin-right: 6px;
}

/* Check type tabs (Çek/Senet toggle) */
.check-type-tabs {
	margin-bottom: 12px;
}

.check-type-tabs .tab {
	display: inline-block;
	padding: 6px 16px;
	margin-right: 4px;
	border: 1px solid #ccc;
	border-radius: 4px 4px 0 0;
	background: #f5f5f5;
	cursor: pointer;
	text-decoration: none;
	color: #333;
}

.check-type-tabs .tab.active {
	background: #fff;
	border-bottom-color: #fff;
	font-weight: bold;
	color: #2b3d63;
}

/* Check list status badges */
.badge-status.badge-status-portfolio {
	background-color: #17a2b8;
	color: #fff;
}

.badge-status.badge-status-collected {
	background-color: #28a745;
	color: #fff;
}

.badge-status.badge-status-bounced {
	background-color: #dc3545;
	color: #fff;
}

.badge-status.badge-status-cancelled {
	background-color: #6c757d;
	color: #fff;
}

/* Import page styling */
.import-results {
	margin-top: 16px;
}

.import-results .result-success {
	color: #28a745;
}

.import-results .result-error {
	color: #dc3545;
}

/* Collection page */
.collection-summary {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 16px;
}

.collection-summary .amount {
	font-size: 1.4em;
	font-weight: bold;
	color: #28a745;
}

/* Portrait / landscape orientation helper for uploaded images */
.check-image-container img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 4px;
	background: #fff;
}

/* Responsive table for small screens */
@media (max-width: 768px) {
	.tableforfield td {
		display: block;
		width: 100%;
	}
	.tableforfield td.titlefield {
		font-weight: bold;
		padding-top: 12px;
	}
}
