.ci-elallas360-account,
.ci-elallas360-guest {
	--e360-accent: #16745b;
	--e360-accent-soft: #eaf6f1;
	--e360-border: #dfe5e2;
	--e360-muted: #59645f;
	--e360-surface: #fff;
	--e360-button-background: #2271b1;
	--e360-button-text: #fff;
}

.ci-elallas360-account .button,
.ci-elallas360-guest .button,
.ci-elallas360-account .button.alt,
.ci-elallas360-guest .button.alt {
	background: var(--e360-button-background);
	color: var(--e360-button-text);
}

.ci-elallas360-refund {
	border: 1px solid var(--e360-border);
	margin-top: 1.25rem;
	padding: 1rem;
}

.ci-elallas360-refund input[type="text"],
.ci-elallas360-account textarea,
.ci-elallas360-guest textarea {
	box-sizing: border-box;
	width: 100%;
}

.ci-elallas360-page-header {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
}

.ci-elallas360-page-header h2,
.ci-elallas360-page-header p {
	margin: 0 0 0.35rem;
}

.ci-elallas360-page-icon {
	background: var(--e360-accent-soft);
	border-radius: 50%;
	display: grid;
	flex: 0 0 3rem;
	height: 3rem;
	place-items: center;
}

.ci-elallas360-page-icon::before {
	background: var(--e360-accent);
	content: "";
	height: 1.55rem;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.7 7H15a5 5 0 0 1 0 10h-4v-2h4a3 3 0 1 0 0-6H7.7l2.6 2.6-1.4 1.4L3.9 8l5-5 1.4 1.4L7.7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.7 7H15a5 5 0 0 1 0 10h-4v-2h4a3 3 0 1 0 0-6H7.7l2.6 2.6-1.4 1.4L3.9 8l5-5 1.4 1.4L7.7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1.55rem;
}

.ci-elallas360-new-withdrawal,
.ci-elallas360-history,
.ci-elallas360-order-withdrawals {
	margin-top: 2rem;
}

.ci-elallas360-order-cards,
.ci-elallas360-status-list {
	display: grid;
	gap: 0.85rem;
}

.ci-elallas360-order-card,
.ci-elallas360-status-card {
	background: var(--e360-surface);
	border: 1px solid var(--e360-border);
	border-radius: 0.5rem;
	padding: 1rem;
}

.ci-elallas360-order-card form {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.ci-elallas360-order-card form > div,
.ci-elallas360-status-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ci-elallas360-order-card span,
.ci-elallas360-order-state,
.ci-elallas360-no-withdrawal,
.ci-elallas360-withdrawal-count {
	color: var(--e360-muted);
	display: block;
	font-size: 0.88em;
}

.ci-elallas360-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ci-elallas360-table-wrap table {
	min-width: 650px;
	width: 100%;
}

.ci-elallas360-table-wrap th,
.ci-elallas360-table-wrap td {
	vertical-align: middle;
}

.ci-elallas360-table-wrap select {
	min-width: 7.5rem;
}

.ci-elallas360-form-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
	margin-top: 1.25rem;
}

.ci-elallas360-declaration {
	background: var(--e360-accent-soft);
	border-left: 4px solid var(--e360-accent);
	padding: 0.9rem 1rem;
}

.ci-elallas360-history-items {
	margin: 0;
	padding-left: 1.1rem;
}

.ci-elallas360-history-table code,
.ci-elallas360-status-card code {
	font-size: 0.78em;
	overflow-wrap: anywhere;
}

.ci-elallas360-status {
	background: #eef2f0;
	border-radius: 999px;
	color: #35413c;
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.38rem 0.65rem;
}

.ci-elallas360-status--confirmed,
.ci-elallas360-status--awaiting-return,
.ci-elallas360-status--received {
	background: #fff4d6;
	color: #795500;
}

.ci-elallas360-status--awaiting-refund {
	background: #e8f0ff;
	color: #164c96;
}

.ci-elallas360-status--refunded,
.ci-elallas360-status--closed {
	background: var(--e360-accent-soft);
	color: #115b47;
}

.ci-elallas360-status--rejected {
	background: #fbeaea;
	color: #8a2424;
}

.ci-elallas360-status-card time {
	color: var(--e360-muted);
	font-size: 0.85rem;
}

@media (max-width: 767px) {
	.ci-elallas360-order-card form {
		align-items: stretch;
		flex-direction: column;
	}

	.ci-elallas360-order-card .button {
		text-align: center;
	}

	.ci-elallas360-table-wrap {
		overflow: visible;
	}

	.ci-elallas360-table-wrap table,
	.ci-elallas360-table-wrap thead,
	.ci-elallas360-table-wrap tbody,
	.ci-elallas360-table-wrap tr,
	.ci-elallas360-table-wrap th,
	.ci-elallas360-table-wrap td {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.ci-elallas360-table-wrap thead {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.ci-elallas360-table-wrap tr {
		border: 1px solid var(--e360-border);
		border-radius: 0.5rem;
		margin-bottom: 0.85rem;
		overflow: hidden;
	}

	.ci-elallas360-table-wrap th[scope="row"] {
		background: #f5f7f6;
		padding: 0.8rem;
	}

	.ci-elallas360-table-wrap td {
		align-items: center;
		border-bottom: 1px solid var(--e360-border);
		display: flex;
		gap: 1rem;
		justify-content: space-between;
		padding: 0.7rem 0.8rem;
		text-align: right;
	}

	.ci-elallas360-table-wrap td:last-child {
		border-bottom: 0;
	}

	.ci-elallas360-table-wrap td::before {
		content: attr(data-title);
		font-weight: 700;
		text-align: left;
	}

	.ci-elallas360-form-actions .button {
		flex: 1 1 auto;
		text-align: center;
	}
}
