/* Albi Müşteri Dosya Yükleme — yapısal stiller (tema override edebilir) */

.acu-upload {
	margin: 14px 0;
	padding: 14px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius, 12px);
	background: var(--bg-light, #faf9f7);
}

.acu-upload__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 10px;
}

.acu-upload__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark, #1c1917);
}

.acu-upload__hint {
	font-size: 11.5px;
	color: var(--text-light, #9a948c);
}

.acu-upload__counter {
	display: inline-block;
	padding: 1px 8px;
	margin-right: 4px;
	border-radius: 9999px;
	background: #f0f0f1;
	color: #57534e;
	font-weight: 600;
	font-size: 11px;
}

.acu-upload.has-files {
	border-color: #22c55e;
	background: #f4fbf6;
}

.acu-upload.has-files .acu-upload__counter {
	background: #22c55e;
	color: #fff;
}

.acu-upload.is-full .acu-upload__drop {
	opacity: .6;
	pointer-events: none;
}

.acu-upload__drop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 16px;
	border: 1.5px dashed var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: #fff;
	cursor: pointer;
	transition: var(--transition, all .3s ease);
	text-align: center;
}

.acu-upload__drop:hover,
.acu-upload__drop.is-dragover {
	border-color: var(--accent, #b98a2e);
	background: #fffdf8;
}

.acu-upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.acu-upload__btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: var(--radius-sm, 6px);
	background: var(--accent, #b98a2e);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.acu-upload__note {
	font-size: 12px;
	color: var(--text-light, #9a948c);
}

.acu-upload__list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 8px;
}

.acu-upload__item {
	position: relative;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: #fff;
	padding: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	overflow: hidden;
}

.acu-upload__preview {
	display: block;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	line-height: 0;
}

.acu-upload__thumb {
	width: 100%;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.acu-upload__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 100%;
	height: 64px;
	border-radius: 4px;
	background: #f0f0f1;
	color: #d63638;
	font-size: 10px;
	font-weight: 700;
}

.acu-upload__name {
	font-size: 10.5px;
	color: var(--text-body, #57534e);
	text-align: center;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.acu-upload__remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	line-height: 1;
	font-size: 14px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	cursor: pointer;
	padding: 0;
}

.acu-upload__remove:hover {
	background: #d63638;
}

.acu-upload__status {
	margin-top: 8px;
	font-size: 12px;
	color: var(--text-light, #9a948c);
	min-height: 1em;
}

.acu-upload__status.is-error {
	color: #d63638;
}

/* Sepet / ödeme / sipariş dosya listeleri */
.acu-files {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.acu-files__item {
	margin: 0;
}

.acu-files__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: inherit;
	padding: 3px 6px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: 6px;
	background: #fff;
}

.acu-files__thumb {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.acu-files__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: #f0f0f1;
	color: #d63638;
	font-size: 10px;
	font-weight: 700;
}

.acu-files__name {
	font-size: 11.5px;
	color: var(--text-body, #57534e);
}

.acu-files-wrap {
	margin: 6px 0;
	font-size: 12px;
}

.acu-files-wrap__label {
	font-weight: 600;
	color: var(--text-dark, #1c1917);
}
