/* KK Bekleme Listesi */

.kkw-box {
	margin: 12px 0;
	padding: 14px 16px;
	background: #f8f8f8;
	border: 1px dashed #ccc;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.kkw-box.kkw-done {
	background: #edf9ef;
	border-color: #46b450;
	color: #1e5b2a;
}

.kkw-box .kkw-note {
	display: block;
	color: #777;
	width: 100%;
}

.kkw-box .kkw-msg {
	color: #d63638;
	font-size: 0.9em;
}

.kkw-add-btn.kkw-loading {
	opacity: 0.6;
	cursor: wait;
}

/* Hesabım tablosu */
.kkw-table .kkw-col-thumb {
	width: 70px;
}

.kkw-table img {
	border-radius: 4px;
}

.kkw-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.85em;
	white-space: nowrap;
}

.kkw-badge.kkw-in {
	background: #edf9ef;
	color: #1e7a2e;
}

.kkw-badge.kkw-out {
	background: #fdeaea;
	color: #b32d2e;
}

.kkw-actions {
	white-space: nowrap;
	text-align: right;
}

.kkw-actions .button {
	margin: 0;
}

.kkw-actions-inner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.kkw-remove-form {
	display: inline-block;
	margin: 0 !important;
}

/* Temanın buton stilini ezerek sade bir "çıkar" linki görünümü ver */
.kkw-table button.kkw-remove,
.kkw-table button.kkw-remove:focus {
	background: transparent !important;
	border: 1px solid #d9b2b2 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	color: #b32d2e !important;
	cursor: pointer;
	padding: 6px 12px !important;
	font-size: 0.85em !important;
	font-weight: normal !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
}

.kkw-table button.kkw-remove:hover {
	background: #fdeaea !important;
	border-color: #b32d2e !important;
	color: #8a1f20 !important;
	text-decoration: none;
}

@media (max-width: 768px) {

	/* Tabloyu kart görünümüne çevir */
	.kkw-table thead {
		display: none;
	}

	.kkw-table,
	.kkw-table tbody,
	.kkw-table tr,
	.kkw-table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box;
	}

	.kkw-table {
		border: none !important;
	}

	.kkw-table tr {
		position: relative;
		border: 1px solid #e5e5e5 !important;
		border-radius: 10px;
		padding: 14px 14px 14px 92px;
		margin-bottom: 16px;
		min-height: 90px;
	}

	.kkw-table td {
		border: none !important;
		padding: 3px 0 !important;
		text-align: left !important;
		font-size: 0.95em;
	}

	.kkw-table td::before {
		content: none !important; /* Temanın data-title etiketlerini kapat */
	}

	.kkw-table td.kkw-col-thumb {
		position: absolute;
		left: 14px;
		top: 14px;
		width: 64px !important;
		padding: 0 !important;
	}

	.kkw-table td.kkw-col-thumb img {
		width: 64px;
		height: auto;
	}

	.kkw-table td[data-title="Eklenme"] {
		color: #888;
		font-size: 0.85em;
	}

	.kkw-table td.kkw-actions {
		padding-top: 10px !important;
		text-align: left;
	}

	.kkw-actions-inner {
		display: flex !important;
		width: 100%;
		gap: 10px;
	}

	.kkw-actions-inner .button {
		flex: 1;
		text-align: center;
	}

	.kkw-actions-inner .kkw-remove-form {
		flex: 1;
		display: flex !important;
	}

	.kkw-table button.kkw-remove {
		width: 100% !important;
		text-align: center;
	}
}
