.otp-lookup-wrapper {
	direction: rtl;
	text-align: right;
	max-width: 480px;
	margin: 0 auto;
	font-family: inherit;
}

.otp-lookup-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.otp-lookup-input-row {
	display: flex;
	gap: 8px;
}

.otp-lookup-input-row input[type="text"] {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
}

.otp-lookup-input-row button {
	padding: 10px 18px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	white-space: nowrap;
}

.otp-lookup-input-row button:hover {
	background: #135e96;
}

#otp-lookup-results {
	margin-top: 20px;
}

.otp-order-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 12px;
	background: #fafafa;
}

.otp-order-card p {
	margin: 4px 0;
}

.otp-order-card .otp-tracking-code {
	font-weight: 700;
	color: #2271b1;
}

.otp-lookup-message {
	padding: 12px;
	border-radius: 6px;
	background: #fdeaea;
	color: #8a1f1f;
}

.otp-lookup-loading {
	padding: 12px;
	color: #555;
}

.otp-daily-log-wrapper {
	direction: rtl;
	text-align: right;
	max-width: 700px;
	margin: 0 auto;
	font-family: inherit;
}

.otp-daily-log-empty {
	text-align: center;
	padding: 40px 20px;
	color: #8a8f98;
	background: #f9fafb;
	border-radius: 12px;
	border: 1px dashed #d7dae0;
}

.otp-daily-log-empty-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 10px;
}

.otp-daily-log-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20, 30, 50, 0.06);
	border: 1px solid #ececef;
}

.otp-daily-log-table thead th {
	background: #1f2937;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 14px 18px;
	text-align: right;
}

.otp-daily-log-table tbody tr {
	transition: background-color 0.15s ease;
}

.otp-daily-log-table tbody tr:nth-child(even) {
	background: #f8f9fb;
}

.otp-daily-log-table tbody tr:hover {
	background: #eef2ff;
}

.otp-daily-log-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid #eef0f3;
}

.otp-daily-log-table td {
	padding: 14px 18px;
	font-size: 14.5px;
	color: #1f2937;
	vertical-align: middle;
}

.otp-col-date {
	font-weight: 600;
	white-space: nowrap;
}

.otp-daily-log-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.otp-badge-pdf {
	background: #fde8e8;
	color: #c53030;
}

.otp-badge-image {
	background: #e6f4ea;
	color: #2f855a;
}

.otp-badge-pishtaz {
	background: #fff4e0;
	color: #b7791f;
}

.otp-badge-tipax {
	background: #ede9fe;
	color: #6b46c1;
}

.otp-daily-log-show-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	background: linear-gradient(135deg, #2271b1, #1a5a8f);
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
	box-shadow: 0 1px 3px rgba(34, 113, 177, 0.35);
}

.otp-daily-log-show-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(34, 113, 177, 0.35);
	color: #fff !important;
}

.otp-daily-log-show-icon {
	font-size: 14px;
}

@media (max-width: 480px) {
	.otp-daily-log-table thead {
		display: none;
	}

	.otp-daily-log-table,
	.otp-daily-log-table tbody,
	.otp-daily-log-table tr,
	.otp-daily-log-table td {
		display: block;
		width: 100%;
	}

	.otp-daily-log-table tr {
		padding: 12px 16px;
		border-bottom: 8px solid #f4f5f7;
	}

	.otp-daily-log-table td {
		border-bottom: none !important;
		padding: 6px 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.otp-daily-log-table td.otp-col-date::before {
		content: 'تاریخ';
		color: #8a8f98;
		font-weight: 500;
		font-size: 13px;
	}

	.otp-daily-log-table td.otp-col-type::before {
		content: 'نوع فایل';
		color: #8a8f98;
		font-weight: 500;
		font-size: 13px;
	}

	.otp-daily-log-table td.otp-col-carrier::before {
		content: 'نوع ارسال';
		color: #8a8f98;
		font-weight: 500;
		font-size: 13px;
	}

	.otp-daily-log-table td.otp-col-action::before {
		content: '';
	}
}
