/* Decorto Order Tracking - Front-end styles */

.decorto-ot-card,
.decorto-ot-list {
	direction: rtl;
	text-align: right;
	font-family: inherit;
}

.decorto-ot-card {
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 20px;
	margin: 16px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.decorto-ot-card__title {
	margin: 0 0 12px;
	font-size: 1.05em;
	font-weight: 700;
	color: #222;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 10px;
}

.decorto-ot-card__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	font-size: 0.95em;
	flex-wrap: wrap;
}

.decorto-ot-card__label {
	color: #777;
	min-width: 110px;
}

.decorto-ot-card__value {
	color: #222;
	font-weight: 600;
	word-break: break-word;
}

.decorto-ot-card__status {
	color: #1f8a3b;
}

.decorto-ot-card__code {
	letter-spacing: 0.5px;
	direction: ltr;
	display: inline-block;
}

.decorto-ot-card__button {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 22px;
	background: #2d6cdf;
	color: #ffffff !important;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95em;
	transition: background-color 0.2s ease;
}

.decorto-ot-card__button:hover {
	background: #1f56b8;
	color: #ffffff !important;
}

.decorto-ot-empty,
.decorto-ot-login-notice {
	background: #f8f9fb;
	border: 1px dashed #ddd;
	border-radius: 10px;
	padding: 16px;
	text-align: center;
	color: #666;
}

/* Responsive: stack label/value on very small screens */
@media (max-width: 480px) {
	.decorto-ot-card {
		padding: 16px;
		border-radius: 10px;
	}

	.decorto-ot-card__row {
		flex-direction: column;
		gap: 2px;
	}

	.decorto-ot-card__label {
		min-width: 0;
		font-size: 0.85em;
	}

	.decorto-ot-card__button {
		display: block;
		text-align: center;
		width: 100%;
		box-sizing: border-box;
	}
}
