.hello-translation-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}

.hello-translation__progress {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	color: #666;
}

.hello-translation__progress .is-active {
	color: #1a5f7a;
	font-weight: 700;
}

.hello-translation__layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 900px) {
	.hello-translation__layout {
		grid-template-columns: 1fr;
	}
}

.hello-translation__section {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #e5e5e5;
}

.hello-translation__section h2 {
	font-size: 1.25rem;
	margin: 0 0 1rem;
	color: #1a5f7a;
}

.hello-translation__lang-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.hello-translation__lang-row label,
.hello-translation__email-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.9rem;
}

.hello-translation__lang-row select,
.hello-translation__email-wrap input {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}

.hello-translation__speed-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

@media (max-width: 600px) {
	.hello-translation__lang-row,
	.hello-translation__speed-options {
		grid-template-columns: 1fr;
	}
}

.hello-translation__speed-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.hello-translation__speed-card.is-selected,
.hello-translation__speed-card:has(input:checked) {
	border-color: #1a5f7a;
	background: #f0f8fb;
}

.hello-translation__speed-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hello-translation__upload {
	border: 2px dashed #bbb;
	border-radius: 6px;
	padding: 2rem;
	text-align: center;
	color: #666;
	cursor: pointer;
	margin: 1rem 0;
	display: block;
}

.hello-translation__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hello-translation__upload.is-dragover {
	border-color: #1a5f7a;
	background: #f0f8fb;
}

.hello-translation__upload.is-uploading {
	border-color: #1a5f7a;
	background: #f0f8fb;
	cursor: wait;
}

.hello-translation__upload.is-uploading .hello-translation__upload-label,
.hello-translation__upload.is-uploading .hello-translation__upload-hint {
	opacity: 0.45;
}

/*
.hello-translation__upload-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	font-weight: 600;
	color: #1a5f7a;
}
*/

.hello-translation__spinner {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid rgba(26, 95, 122, 0.25);
	border-top-color: #1a5f7a;
	border-radius: 50%;
	animation: hello-translation-spin 0.8s linear infinite;
}

@keyframes hello-translation-spin {
	to {
		transform: rotate(360deg);
	}
}

.hello-translation__upload-hint {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	color: #888;
}

.hello-translation__send-later-notice {
	margin: 1rem 0;
	padding: 1rem;
	background: #f0f8fb;
	border: 1px solid #1a5f7a;
	border-radius: 6px;
	font-size: 0.95rem;
}

.hello-translation__send-later-notice p {
	margin: 0;
}

.hello-translation__send-later-notice a {
	color: #1a5f7a;
	font-weight: 600;
}

.hello-translation__file-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.hello-translation__file-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}

.hello-translation__file-list button {
	background: none;
	border: none;
	color: #c00;
	cursor: pointer;
	font-size: 0.85rem;
}

.hello-translation__file-pending {
	color: #666;
}

.hello-translation__upload-status {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	color: #1a5f7a;
	font-weight: 600;
}

.hello-translation__checkbox,
.hello-translation__notary {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.95rem;
}

.hello-translation__services {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hello-translation__service-card {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 0.25rem 0.75rem;
	padding: 1rem;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
}

.hello-translation__service-card:has(input:checked) {
	border-color: #1a5f7a;
	background: #f0f8fb;
}

.hello-translation__service-card input {
	grid-row: 1 / 3;
	margin-top: 0.2rem;
}

.hello-translation__service-title {
	font-weight: 600;
}

.hello-translation__service-price {
	color: #1a5f7a;
	font-weight: 600;
}

.hello-translation__service-desc {
	grid-column: 2;
	font-size: 0.85rem;
	color: #666;
}

.hello-translation__notary {
	margin-top: 0.5rem;
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.hello-translation__qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 1.5rem 0;
	gap: 1rem;
}

.hello-translation__qty-label {
	font-weight: 600;
	font-size: 1rem;
	min-width: 4.5rem;
}

.hello-translation__qty-control {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
}

.hello-translation__qty-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: #f5f5f5;
	font-size: 1.25rem;
	cursor: pointer;
}

.hello-translation__qty-control input {
	width: 120px;
	min-width: 120px;
	height: 40px;
	border: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	text-align: center;
	font-size: 1rem;
}

.hello-translation__checkout-btn {
	width: 100%;
	padding: 1rem;
	background: #1a365d;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
}

.hello-translation__checkout-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.hello-translation__summary {
	position: sticky;
	top: 1rem;
	padding: 1.25rem;
	background: #f8f9fa;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}

.hello-translation__summary h3 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
}

.hello-translation__summary dl {
	margin: 0;
}

.hello-translation__summary dt {
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.75rem;
}

.hello-translation__summary dd {
	margin: 0.15rem 0 0;
	font-size: 0.95rem;
}
