/* ==========================================================================
   Tax Reply Center — IRANYekanX (Elementor), RTL
   Design tokens from Figma / Tailwind export
   ========================================================================== */

:root {
	--p-black: rgba(0, 0, 0, 1);
	--p-cool-gray-200: rgba(226, 232, 240, 1);
	--p-primary-50: rgba(232, 239, 248, 1);
	--p-primary-600: rgba(20, 73, 149, 1);
	--p-primary-700: rgba(16, 58, 119, 1);
	--p-white: rgba(255, 255, 255, 1);
	--p-text-muted: rgba(100, 116, 139, 1);
	--p-text-body: rgba(15, 23, 42, 1);
	--trc-field-bg: rgba(203, 213, 225, 1);
	--trc-field-bg-contact: rgba(241, 245, 249, 1);
	--trc-radius: 16px;
	--trc-radius-contact: 24px;
	--trc-gap: 16px;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */

.trc-wrap {
	font-family: var(--e-global-typography-primary-font-family, 'IRANYekanX'), 'IRANYekanX', Tahoma, Arial, sans-serif;
	direction: rtl;
	text-align: right;
	color: var(--p-white);
	box-sizing: border-box;
}

.trc-wrap *,
.trc-wrap *::before,
.trc-wrap *::after {
	box-sizing: border-box;
}

.trc-wrap button,
.trc-wrap input,
.trc-wrap select,
.trc-wrap textarea {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	outline: none;
	font-family: inherit;
}

/* -------------------------------------------------------------------------- */
/* Form container                                                             */
/* -------------------------------------------------------------------------- */

.trc-form-wrap {
	background: var(--p-white);
	color: var(--p-text-body);
	padding: 48px 24px 56px;
	min-height: 400px;
}

.trc-form {
	max-width: 680px;
	margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Progress indicator                                                         */
/* -------------------------------------------------------------------------- */

.trc-progress {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	margin-bottom: 32px;
}

.trc-progress__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 120px;
}

.trc-form-wrap .trc-progress__label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--p-text-body) !important;
	text-align: center;
	line-height: 1.65;
	max-width: 160px;
	opacity: 1;
	visibility: visible;
}

.trc-progress__line {
	flex: 0 0 100px;
	height: 2px;
	background: var(--p-cool-gray-200);
	margin: 24px 6px 0;
}

.trc-progress__step {
	width: 52px;
	height: 52px;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	flex-shrink: 0;
	padding: 0;
}

.trc-progress__step--active,
.trc-progress__step--inactive,
.trc-progress__step--done,
.trc-progress__step--active-green {
	background: transparent;
}

.trc-progress__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.trc-progress__icon svg,
.trc-progress__icon .trc-icon {
	width: 48px;
	height: 48px;
	display: block;
}

/* -------------------------------------------------------------------------- */
/* Fields                                                                     */
/* -------------------------------------------------------------------------- */

.trc-field {
	position: relative;
	margin-bottom: var(--trc-gap);
}

.trc-field--textarea {
	margin-bottom: var(--trc-gap);
}

.trc-field__label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--p-text-muted);
	margin-bottom: 8px;
}

.trc-field__label--float {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 1;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--p-text-body);
	pointer-events: none;
}

.trc-form-wrap .trc-field__textarea,
.trc-form-wrap .trc-field__select,
.trc-form-wrap .trc-audio-bar {
	background: var(--trc-field-bg) !important;
}

.trc-form-wrap .trc-field__input--contact {
	background: var(--trc-field-bg-contact) !important;
	border: none !important;
	border-radius: var(--trc-radius-contact) !important;
	-webkit-border-radius: var(--trc-radius-contact) !important;
	overflow: hidden;
}

.trc-field__input,
.trc-field__textarea,
.trc-field__select {
	width: 100%;
	background: var(--trc-field-bg);
	border: none;
	border-radius: var(--trc-radius);
	font-family: inherit;
	font-size: 14px;
	color: var(--p-text-body);
	padding: 16px 20px;
	outline: none;
	transition: box-shadow 0.2s ease;
}

.trc-field__textarea {
	padding-top: 44px;
	min-height: 180px;
	resize: vertical;
	line-height: 1.75;
}

.trc-field__input:focus,
.trc-field__textarea:focus,
.trc-field__select:focus {
	box-shadow: 0 0 0 2px rgba(20, 73, 149, 0.35);
}

.trc-field__input--otp {
	text-align: center;
	letter-spacing: 8px;
	font-size: 20px;
	font-weight: 700;
}

.trc-field--error .trc-field__input,
.trc-field--error .trc-field__textarea,
.trc-field--error .trc-field__select {
	box-shadow: 0 0 0 2px #e53e3e;
}

/* Select */
.trc-select-wrap {
	position: relative;
}

.trc-field__select {
	appearance: none;
	-webkit-appearance: none;
	padding-top: 44px;
	padding-left: 44px;
	padding-bottom: 16px;
	cursor: pointer;
	color: var(--p-text-body);
}

.trc-field__select option {
	color: var(--p-text-body);
	background: var(--trc-field-bg);
}

/* Custom select dropdown */
.trc-custom-select {
	position: relative;
}

.trc-field__select--native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.trc-field--select,
.trc-field--select .trc-select-wrap {
	overflow: visible;
}

.trc-field--select:has(.trc-custom-select--open) {
	position: relative;
	z-index: 50;
}

.trc-custom-select__trigger {
	display: flex;
	position: relative;
	align-items: center;
	width: 100%;
	cursor: pointer;
	text-align: right;
	padding-left: 44px;
	border-radius: var(--trc-radius);
	transition: border-radius 0.18s ease, box-shadow 0.18s ease;
}

.trc-custom-select__value {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.trc-custom-select__trigger--open,
.trc-custom-select__trigger:focus {
	box-shadow: 0 0 0 2px rgba(20, 73, 149, 0.35);
}

.trc-custom-select--open .trc-custom-select__trigger {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.trc-custom-select .trc-select-wrap__chevron {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.trc-custom-select__list {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: 2;
	margin: 0;
	padding: 6px 0 0;
	list-style: none;
	background: var(--trc-field-bg);
	border-radius: var(--trc-radius) var(--trc-radius) 0 0;
	max-height: min(220px, 45vh);
	overflow-x: hidden;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	pointer-events: none;
	box-shadow: none;
	border: none;
	scrollbar-width: thin;
	scrollbar-color: var(--p-primary-600) transparent;
}

.trc-custom-select--open .trc-custom-select__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.trc-custom-select__list::-webkit-scrollbar {
	width: 6px;
}

.trc-custom-select__list::-webkit-scrollbar-thumb {
	background: rgba(20, 73, 149, 0.35);
	border-radius: 999px;
}

.trc-custom-select__option {
	padding: 12px 20px;
	font-size: 14px;
	color: var(--p-text-body);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.trc-custom-select__option:first-child {
	border-top-left-radius: calc(var(--trc-radius) - 2px);
	border-top-right-radius: calc(var(--trc-radius) - 2px);
}

.trc-custom-select__option:hover,
.trc-custom-select__option--selected {
	background: var(--p-primary-50);
	color: var(--p-primary-600);
}

.trc-custom-select__option--placeholder {
	color: var(--p-text-muted);
}

.trc-select-wrap__chevron {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--p-text-muted);
	pointer-events: none;
	display: flex;
}

/* Two-column row */
.trc-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--trc-gap);
	margin-bottom: var(--trc-gap);
}

/* -------------------------------------------------------------------------- */
/* Audio / upload bar                                                         */
/* -------------------------------------------------------------------------- */

.trc-audio-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--trc-field-bg);
	border-radius: var(--trc-radius);
	padding: 14px 20px;
	margin-bottom: var(--trc-gap);
	gap: 14px;
	min-height: 56px;
	border: 2px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trc-audio-bar--recording {
	border-color: #e11d48;
	box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.2);
}

.trc-audio-bar--has-file {
	border-color: #3d9a4f;
	box-shadow: 0 0 0 1px rgba(61, 154, 79, 0.35);
}

.trc-audio-bar__content {
	flex: 1;
	min-width: 0;
	text-align: right;
}

.trc-audio-bar__label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--p-text-body);
	line-height: 1.6;
}

.trc-audio-bar--has-file .trc-audio-bar__label,
.trc-audio-bar--recording .trc-audio-bar__label {
	display: none;
}

.trc-audio-bar__status {
	display: block;
	font-size: 14px;
	color: var(--p-primary-600);
	font-weight: 500;
	line-height: 1.6;
}

.trc-audio-bar__hint {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--p-text-muted);
	text-align: center;
}

.trc-audio-bar--has-file .trc-audio-bar__hint,
.trc-audio-bar--recording .trc-audio-bar__hint,
.trc-audio-bar--uploading .trc-audio-bar__hint {
	display: none;
}

.trc-audio-bar--recording .trc-audio-bar__status {
	color: #e11d48;
}

.trc-audio-bar--uploading .trc-audio-bar__status {
	color: var(--p-text-muted);
}

.trc-audio-recorder {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 4px;
}

.trc-audio-recorder__viz {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 4px;
	height: 28px;
	min-width: 72px;
}

.trc-audio-recorder__viz span {
	display: block;
	width: 5px;
	height: 10px;
	border-radius: 999px;
	background: #e11d48;
	animation: trc-audio-wave 0.9s ease-in-out infinite;
}

.trc-audio-recorder__viz span:nth-child(1) { animation-delay: 0s; }
.trc-audio-recorder__viz span:nth-child(2) { animation-delay: 0.12s; }
.trc-audio-recorder__viz span:nth-child(3) { animation-delay: 0.24s; }
.trc-audio-recorder__viz span:nth-child(4) { animation-delay: 0.36s; }
.trc-audio-recorder__viz span:nth-child(5) { animation-delay: 0.48s; }

@keyframes trc-audio-wave {
	0%, 100% { height: 10px; opacity: 0.55; }
	50% { height: 28px; opacity: 1; }
}

.trc-audio-recorder__timer {
	font-size: 15px;
	font-weight: 700;
	color: #e11d48;
	font-variant-numeric: tabular-nums;
	min-width: 52px;
}

.trc-audio-player {
	margin-top: 6px;
}

.trc-audio-player__element {
	width: 100%;
	max-width: 100%;
	height: 40px;
}

.trc-audio-bar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.trc-audio-bar__record,
.trc-audio-bar__stop,
.trc-audio-bar__delete {
	cursor: pointer;
	padding: 8px 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	background: none;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	box-sizing: border-box;
	max-width: 100%;
}

.trc-audio-bar__record[hidden],
.trc-audio-bar__stop[hidden],
.trc-audio-bar__delete[hidden] {
	display: none !important;
}

.trc-audio-bar__record-text,
.trc-audio-bar__stop-text {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.trc-audio-bar__record {
	color: #fff;
	background: #0f3a75;
	box-shadow: 0 2px 8px rgba(20, 73, 149, 0.35);
}

.trc-audio-bar__record:hover {
	background: #0c2f5e;
	box-shadow: 0 3px 10px rgba(20, 73, 149, 0.4);
}

.trc-audio-bar__record:active {
	background: #0a2649;
	transform: scale(0.98);
}

.trc-audio-bar__stop {
	color: #fff;
	background: #e11d48;
	box-shadow: 0 1px 4px rgba(225, 29, 72, 0.28);
}

.trc-audio-bar__stop:hover {
	background: #be123c;
	box-shadow: 0 2px 8px rgba(225, 29, 72, 0.38);
}

.trc-audio-bar__stop:active,
.trc-audio-bar--recording .trc-audio-bar__stop {
	background: #9f1239;
	box-shadow: 0 3px 10px rgba(225, 29, 72, 0.42);
}

.trc-audio-bar__delete {
	color: #b91c1c;
	background: rgba(185, 28, 28, 0.08);
	padding: 8px;
}

.trc-audio-bar__delete:hover {
	background: rgba(185, 28, 28, 0.14);
}

.trc-audio-bar--uploading .trc-audio-bar__status {
	display: block;
}

/* -------------------------------------------------------------------------- */
/* Bundled audio recorder app (modal)                                         */
/* -------------------------------------------------------------------------- */

html.trc-recorder-open {
	overflow: hidden;
}

.trc-recorder-app {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.trc-recorder-app[hidden] {
	display: none !important;
}

.trc-recorder-app.trc-recorder-app--open {
	display: flex !important;
	visibility: visible !important;
}

.trc-recorder-app__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	z-index: 0;
}

.trc-recorder-app__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 380px);
	background: #fff;
	border-radius: 16px;
	padding: 24px 20px 20px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
	text-align: center;
}

.trc-recorder-app__file-input {
	position: fixed;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	opacity: 0.01;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: 0;
	pointer-events: none;
}

.trc-recorder-app__file-input--active {
	pointer-events: auto;
	z-index: 100001;
}

.trc-recorder-app__close {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 36px;
	height: 36px;
	border: none;
	background: #f1f5f9;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #475569;
}

.trc-recorder-app__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--p-text-body, #0f172a);
}

.trc-recorder-app__status {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--p-text-muted, #64748b);
	min-height: 1.7em;
}

.trc-recorder-app__viz {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 5px;
	height: 40px;
	margin: 0 auto 10px;
}

.trc-recorder-app__viz span {
	display: block;
	width: 6px;
	height: 10px;
	border-radius: 999px;
	background: #e11d48;
	transition: height 0.08s ease;
}

.trc-recorder-app[data-mode="idle"] .trc-recorder-app__viz span {
	background: #144995;
	opacity: 0.35;
}

.trc-recorder-app__timer {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #e11d48;
	font-variant-numeric: tabular-nums;
	margin-bottom: 14px;
}

.trc-recorder-app[data-mode="idle"] .trc-recorder-app__timer {
	color: #144995;
}

.trc-recorder-app__preview {
	width: 100%;
	margin-bottom: 14px;
}

.trc-recorder-app__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.trc-recorder-app__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	width: min(100%, 240px);
	box-sizing: border-box;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.trc-recorder-app__btn[hidden] {
	display: none !important;
}

.trc-recorder-app__btn--record {
	color: #ffffff !important;
	background-color: #144995 !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: 0 2px 8px rgba(20, 73, 149, 0.3);
	opacity: 1 !important;
	-webkit-appearance: none;
	appearance: none;
}

.elementor button#trc-recorder-record.trc-recorder-app__btn--record,
.elementor-widget-shortcode button#trc-recorder-record.trc-recorder-app__btn--record,
button#trc-recorder-record.trc-recorder-app__btn--record {
	color: #ffffff !important;
	background-color: #144995 !important;
	background-image: none !important;
	border: 0 !important;
}

.trc-recorder-app__btn--record:hover,
.trc-recorder-app__btn--record:focus {
	color: #fff !important;
	background: #0f3a75 !important;
}

.trc-recorder-app__btn--record:disabled {
	color: #fff !important;
	background: #144995 !important;
	opacity: 0.55 !important;
}

.trc-recorder-app__btn--stop {
	color: #fff;
	background: #e11d48;
	box-shadow: 0 2px 8px rgba(225, 29, 72, 0.32);
}

.trc-recorder-app__btn--stop:hover,
.trc-recorder-app[data-mode="recording"] .trc-recorder-app__btn--stop {
	background: #9f1239;
}

.trc-recorder-app__btn--save {
	color: #fff;
	background: #144995;
}

.trc-recorder-app__btn--save:hover {
	background: #0f3a75;
}

.trc-recorder-app__btn--retry {
	color: #144995;
	background: rgba(20, 73, 149, 0.1);
}

.trc-recorder-app__btn--file {
	color: #144995;
	background: rgba(20, 73, 149, 0.12);
	border: 1px dashed #144995;
}

.trc-recorder-app__btn--file:hover {
	background: rgba(20, 73, 149, 0.18);
}

.trc-recorder-app__btn--retry:hover {
	background: rgba(20, 73, 149, 0.16);
}

.trc-recorder-app__btn:active {
	transform: scale(0.98);
}

.trc-recorder-app__btn--record.trc-recorder-app__btn--busy {
	opacity: 0.85 !important;
	transform: scale(0.97);
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.trc-btn {
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	border: none;
	border-radius: var(--trc-radius);
	padding: 14px 40px;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

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

.trc-btn--primary {
	background: var(--p-primary-600);
	color: var(--p-white);
}

.trc-btn--primary:hover:not(:disabled) {
	background: var(--p-primary-700);
}

.trc-btn--outline {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.trc-btn--outline:hover {
	background: rgba(255, 255, 255, 0.08);
}

.trc-form__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

.trc-form__actions--payment {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 12px;
	margin-top: 20px;
}

.trc-form__actions--payment .trc-btn {
	flex: 1;
	min-height: 52px;
	font-size: 16px;
	border-radius: 12px;
}

.trc-btn--secondary {
	background: var(--trc-field-bg) !important;
	color: var(--p-text-body) !important;
	border: none;
}

.trc-btn--secondary:hover {
	background: var(--p-cool-gray-200) !important;
}

.trc-form__row--contact {
	gap: 20px;
	margin-bottom: 20px;
}

.trc-form__step--contact {
	padding-top: 8px;
}

#trc-step-1[hidden],
#trc-step-2[hidden],
.trc-form__step[hidden] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.trc-form__step--contact .trc-field--input {
	margin-bottom: 0;
	min-height: 92px;
	background: var(--trc-field-bg-contact);
	border-radius: var(--trc-radius-contact);
	overflow: hidden;
}

.trc-form-wrap input.trc-field__input--contact {
	padding: 50px 24px 22px 24px;
	min-height: 88px;
	height: 100%;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: var(--p-text-body);
	width: 100%;
	text-align: left;
	direction: ltr;
	line-height: 1.5;
}

.trc-form__step--contact .trc-field__label--float {
	right: 24px;
}

.trc-form-wrap .trc-form__actions {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.trc-form-wrap .trc-btn--primary {
	background: var(--p-primary-600) !important;
	color: var(--p-white) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.trc-form-wrap .trc-btn--full {
	display: flex !important;
	width: 100%;
}

.trc-form-wrap .trc-form__actions--payment .trc-btn {
	width: auto !important;
}

.trc-form-wrap .trc-btn--primary:disabled {
	background: var(--trc-field-bg) !important;
	color: var(--p-text-muted) !important;
	cursor: not-allowed;
	opacity: 1 !important;
}

/* Cost summary box */
.trc-cost-box {
	border: 1px solid rgba(20, 73, 149, 0.2);
	border-radius: 12px;
	padding: 20px 22px 22px;
	margin-top: 20px;
	margin-bottom: 8px;
}

.trc-cost-box__price {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.trc-cost-box__label {
	font-size: 14px;
	color: var(--p-text-body);
	font-weight: 700;
	flex-shrink: 0;
}

.trc-cost-box__amount-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.trc-cost-box__amount {
	font-size: 26px;
	font-weight: 700;
	color: var(--p-text-body);
	letter-spacing: 0.5px;
}

.trc-cost-box__unit {
	display: inline-flex;
	align-items: center;
	color: var(--p-text-body);
	line-height: 0;
}

.trc-cost-box__unit img.trc-icon--toman,
.trc-cost-box__unit svg.trc-icon--toman {
	display: block;
	height: 20px;
	width: auto;
	max-width: 88px;
	object-fit: contain;
	flex-shrink: 0;
}

.trc-cost-box__info {
	background: #d4ead9;
	border-radius: 10px;
	padding: 16px 18px;
}

.trc-cost-box__info p {
	margin: 0;
	font-size: 13px;
	line-height: 1.9;
	color: #1a3d2a;
	text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Messages                                                                   */
/* -------------------------------------------------------------------------- */

.trc-form__message,
.trc-auth__message {
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 14px;
}

.trc-form__message--success,
.trc-auth__message--success {
	background: rgba(56, 161, 105, 0.15);
	color: #68d391;
	border: 1px solid rgba(56, 161, 105, 0.3);
}

.trc-form__message--error,
.trc-auth__message--error {
	background: rgba(229, 62, 62, 0.15);
	color: #fc8181;
	border: 1px solid rgba(229, 62, 62, 0.3);
}

/* -------------------------------------------------------------------------- */
/* Placeholder step                                                           */
/* -------------------------------------------------------------------------- */

.trc-form__placeholder {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 40px 24px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 15px;
}

/* -------------------------------------------------------------------------- */
/* Auth (login) — Figma layout                                                */
/* -------------------------------------------------------------------------- */

.trc-wrap.trc-auth-wrap {
	color: var(--p-text-body);
	background: var(--p-white);
}

.trc-auth-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 40px 16px;
	box-sizing: border-box;
}

.trc-auth {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 32px;
	width: 100%;
	max-width: 421px;
	margin: 0 auto;
	background: transparent;
	border: none;
	padding: 0;
	box-sizing: border-box;
}

.trc-auth__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-bottom: -8px;
	color: var(--p-text-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
}

.trc-auth__back:hover {
	color: var(--p-primary-600);
}

.trc-auth__back-icon {
	flex-shrink: 0;
}

.trc-auth__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	text-align: center;
}

.trc-auth__title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--p-black);
	letter-spacing: 0;
}

.trc-auth__subtitle {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--p-text-muted);
	max-width: 100%;
}

.trc-auth__form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	width: 100%;
}

.trc-auth__header + .trc-auth__field-group,
.trc-auth__header + .trc-auth__otp-fieldset {
	margin-top: 32px;
}

.trc-auth__field-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.trc-auth__phone-field {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	background: #f4f7fa;
	border: 1px solid var(--p-cool-gray-200);
	border-radius: 12px;
	overflow: hidden;
	cursor: text;
	box-sizing: border-box;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.trc-auth__phone-field:focus-within {
	border-color: var(--p-primary-600);
	box-shadow: 0 0 0 3px rgba(20, 73, 149, 0.15);
}

.trc-auth__field-group.trc-field--error .trc-auth__phone-field {
	border-color: #e53e3e;
	box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.2);
}

.trc-auth__phone-input {
	flex: 1;
	width: 100%;
	min-height: 48px;
	padding: 0;
	background: transparent !important;
	border: none !important;
	outline: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--p-black);
	text-align: right;
	line-height: 1.5;
}

.trc-auth__phone-input::placeholder {
	color: var(--p-black);
	opacity: 0.85;
}

.trc-auth__phone-input--otp {
	text-align: center;
	letter-spacing: 8px;
	font-size: 18px;
	font-weight: 700;
	direction: ltr;
}

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

.trc-auth__step {
	width: 100%;
}

.trc-auth__otp-fieldset {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	direction: ltr;
}

.trc-auth__otp-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 60px;
	width: 60px;
	max-width: 60px;
	height: 50px;
	padding: 0 14px;
	background: #f4f7fa;
	border: 1px solid var(--p-cool-gray-200);
	border-radius: 12px;
	overflow: hidden;
	cursor: text;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.trc-auth__otp-cell--filling {
	animation: trc-otp-fill 0.45s ease;
	border-color: var(--p-primary-600);
	box-shadow: 0 0 0 3px rgba(20, 73, 149, 0.18);
}

@keyframes trc-otp-fill {
	0% {
		transform: scale(0.9);
		background: #e8eff8;
	}
	55% {
		transform: scale(1.05);
		background: #f4f7fa;
	}
	100% {
		transform: scale(1);
		background: #f4f7fa;
	}
}

.trc-auth__otp-digit--pop {
	animation: trc-otp-digit-pop 0.45s ease;
}

@keyframes trc-otp-digit-pop {
	0% {
		transform: scale(0.55);
	}
	70% {
		transform: scale(1.12);
	}
	100% {
		transform: scale(1);
	}
}

.trc-auth__otp-cell:focus-within {
	border-color: var(--p-primary-600);
	box-shadow: 0 0 0 3px rgba(20, 73, 149, 0.15);
}

.trc-auth-wrap .trc-auth__otp-digit {
	width: 100%;
	height: 100%;
	min-height: 48px;
	padding: 0;
	margin: 0;
	background: transparent !important;
	border: none !important;
	outline: none;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	caret-color: var(--p-primary-600);
	text-align: center;
	line-height: 48px;
	direction: ltr;
	unicode-bidi: plaintext;
	transition: transform 0.2s ease;
}

.trc-auth-wrap .trc-auth__otp-digit::placeholder {
	color: #94a3b8 !important;
	-webkit-text-fill-color: #94a3b8 !important;
	opacity: 1;
}

.trc-auth__timer-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 28px;
	margin-top: 24px;
}

.trc-auth__timer {
	font-size: 20px;
	font-weight: 500;
	color: #636363;
	line-height: 1.4;
	direction: rtl;
}

.trc-auth--otp-step .trc-auth__submit:disabled {
	background: rgba(20, 73, 149, 0.45);
	color: rgba(255, 255, 255, 0.85);
	opacity: 1;
}

.trc-auth--mobile-step .trc-auth__submit:disabled {
	background: #e2e8f0;
	color: #94a3b8;
	opacity: 1;
	cursor: not-allowed;
}

.trc-auth--mobile-step .trc-auth__submit:disabled:hover {
	background: #cbd5e1;
}

.trc-auth__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 12px 20px;
	margin: 0;
	border: none;
	border-radius: 12px;
	background: var(--p-primary-600);
	color: var(--p-white);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.trc-auth__submit:hover:not(:disabled) {
	background: var(--p-primary-700);
}

.trc-auth__submit:disabled {
	cursor: not-allowed;
}

.trc-auth--otp-step .trc-auth__submit:disabled {
	opacity: 1;
}

.trc-auth--mobile-step .trc-auth__submit:not(:disabled) {
	background: var(--p-primary-600);
	color: var(--p-white);
}

.trc-auth__resend {
	align-self: center;
	background: none;
	border: none;
	color: var(--p-primary-600);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 0;
}

.trc-auth__resend:hover {
	color: var(--p-primary-700);
}

.trc-auth__resend[hidden],
.trc-auth__timer[hidden] {
	display: none !important;
}

.trc-auth-wrap .trc-auth__message {
	width: 100%;
	margin: 0;
}

.trc-auth-wrap .trc-auth__message--success {
	color: #276749;
	background: rgba(56, 161, 105, 0.12);
	border-color: rgba(56, 161, 105, 0.35);
}

.trc-auth-wrap .trc-auth__message--error {
	color: #c53030;
	background: rgba(229, 62, 62, 0.1);
	border-color: rgba(229, 62, 62, 0.35);
}

@media (max-width: 480px) {
	.trc-auth-wrap {
		padding: 32px 16px;
	}

	.trc-auth {
		gap: 28px;
	}

	.trc-auth__title {
		font-size: 22px;
	}

	.trc-auth__subtitle {
		font-size: 15px;
	}
}

.trc-login-status {
	text-align: center;
	padding: 24px;
	color: var(--p-text-body);
	background: var(--p-white);
}

.trc-login-status__text {
	margin-bottom: 16px;
	font-size: 15px;
	color: var(--p-text-muted);
}

/* Session booking form */
.trc-booking-wrap {
	background: #ececec;
	padding: 22px 18px 18px;
}

.trc-booking-form {
	max-width: 760px;
	margin: 0 auto;
}

.trc-wrap.trc-booking-wrap .trc-booking-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

.trc-wrap.trc-booking-wrap .trc-booking-form__row--two-cols {
	grid-template-columns: 1fr 1fr;
}

.trc-booking-form__row--checks {
	margin-bottom: 8px;
	display: block;
}

.trc-booking-form__type-group {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	width: 100%;
}

.trc-booking-form__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	font-weight: 400;
	color: #111827;
	text-align: right;
	direction: rtl;
	cursor: pointer;
}

.trc-booking-form__check input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 2px solid #6b7280;
	border-radius: 2px;
	background: #fff;
	display: inline-grid;
	place-content: center;
	flex-shrink: 0;
	cursor: pointer;
}

.trc-booking-form__check input[type="radio"]::before {
	content: "";
	width: 8px;
	height: 8px;
	background: #1954a6;
	transform: scale(0);
	transition: transform 0.12s ease;
}

.trc-booking-form__check input[type="radio"]:checked::before {
	transform: scale(1);
}

.trc-wrap.trc-booking-wrap .trc-booking-form__input,
.trc-wrap.trc-booking-wrap .trc-booking-form__textarea {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	background: #dfe3e9;
	color: #374151;
	font-family: inherit;
	font-size: 16px;
	padding: 13px 16px;
	outline: none;
	text-align: right;
	direction: rtl;
}

.trc-wrap.trc-booking-wrap .trc-booking-form__input::placeholder,
.trc-wrap.trc-booking-wrap .trc-booking-form__textarea::placeholder {
	color: #4b5563;
	opacity: 1;
	text-align: right;
	direction: rtl;
}

.trc-wrap.trc-booking-wrap .trc-booking-form__input[name="mobile"] {
	direction: ltr;
	text-align: left;
}

.trc-wrap.trc-booking-wrap .trc-booking-form__input[name="mobile"]::placeholder {
	text-align: right;
	direction: rtl;
}

.trc-booking-form__textarea {
	resize: vertical;
	min-height: 94px;
}

.trc-booking-form__actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 14px;
}

.trc-wrap.trc-booking-wrap button.trc-booking-form__submit {
	min-width: 140px;
	height: 42px;
	border: 0 !important;
	border-radius: 5px;
	background: #1954a6 !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
}

.trc-wrap.trc-booking-wrap button.trc-booking-form__submit:hover,
.trc-wrap.trc-booking-wrap button.trc-booking-form__submit:focus {
	background: #174b93 !important;
	color: #fff !important;
}

.trc-booking-form__message {
	margin: 10px 0 0;
	font-size: 14px;
}

.trc-booking-form__message--success {
	color: #15803d;
}

.trc-booking-form__message--error {
	color: #b91c1c;
}

@media (max-width: 767px) {
	.trc-booking-wrap {
		padding: 14px 12px 12px;
	}

	.trc-wrap.trc-booking-wrap .trc-booking-form__row,
	.trc-wrap.trc-booking-wrap .trc-booking-form__row--two-cols {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 10px;
	}

	.trc-booking-form__check {
		font-size: 14px;
	}

	.trc-booking-form__type-group {
		justify-content: space-between;
		width: 100%;
	}

	.trc-wrap.trc-booking-wrap button.trc-booking-form__submit {
		width: 100%;
		min-width: 0;
		font-size: 16px;
		height: 40px;
	}

	.trc-wrap.trc-booking-wrap .trc-booking-form__input,
	.trc-wrap.trc-booking-wrap .trc-booking-form__textarea {
		font-size: 15px;
		padding: 11px 12px;
	}
}
