/* Tailwind tema oluşturmazsa temel fallback'ler */
.bh-calculator { font-family: inherit; }

/* Seçili chip durumu — JS tarafından .bh-selected eklenir */
.bh-choice-chip.bh-selected {
	border-color: #3b82f6 !important;   /* blue-500 */
	background-color: #eff6ff !important; /* blue-50  */
	color: #1d4ed8 !important;            /* blue-700 */
}

.bh-radio-chip.bh-selected .bh-chip-dot {
	background-color: #3b82f6;
	border-color: #3b82f6;
}

.bh-checkbox-chip.bh-selected .bh-chip-dot {
	background-color: #3b82f6;
	border-color: #3b82f6;
}

/* Hover için Tailwind sınıfı üretilemezse */
.bh-choice-chip:hover {
	border-color: #93c5fd; /* blue-300 */
}

/* Hata kutusu */
.bh-error {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	font-size: 13px;
	color: #dc2626;
}

/* Skeleton loading */
@keyframes bh-shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.bh-skeleton {
	display: inline-block;
	background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
	background-size: 200% 100%;
	animation: bh-shimmer 1.3s ease-in-out infinite;
	border-radius: 6px;
	vertical-align: middle;
}

/* Fiyat açılış animasyonu */
.bh-price-value,
.bh-sqm-value {
	transition: opacity .2s ease;
}
.bh-price-value.bh-updating,
.bh-sqm-value.bh-updating {
	opacity: 0;
}

/* Upload area */
.bh-upload-area {
	position: relative;
}
.bh-upload-area:hover {
	border-color: #93c5fd;
}
.bh-upload-area .bh-file-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}
.bh-upload-status {
	margin-top: 4px;
	font-size: 12px;
}

/* Mobil */
@media (max-width: 480px) {
	.bh-dimensions { flex-direction: column !important; }
	.bh-separator { display: none !important; }
}
