:root {
	--flat-bg: #ffffff;
	--flat-border: #e2e8f0;
	--flat-text: #0f172a;
	--flat-text-muted: #64748b;
	--flat-primary: #6c39ed; /* Фирменный цвет */
	--flat-primary-hover: #5529c9; /* Цвет при наведении */
	--flat-radius: 8px;
}

.cwb-flat-wrapper {
	font-family:
		-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
		sans-serif;
	max-width: 900px;
	margin: 40px auto;
	color: var(--flat-text);
	box-sizing: border-box;
	min-height: 65vh;
}
.cwb-flat-wrapper * {
	box-sizing: border-box;
}

/* =====================================
   АВТОРИЗАЦИЯ
====================================== */
.cwb-flat-auth {
	max-width: 400px;
	margin: 0 auto;
	background: var(--flat-bg);
	border: 1px solid var(--flat-border);
	border-radius: var(--flat-radius);
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.cwb-flat-auth-header {
	padding: 25px 30px 0;
}
.cwb-flat-auth-header h2 {
	margin: 0 0 20px 0;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}
.cwb-flat-tabs-auth {
	display: flex;
	border-bottom: 1px solid var(--flat-border);
}
.cwb-auth-tab {
	flex: 1;
	padding: 12px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	font-weight: 600;
	color: var(--flat-text-muted);
	cursor: pointer;
	transition: 0.2s;
}
.cwb-auth-tab.active {
	color: var(--flat-primary);
	border-bottom-color: var(--flat-primary);
}

.cwb-flat-auth-body {
	padding: 30px;
}
.cwb-flat-divider {
	text-align: center;
	margin: 25px 0;
	position: relative;
}
.cwb-flat-divider::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
	background: var(--flat-border);
	z-index: 1;
}
.cwb-flat-divider span {
	background: var(--flat-bg);
	padding: 0 10px;
	color: var(--flat-text-muted);
	font-size: 12px;
	position: relative;
	z-index: 2;
}
.cwb-flat-socials {
	display: flex;
	gap: 10px;
}
.cwb-social-link {
	flex: 1;
	text-align: center;
	padding: 10px;
	border: 1px solid var(--flat-border);
	border-radius: 6px;
	color: var(--flat-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s;
}
.cwb-social-link:hover {
	background: #f8fafc;
}

/* =====================================
   КАБИНЕТ (ШАПКА И НАВИГАЦИЯ)
====================================== */
.cwb-flat-dashboard {
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(85, 41, 201, 0.09);
}
.cwb-flat-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 20px 34px;
	color: #fff;
	background: linear-gradient(135deg, #6c39ed 0%, #6c39ed 100%);
}
.cwb-dashboard-title {
	margin: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
}
.cwb-fh-user {
	display: flex;
	align-items: center;
	gap: 15px;
}
.cwb-fh-avatar {
	border-radius: 50%;
	width: 50px;
	height: 50px;
	border: 2px solid rgba(255, 255, 255, 0.65);
	object-fit: cover;
	background: #fff;
}
.cwb-fh-name {
	margin: 0 0 4px 0;
	padding: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}
.cwb-fh-email {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
}
.cwb-avatar-editor {
	position: relative;
	flex: none;
}
#cwb-avatar-edit {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
#cwb-avatar-edit .cwb-fh-avatar {
	display: block;
	margin: 0;
}
.cwb-avatar-pen {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(60, 27, 135, 0.6);
	color: #fff;
	opacity: 0;
	transition: opacity 0.15s;
}
#cwb-avatar-edit:hover .cwb-avatar-pen,
#cwb-avatar-edit:focus-visible .cwb-avatar-pen,
#cwb-avatar-edit[aria-expanded='true'] .cwb-avatar-pen {
	opacity: 1;
}
#cwb-avatar-edit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.cwb-avatar-controls {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	width: 220px;
	max-width: calc(100vw - 64px);
	padding: 8px;
	border: 1px solid #e5dcfb;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(40, 20, 80, 0.2);
}
.cwb-avatar-controls button,
.cwb-avatar-upload {
	border: 0;
	border-radius: 8px;
	padding: 9px 10px;
	background: transparent;
	color: #6c39ed;
	text-align: left;
	font: inherit;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}
.cwb-avatar-controls button:hover,
.cwb-avatar-upload:hover {
	background: #f3edff;
}
.cwb-avatar-controls button:focus-visible,
.cwb-avatar-upload:focus-within {
	outline: 2px solid #6c39ed;
	outline-offset: -2px;
}
.cwb-avatar-controls button:disabled,
.cwb-avatar-upload.is-disabled,
#cwb-avatar-edit:disabled {
	opacity: 0.5;
	cursor: wait;
}
.cwb-avatar-upload {
	position: relative;
	display: block;
	overflow: hidden;
}
/* A real tappable file control lets Safari open Photos without a synthetic click. */
#cwb-avatar-file {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	font-size: 16px;
	cursor: pointer;
}
#cwb-avatar-file:disabled {
	cursor: wait;
}
.cwb-avatar-controls[hidden],
.cwb-avatar-controls [hidden] {
	display: none !important;
}
.cwb-avatar-hint {
	padding: 6px 10px;
	color: #64748b;
	font-size: 11px;
}
#cwb-avatar-message {
	font-size: 13px;
}
#cwb-avatar-message:empty {
	display: none;
}
@media (hover: none) {
	.cwb-avatar-pen {
		inset: auto -2px -2px auto;
		width: 24px;
		height: 24px;
		opacity: 1;
		background: #fff;
		color: #6c39ed;
		border: 1px solid #e5dcfb;
	}
	.cwb-avatar-pen svg {
		width: 14px;
		height: 14px;
	}
}

.cwb-flat-nav {
	display: flex;
	gap: 26px;
	padding: 0 34px;
	border-bottom: 1px solid var(--flat-border);
	margin: 0;
}
.cwb-nav-item {
	background: none;
	border: none;
	padding: 18px 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--flat-text-muted);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	transition: 0.2s;
	margin-bottom: -1px;
}
.cwb-nav-item:hover {
	color: var(--flat-text);
}
.cwb-nav-item.active {
	color: var(--flat-primary);
	border-bottom-color: var(--flat-primary);
}
.cwb-flat-content {
	padding: 30px 34px 34px;
}

/* =====================================
   ФИЛЬТРЫ ТАБОВ
====================================== */
.cwb-orders-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	background: #f8fafc;
	padding: 6px;
	border-radius: 10px;
	border: 1px solid #f1f5f9;
}
.cwb-filter-btn {
	flex: 1;
	background: transparent;
	border: none;
	padding: 10px 15px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: 0.2s;
}
.cwb-filter-btn:hover {
	color: #0f172a;
}
.cwb-filter-btn.active {
	background: #ffffff;
	color: var(--flat-primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* =====================================
   КАРТОЧКИ БРОНИРОВАНИЙ
====================================== */
.cwb-flat-orders {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.cwb-flat-order-card {
	padding: 20px 25px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	background: #ffffff;
}

.cwb-foc-left {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cwb-foc-meta-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}
.cwb-foc-meta {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	font-family: monospace;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* КНОПКА КОПИРОВАНИЯ */
.cwb-copy-order-btn {
	background: transparent;
	border: none;
	padding: 3px;
	color: #94a3b8;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: 0.2s;
}
.cwb-copy-order-btn:hover {
	background: #f1f5f9;
	color: var(--flat-primary);
}

.cwb-foc-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}
.cwb-foc-date {
	font-size: 13px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.cwb-foc-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}
.cwb-foc-date {
	font-size: 13px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.cwb-foc-right {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-end;
}
.cwb-foc-price {
	font-size: 20px;
	font-weight: 500;
	color: #0f172a;
}

/* Статусы */
.cwb-foc-status {
	font-size: 11px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.cwb-foc-status.paid {
	background: #dcfce7;
	color: #166534;
}
.cwb-foc-status.pending {
	background: #fef3c7;
	color: #92400e;
}
.cwb-foc-status.cancelled {
	background: #f1f5f9;
	color: #64748b;
}

/* Кнопка отмены */
.cwb-btn-cancel-order {
	background: #fee2e2;
	color: #ef4444;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;

	display: inline-block;
}
.cwb-btn-cancel-order:hover {
	background: #fca5a5;
}

/* =====================================
   ФОРМЫ И ПОЛЯ ПРОФИЛЯ
====================================== */
.cwb-form-grid-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	margin-bottom: 25px;
}
.cwb-flat-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.cwb-flat-field label {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
}
.cwb-flat-input {
	width: 100%;
	/* height: 42px;  */
	padding: 10px 15px !important;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	color: #334155;
	background: #ffffff;
	outline: none;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
	box-sizing: border-box;
}
.cwb-flat-input:focus {
	border-color: var(--flat-primary);
	box-shadow: 0 0 0 3px rgba(108, 57, 237, 0.1);
}
.cwb-flat-input::placeholder {
	color: #94a3b8;
}

/* Safari date controls have an intrinsic width; keep them inside the profile grid. */
#cwb-cabinet-birthday {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 42px;
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px !important;
	text-align: left;
	overflow: hidden;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}
#cwb-cabinet-birthday::-webkit-date-and-time-value {
	min-height: 1.4em;
	text-align: left;
}
#cwb-cabinet-birthday::-webkit-datetime-edit {
	min-width: 0;
	padding: 0;
}
#cwb-cabinet-birthday::-webkit-calendar-picker-indicator {
	opacity: 0;
	cursor: pointer;
}

/* Выпадающий список */
.cwb-flat-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	cursor: pointer;
}

.cwb-form-separator {
	border-top: 1px solid #e2e8f0;
	margin: 30px 0 20px 0;
}

.cwb-flat-form-footer {
	display: flex;
	align-items: center;
	gap: 15px;
}
.cwb-profile-logout {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}
.cwb-profile-logout .cwb-flat-btn-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 6px;
	color: #334155;
	background: #f3f4f6;
}
.cwb-profile-logout .cwb-flat-btn-text:hover {
	color: #6c39ed;
	background: #eceef1;
}
.cwb-profile-logout .cwb-flat-btn-text:focus-visible {
	outline: 2px solid #6c39ed;
	outline-offset: 3px;
}

/* Синяя кнопка "Сохранить" */
.cwb-flat-btn,
.cwb-btn-blue {
	background: var(--flat-primary);
	color: #ffffff;
	border: none;
	padding: 0 28px;
	height: 42px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cwb-btn-blue:hover {
	background: var(--flat-primary-hover);
}

/* Второстепенные кнопки */
.cwb-flat-btn-outline {
	border: 1px solid var(--flat-border);
	background: var(--flat-bg);
	color: var(--flat-text);
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s;
}
.cwb-flat-btn-outline:hover {
	background: #f8fafc;
}
.cwb-flat-btn-text {
	background: none;
	border: none;
	color: var(--flat-text-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px;
	transition: 0.2s;
}
.cwb-flat-btn-text:hover {
	color: #ef4444;
}

.cwb-auth-error {
	color: #ef4444;
	font-size: 13px;
	margin-top: 10px;
	text-align: center;
	font-weight: 500;
}

/* =====================================
   МОДАЛЬНОЕ ОКНО УСПЕХА
====================================== */
.cwb-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.cwb-modal-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 35px 30px;
	width: 90%;
	max-width: 380px;
	text-align: center;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
	transform: translateY(20px);
	transition: transform 0.3s ease;
}
.cwb-modal-overlay.show {
	opacity: 1;
}
.cwb-modal-overlay.show .cwb-modal-box {
	transform: translateY(0);
}

.cwb-modal-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px auto;
	background: #dcfce7;
	color: #166534;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.cwb-modal-icon svg {
	width: 32px;
	height: 32px;
}
.cwb-modal-title {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
}
.cwb-modal-text {
	margin: 0 0 25px 0;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}

.cwb-modal-close-btn {
	background: var(--flat-primary);
	color: #ffffff;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: 0.2s;
}
.cwb-modal-close-btn:hover {
	background: var(--flat-primary-hover);
}

.cwb-feedback-modal .cwb-modal-box {
	max-width: 400px;
}
.cwb-feedback-modal__actions {
	display: flex;
	gap: 10px;
}
.cwb-feedback-modal__actions button {
	min-height: 44px;
	flex: 1;
}
.cwb-feedback-modal__cancel {
	border: 1px solid var(--flat-border);
	border-radius: 8px;
	color: var(--flat-text-muted);
	background: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.cwb-feedback-modal.is-error .cwb-feedback-modal__icon {
	color: #b85a63;
	background: #fceef0;
}
.cwb-feedback-modal.is-warning .cwb-feedback-modal__icon {
	color: #a8792e;
	background: #fff5df;
}

/* ========================================================
   ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ЛИЧНОГО КАБИНЕТА
   ======================================================== */

/* Состояние "Пусто" (нет заказов) */
.cwb-empty-orders {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #f1f5f9;
}
.cwb-empty-orders-icon {
	font-size: 40px;
	margin-bottom: 15px;
	opacity: 0.5;
}
.cwb-empty-orders-title {
	margin: 0 0 10px 0;
	color: #0f172a;
	font-size: 18px;
}
.cwb-empty-orders-text {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

/* Обертка для кнопок действий в карточке заказа */
.cwb-foc-actions {
	margin-top: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Кнопка "Оплатить" */
.cwb-btn-pay-order {
	background: #10b981;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
	transition: all 0.2s ease;
}
.cwb-btn-pay-order:hover:not(:disabled) {
	background: #059669;
	transform: translateY(-1px);
	box-shadow: 0 6px 8px rgba(16, 185, 129, 0.3);
}
.cwb-btn-pay-order:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* Кнопка "Отменить бронь" */
.cwb-btn-cancel-order {
	background: #fff;
	color: #ef4444;
	border: 1px solid #fee2e2;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.cwb-btn-cancel-order:hover:not(:disabled) {
	background: #fef2f2;
	border-color: #fca5a5;
}
.cwb-btn-cancel-order:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Сообщения в профиле */
#cwb-profile-msg {
	display: inline-block;
	margin-left: 15px;
	font-size: 13px;
	font-weight: 600;
}
.cwb-msg-success {
	color: #166534;
}
.cwb-msg-error {
	color: #ef4444;
}

/* Эффект для кликабельной карточки */
.cwb-clickable-card {
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}
.cwb-clickable-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	border-color: #10b981;
}
.cwb-receipt-hint {
	font-size: 12px;
	color: #10b981;
	margin-top: 12px;
	font-weight: 600;
	display: inline-block;
	padding: 4px 10px;
	background: #ecfdf5;
	border-radius: 6px;
	width: fit-content;
}

/* ========================================================
   СТИЛИ ДЛЯ ПЕЧАТИ ЧЕКА
   ======================================================== */
@media print {
	/* Скрываем весь сайт и шапку браузера */
	body * {
		visibility: hidden !important;
	}

	/* Разворачиваем модалку на весь экран */
	#cwb-receipt-modal {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		display: block !important;
		background: transparent !important;
		padding: 0;
		margin: 0;
	}

	/* Делаем видимым ТОЛЬКО содержимое чека */
	#cwb-receipt-printable,
	#cwb-receipt-printable * {
		visibility: visible !important;
	}

	/* Убираем тени и рамки модалки для чистого белого листа */
	#cwb-receipt-printable {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		box-shadow: none !important;
		border: none !important;
		padding: 0 !important;
	}

	.cwb-modal-box {
		box-shadow: none !important;
		background: transparent !important;
		max-width: 100% !important;
	}

	/* Скрываем кнопки "Печать" и "Закрыть" на бумаге */
	.cwb-receipt-actions {
		display: none !important;
	}
}

/* ========================================================
   МОДАЛЬНЫЕ ОКНА ЛИЧНОГО КАБИНЕТА (ЧЕК И ОТМЕНА)
   ======================================================== */
.cwb-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	z-index: 999999;
	/* По умолчанию скрыто, будет display: flex через JS */
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.cwb-modal-overlay.show {
	opacity: 1;
}
.cwb-modal-box {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
	transform: scale(0.9);
	transition: transform 0.3s ease;
	width: 100%;
	max-width: 400px;
	text-align: center;
	padding: 40px;
	box-sizing: border-box;
}
.cwb-modal-overlay.show .cwb-modal-box {
	transform: scale(1);
}
.cwb-modal-icon {
	width: 80px;
	height: 80px;
	background: #f3edfe;
	color: #6c39ed;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 20px;
}
.cwb-modal-icon svg {
	width: 40px;
	height: 40px;
}
.cwb-modal-title {
	margin: 0 0 15px;
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
}
.cwb-modal-text {
	color: #64748b;
	font-size: 16px;
	margin: 0 0 30px;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.cwb-flat-wrapper {
		margin: 0 auto;
	}
	.cwb-avatar-hint {
		font-size: 8px;
	}
	.cwb-flat-dashboard {
		border-width: 0;
		border-radius: 20px;
		box-shadow: none;
	}
	.cwb-flat-header {
		gap: 12px;
		padding: 18px 20px;
	}
	.cwb-dashboard-title {
		font-size: 26px;
	}
	.cwb-flat-nav {
		gap: 20px;
		padding: 0 20px;
	}
	.cwb-flat-content {
		padding: 24px 20px 30px;
	}
	.cwb-form-grid-row {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 20px;
	}
	.cwb-hidden-mobile {
		display: none;
	}
	.cwb-orders-filters {
		flex-direction: column;
		gap: 5px;
	}
	.cwb-flat-order-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	.cwb-foc-right {
		align-items: flex-start;
		text-align: left;
		flex-direction: row-reverse;
		justify-content: space-between;
		width: 100%;
	}
}
