/* Binance2Hacienda CSS */
.b2h-container {
	background-color: #ffffff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border-top: 4px solid #f0b90b;
	max-width: 64rem;
	margin: 1.25rem auto;
}

.b2h-steps {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
}

.b2h-step {
	flex: 1;
	text-align: center;
	padding: 0.75rem 0;
	font-weight: 500;
}

.b2h-step-active {
	background-color: #f0b90b;
	color: white;
}

.b2h-step-completed {
	background-color: #f0b90b;
	color: white;
}

.b2h-step-hacienda {
	background-color: #0052b4;
	color: white;
}

.b2h-step-inactive {
	background-color: #f3f4f6;
	color: #9ca3af;
}

.b2h-content {
	padding: 1.5rem;
}

.b2h-hidden {
	display: none !important;
}

.b2h-dropzone {
	cursor: pointer;
	background-color: #fffbeb;
	border: 2px dashed #f0b90b;
	border-radius: 0.5rem;
	padding: 1.5rem;
	width: 100%;
	position: relative;
	margin-bottom: 1rem;
	transition: background-color 0.3s;
}

.b2h-dropzone:hover {
	background-color: #fef3c7;
}

.b2h-dropzone-active {
	background-color: #fef3c7;
}

.b2h-icon {
	font-size: 2rem;
	color: #f0b90b;
	margin-bottom: 1rem;
}

.b2h-flex-center {
	display: flex;
	justify-content: center;
}

.b2h-flex-col {
	display: flex;
	flex-direction: column;
}

.b2h-flex-row {
	display: flex;
	flex-direction: row;
}

.b2h-items-center {
	align-items: center;
}

.b2h-text-center {
	text-align: center;
}

.b2h-mt-4 {
	margin-top: 1rem;
}

.b2h-mt-5 {
	margin-top: 1.25rem;
}

.b2h-mb-4 {
	margin-bottom: 1rem;
}

.b2h-mr-2 {
	margin-right: 0.5rem;
}

.b2h-mr-3 {
	margin-right: 0.75rem;
}

.b2h-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	font-weight: 500;
	border-radius: 0.375rem;
	transition: background-color 0.3s;
	border: none;
	cursor: pointer;
}

.b2h-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.b2h-button-primary {
	background-color: #f0b90b;
	color: white;
}

.b2h-button-primary:hover:not(:disabled) {
	background-color: #e2ae0a;
}

.b2h-button-secondary {
	background-color: white;
	color: #4b5563;
	border: 1px solid #d1d5db;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.b2h-button-secondary:hover {
	background-color: #f9fafb;
}

.b2h-button-hacienda {
	background-color: #0052b4;
	color: white;
}

.b2h-button-hacienda:hover {
	background-color: #004299;
}

.b2h-button-excel {
	background-color: #217346;
	color: white;
}

.b2h-button-excel:hover {
	background-color: #1e6a3e;
}

.b2h-spinner {
	position: relative;
}

.b2h-spinner-circle {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	border: 4px solid rgba(240, 185, 11, 0.3);
	border-top-color: #f0b90b;
	animation: b2h-spin 1s linear infinite;
}

.b2h-spinner-small {
	width: 2rem;
	height: 2rem;
	border-width: 2px;
}

.b2h-spinner-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.b2h-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 251, 235, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.b2h-success-box {
	display: flex;
	align-items: center;
	background-color: #ecfdf5;
	color: #047857;
	padding: 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
}

.b2h-success-icon {
	flex-shrink: 0;
	background-color: #d1fae5;
	border-radius: 9999px;
	padding: 0.5rem;
	margin-right: 0.75rem;
}

.b2h-error-box {
	display: flex;
	align-items: center;
	background-color: #fef2f2;
	color: #b91c1c;
	padding: 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
}

.b2h-error-icon {
	flex-shrink: 0;
	background-color: #fee2e2;
	border-radius: 9999px;
	padding: 0.5rem;
	margin-right: 0.75rem;
}

.b2h-table {
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e5e7eb;
	border-radius: 0.25rem;
	overflow: hidden;
}

.b2h-table-head {
	background-color: #0052b4;
}

.b2h-table-head th {
	padding: 0.5rem 1rem;
	text-align: left;
	font-size: 0.75rem;
	font-weight: 500;
	color: white;
	text-transform: uppercase;
}

.b2h-table-body {
	background-color: white;
}

.b2h-table-body tr {
	border-bottom: 1px solid #e5e7eb;
}

.b2h-table-body tr:last-child {
	border-bottom: none;
}

.b2h-table-cell {
	padding: 0.5rem 1rem;
	white-space: nowrap;
	font-size: 0.875rem;
}

.b2h-text-sm {
	font-size: 0.875rem;
}

.b2h-text-xs {
	font-size: 0.75rem;
}

.b2h-font-medium {
	font-weight: 500;
}

.b2h-font-bold {
	font-weight: 700;
}

.b2h-text-gray {
	color: #6b7280;
}

.b2h-text-gray-dark {
	color: #374151;
}

.b2h-text-green {
	color: #059669;
}

.b2h-text-red {
	color: #dc2626;
}

.b2h-bg-gray-100 {
	background-color: #f3f4f6;
}

.b2h-overflow-x-auto {
	overflow-x: auto;
}

@keyframes b2h-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@media (max-width: 640px) {
	.b2h-steps {
		flex-direction: column;
	}

	.b2h-step {
		width: 100%;
	}

	.b2h-flex-sm-col {
		flex-direction: column;
	}

	.b2h-space-y-3 > * + * {
		margin-top: 0.75rem;
	}
}

@media (min-width: 641px) {
	.b2h-space-x-4 > * + * {
		margin-left: 1rem;
	}
}
