.adv-com-alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
}

.adv-com-alert--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.adv-com-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.adv-com-alert--info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

.adv-com-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 16px;
}

.adv-com-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.adv-com-form p {
	margin: 0 0 14px;
}

.adv-com-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.adv-com-form input[type="text"],
.adv-com-form input[type="email"],
.adv-com-form input[type="password"],
.adv-com-form input[type="date"],
.adv-com-form input[type="number"],
.adv-com-form input[type="file"],
.adv-com-form select,
.adv-com-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
}

.adv-com-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.adv-com-form-hint {
	color: #6b7280;
	font-size: 14px;
	margin: 0 0 16px;
}

.adv-com-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 12px;
}

.adv-com-badge--success {
	background: #d1fae5;
	color: #065f46;
}

.adv-com-badge--warning {
	background: #fef3c7;
	color: #92400e;
}

.adv-com-badge--danger {
	background: #fee2e2;
	color: #991b1b;
}

.adv-com-button {
	display: inline-block;
	background: #dc2626;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(220, 38, 38, 0.26);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	cursor: pointer;
}

.adv-com-button:hover {
	background: #b91c1c;
	box-shadow: 0 12px 28px rgba(220, 38, 38, 0.32);
	color: #fff;
	transform: translateY(-1px);
}

.adv-com-button--lg {
	font-size: 16px;
	padding: 14px 28px;
}

.adv-com-button--secondary {
	background: #6b7280;
	box-shadow: none;
}

.adv-com-button--secondary:hover {
	background: #4b5563;
}

.adv-com-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.adv-com-tab {
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 8px 14px;
	cursor: pointer;
}

.adv-com-tab.is-active {
	background: #dc2626;
	border-color: #dc2626;
	color: #fff;
}

.adv-com-tab-panel {
	display: none;
}

.adv-com-tab-panel.is-active {
	display: block;
}

.adv-com-table {
	width: 100%;
	border-collapse: collapse;
}

.adv-com-table th,
.adv-com-table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 10px;
	text-align: left;
}

.adv-com-checkline {
	display: block;
	margin-bottom: 6px;
}

.adv-com-portal {
	background: #fff;
	border: 1px solid #f1d5d5;
	border-radius: 18px;
	border-top: 5px solid #dc2626;
	box-shadow: 0 18px 40px rgba(124, 24, 24, 0.1);
	padding: 28px;
	margin-bottom: 24px;
}

.adv-com-portal__head {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	margin-bottom: 22px;
}

.adv-com-portal__brand {
	border-bottom: 1px solid #f1d5d5;
	margin-bottom: 20px;
	padding-bottom: 18px;
}

.adv-com-portal__brand img {
	display: block;
	height: auto;
	max-height: 72px;
	width: auto;
}

.adv-com-portal__badge {
	align-items: center;
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	border: 1px solid #fecaca;
	border-radius: 16px;
	color: #dc2626;
	display: inline-flex;
	flex: 0 0 auto;
	height: 56px;
	justify-content: center;
	width: 56px;
}

.adv-com-portal__badge svg {
	display: block;
	fill: currentColor;
	height: 28px;
	width: 28px;
}

.adv-com-portal__title {
	color: #1a1212;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
}

.adv-com-portal__description {
	margin: 0;
	color: #6b5454;
}

.adv-com-portal__actions {
	margin: 0;
}

.adv-com-portal__login {
	background: #fef7f7;
	border: 1px solid #f1d5d5;
	border-radius: 14px;
	max-width: 460px;
	padding: 22px;
}

.adv-com-portal__login label {
	color: #1a1212;
	display: block;
	font-weight: 700;
	margin-bottom: 14px;
}

.adv-com-portal__login input[type="text"],
.adv-com-portal__login input[type="password"] {
	background: #fff;
	border: 1px solid #e6bcbc;
	border-radius: 10px;
	box-sizing: border-box;
	margin-top: 6px;
	max-width: 100%;
	padding: 11px 13px;
	width: 100%;
}

.adv-com-portal__login input[type="text"]:focus,
.adv-com-portal__login input[type="password"]:focus {
	border-color: #ef4444;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
	outline: none;
}

.adv-com-portal__login .button,
.adv-com-portal__login .button-primary,
.adv-com-portal__login input[type="submit"] {
	background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(220, 38, 38, 0.26);
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: 11px 24px;
}

.adv-com-portal__login .button:hover,
.adv-com-portal__login .button-primary:hover,
.adv-com-portal__login input[type="submit"]:hover {
	background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.adv-com-nav-menu,
.adv-com-nav-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.adv-com-nav-menu a {
	color: #1a1212;
	font-weight: 600;
	text-decoration: none;
}

.adv-com-nav-menu a:hover {
	color: #dc2626;
	text-decoration: underline;
}

.adv-com-dashboard {
	--adv-com-primary: #dc2626;
	--adv-com-primary-soft: #fef2f2;
	--adv-com-primary-border: #fecaca;
	--adv-com-surface: #ffffff;
	--adv-com-surface-muted: #fef7f7;
	--adv-com-border: #f1d5d5;
	--adv-com-text: #1a1212;
	--adv-com-muted: #6b5454;
	--adv-com-shadow: 0 18px 40px rgba(124, 24, 24, 0.1);
	--adv-com-radius: 18px;
	--adv-com-radius-sm: 12px;
	margin: 0 0 32px;
}

.adv-com-dashboard__shell {
	background: var(--adv-com-surface);
	border: 1px solid var(--adv-com-border);
	border-radius: var(--adv-com-radius);
	box-shadow: var(--adv-com-shadow);
	overflow: hidden;
}

.adv-com-brand-header {
	align-items: center;
	background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
	border-bottom: 4px solid #dc2626;
	display: flex;
	gap: 16px;
	padding: 20px 24px;
}

.adv-com-brand-header__logo {
	display: block;
	height: auto;
	max-height: 68px;
	width: auto;
}

.adv-com-brand-header__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.adv-com-brand-header__name {
	color: #b91c1c;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.adv-com-brand-header__role {
	color: #6b5454;
	font-size: 13px;
	font-weight: 600;
	margin-top: 2px;
}

.adv-com-dashboard-tabs {
	background: linear-gradient(180deg, #fef2f2 0%, #fde8e8 100%);
	border-bottom: 1px solid var(--adv-com-border);
	padding: 18px 18px 0;
}

.adv-com-dashboard-tabs__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	overflow-x: auto;
	padding: 0 0 18px;
	scrollbar-width: thin;
}

.adv-com-dashboard-tabs__item {
	flex: 0 0 auto;
}

.adv-com-dashboard-tabs__link {
	align-items: center;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--adv-com-border);
	border-radius: 999px;
	color: var(--adv-com-text);
	display: inline-flex;
	gap: 10px;
	min-height: 46px;
	padding: 0 18px;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.adv-com-dashboard-tabs__link:hover {
	background: #fff;
	border-color: #f1aeae;
	box-shadow: 0 8px 20px rgba(124, 24, 24, 0.1);
	color: var(--adv-com-text);
	transform: translateY(-1px);
}

.adv-com-dashboard-tabs__link.is-active {
	background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
	border-color: transparent;
	box-shadow: 0 10px 24px rgba(220, 38, 38, 0.3);
	color: #fff;
}

.adv-com-dashboard-tabs__icon {
	align-items: center;
	display: inline-flex;
	height: 18px;
	justify-content: center;
	width: 18px;
}

.adv-com-dashboard-tabs__icon svg {
	display: block;
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.adv-com-dashboard-tabs__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.adv-com-dashboard-body {
	padding: 24px;
}

.adv-com-dashboard-body .wrap.adv-com-wrap {
	margin: 0;
	max-width: none;
	padding: 0;
}

.adv-com-dashboard-body .wrap.adv-com-wrap > .adv-com-page-header,
.adv-com-dashboard-body .wrap.adv-com-wrap > h1 {
	display: none;
}

.adv-com-dashboard--accountant {
	--adv-com-primary: #be123c;
	--adv-com-primary-soft: #fff1f2;
	--adv-com-primary-border: #fecdd3;
}

.adv-com-dashboard--accountant .adv-com-dashboard-tabs__link.is-active {
	background: linear-gradient(135deg, #9f1239 0%, #e11d48 100%);
	box-shadow: 0 10px 24px rgba(190, 18, 60, 0.3);
}

.adv-com-dashboard--accountant .adv-com-btn--primary,
.adv-com-dashboard--accountant .button-primary {
	background: linear-gradient(135deg, #9f1239 0%, #e11d48 100%) !important;
	box-shadow: 0 10px 24px rgba(190, 18, 60, 0.24) !important;
}

.adv-com-dashboard--accountant .adv-com-btn--primary:hover,
.adv-com-dashboard--accountant .button-primary:hover {
	background: linear-gradient(135deg, #881337 0%, #be123c 100%) !important;
	box-shadow: 0 12px 28px rgba(190, 18, 60, 0.3) !important;
}

.adv-com-dashboard--accountant .adv-com-input:focus,
.adv-com-dashboard--accountant .regular-text:focus,
.adv-com-dashboard--accountant .large-text:focus {
	border-color: #e11d48;
	box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15);
}

/* Resident portal */
.adv-com-dashboard--resident .adv-com-dashboard-tabs__link.is-active {
	background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
	box-shadow: 0 10px 24px rgba(220, 38, 38, 0.3);
}

.adv-com-dashboard--resident .adv-com-dashboard-tabs__icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	height: 16px !important;
	justify-content: center;
	line-height: 0;
	max-height: 16px !important;
	max-width: 16px !important;
	overflow: hidden;
	width: 16px !important;
}

.adv-com-dashboard--resident .adv-com-dashboard-tabs__icon svg,
.adv-com-dashboard--resident .adv-com-dashboard-tabs__icon .adv-com-svg-icon {
	display: block !important;
	flex: 0 0 auto;
	height: 16px !important;
	max-height: 16px !important;
	max-width: 16px !important;
	min-height: 16px !important;
	min-width: 16px !important;
	width: 16px !important;
}

.adv-com-dashboard--resident .adv-com-dashboard-tabs__link {
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
}

.adv-com-dashboard--resident .adv-com-dashboard-tabs__link svg {
	flex-shrink: 0;
}

.adv-com-resident-body .adv-com-card {
	border: 1px solid var(--adv-com-border, #f1d5d5);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(124, 24, 24, 0.06);
	margin-bottom: 20px;
	padding: 0;
	overflow: hidden;
}

.adv-com-card--section .adv-com-card__header {
	align-items: center;
	background: linear-gradient(135deg, #ffffff 0%, #fef7f7 100%);
	border-bottom: 1px solid #f1d5d5;
	display: flex;
	gap: 12px;
	padding: 16px 18px;
}

.adv-com-dashboard--resident .adv-com-card__icon,
.adv-com-resident-body .adv-com-card__icon {
	align-items: center;
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	border: 1px solid #fecaca;
	border-radius: 10px;
	color: #dc2626;
	display: inline-flex;
	flex: 0 0 auto;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.adv-com-dashboard--resident .adv-com-card__icon svg,
.adv-com-resident-body .adv-com-card__icon svg {
	display: block;
	fill: currentColor;
	height: 16px;
	width: 16px;
	max-height: 16px;
	max-width: 16px;
}

.adv-com-dashboard--resident .adv-com-card__title,
.adv-com-resident-body .adv-com-card__title {
	color: #1a1212;
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 4px;
}

.adv-com-card__subtitle {
	color: #6b5454;
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.adv-com-card--form .adv-com-form--resident {
	padding: 22px;
}

.adv-com-resident-welcome {
	align-items: center;
	background: linear-gradient(135deg, #b91c1c 0%, #ef4444 55%, #fca5a5 100%);
	border-radius: 16px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 24px 26px;
}

.adv-com-resident-welcome__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	opacity: 0.9;
	text-transform: uppercase;
}

.adv-com-resident-welcome__title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 8px;
}

.adv-com-resident-welcome__meta {
	font-size: 15px;
	margin: 0;
	opacity: 0.92;
}

.adv-com-resident-welcome__cta {
	background: #fff !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15) !important;
	color: #b91c1c !important;
}

.adv-com-resident-welcome__cta:hover {
	background: #fef2f2 !important;
	color: #991b1b !important;
	transform: translateY(-1px);
}

.adv-com-resident-stats {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-bottom: 20px;
}

.adv-com-resident-stat {
	align-items: center;
	background: #fff;
	border: 1px solid #f1d5d5;
	border-radius: 14px;
	display: flex;
	gap: 10px;
	padding: 12px 14px;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.adv-com-resident-stat:hover {
	box-shadow: 0 10px 24px rgba(124, 24, 24, 0.08);
	transform: translateY(-2px);
}

.adv-com-resident-stat__icon {
	align-items: center;
	background: #fef2f2;
	border-radius: 10px;
	color: #dc2626;
	display: inline-flex;
	flex: 0 0 auto;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.adv-com-resident-stat__icon svg {
	display: block;
	fill: currentColor;
	height: 16px;
	width: 16px;
	max-height: 16px;
	max-width: 16px;
}

.adv-com-resident-stat__label {
	color: #6b5454;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.adv-com-resident-stat__value {
	color: #1a1212;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.adv-com-resident-stat__badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 12px;
}

.adv-com-resident-stat__badge--success {
	background: #d1fae5;
	color: #065f46;
}

.adv-com-resident-stat__badge--warning {
	background: #fef3c7;
	color: #92400e;
}

.adv-com-resident-stat__badge--danger {
	background: #fee2e2;
	color: #991b1b;
}

.adv-com-resident-profile {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0 22px 22px;
}

.adv-com-resident-profile__row {
	border-bottom: 1px solid #f5e8e8;
	display: grid;
	gap: 4px 16px;
	grid-template-columns: minmax(100px, 140px) 1fr;
	padding: 14px 0;
}

.adv-com-resident-profile__row:last-child {
	border-bottom: 0;
}

.adv-com-resident-profile__row dt {
	color: #6b5454;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.adv-com-resident-profile__row dd {
	color: #1a1212;
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.adv-com-resident-quicklinks {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-top: 4px;
}

.adv-com-resident-quicklink {
	align-items: center;
	background: #fff;
	border: 1px solid #f1d5d5;
	border-radius: 14px;
	color: #1a1212;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 12px;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.adv-com-resident-quicklink:hover {
	border-color: #f1aeae;
	box-shadow: 0 10px 24px rgba(124, 24, 24, 0.1);
	color: #b91c1c;
	transform: translateY(-2px);
}

.adv-com-resident-quicklink__icon {
	align-items: center;
	background: #fef2f2;
	border-radius: 999px;
	color: #dc2626;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.adv-com-resident-quicklink__icon svg {
	display: block;
	fill: currentColor;
	height: 16px;
	width: 16px;
	max-height: 16px;
	max-width: 16px;
}

.adv-com-resident-quicklink__label {
	font-size: 14px;
	font-weight: 700;
}

.adv-com-form--resident .adv-com-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.adv-com-form--resident .adv-com-field label {
	color: #1a1212;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.adv-com-form--resident .adv-com-field input,
.adv-com-form--resident .adv-com-field select,
.adv-com-form--resident .adv-com-field textarea {
	border: 1px solid #e6bcbc;
	border-radius: 10px;
	padding: 11px 13px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.adv-com-form--resident .adv-com-field input:focus,
.adv-com-form--resident .adv-com-field select:focus,
.adv-com-form--resident .adv-com-field textarea:focus {
	border-color: #ef4444;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
	outline: none;
}

.adv-com-field--readonly .adv-com-field__value {
	background: #fef7f7;
	border: 1px solid #f1d5d5;
	border-radius: 10px;
	color: #1a1212;
	font-weight: 600;
	margin: 0;
	padding: 11px 13px;
}

.adv-com-file-upload {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.adv-com-file-upload--block {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}

.adv-com-file-upload__input {
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	width: 0.1px;
	z-index: -1;
}

.adv-com-file-upload__button {
	cursor: pointer;
	margin: 0;
}

.adv-com-file-upload__name {
	color: #6b5454;
	font-size: 14px;
	font-weight: 600;
}

.adv-com-booking-date-field[hidden] {
	display: none !important;
}

.adv-com-booking-calendar.is-collapsed {
	display: none;
}

.adv-com-booking-calendar.is-visible,
.adv-com-booking-date-field.is-visible {
	display: block;
}

.adv-com-booking-date-field {
	margin: 0 22px 12px;
}

.adv-com-booking-date-field input[type="date"] {
	background: #fff;
	border: 2px solid #f1d5d5;
	border-radius: 12px;
	box-sizing: border-box;
	color: #1a1212;
	font-size: 16px;
	font-weight: 600;
	max-width: 100%;
	padding: 12px 14px;
	width: 100%;
}

.adv-com-booking-date-field input[type="date"]:focus {
	border-color: #ef4444;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
	outline: none;
}

.adv-com-booking-calendar {
	margin: 0 22px 18px;
}

.adv-com-booking-calendar__panel {
	background: #fff;
	border: 1px solid #ececf1;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
	margin: 0 auto;
	max-width: 340px;
	padding: 14px;
}

.adv-com-booking-calendar__hint {
	color: #8a8a99;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 12px;
	text-align: center;
}

.adv-com-booking-calendar__picked {
	align-items: center;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 12px;
	padding: 8px 12px;
	text-align: center;
}

.adv-com-booking-calendar__picked[hidden] {
	display: none !important;
}

.adv-com-booking-calendar__picked-label {
	color: #16a34a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.adv-com-booking-calendar__picked strong {
	color: #14532d;
	font-size: 14px;
}

.adv-com-booking-calendar__nav {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.adv-com-booking-calendar__nav-btn {
	align-items: center;
	appearance: none;
	background: #f6f6f8;
	border: none;
	border-radius: 8px;
	color: #4b5563;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	font-weight: 700;
	height: 32px;
	justify-content: center;
	line-height: 1;
	min-width: 32px;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
}

.adv-com-booking-calendar__nav-btn:hover {
	background: #16a34a;
	color: #fff;
}

.adv-com-booking-calendar__title {
	color: #1f2937;
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-transform: capitalize;
}

.adv-com-booking-calendar__weekdays,
.adv-com-booking-calendar__grid {
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.adv-com-booking-calendar__weekdays {
	margin-bottom: 4px;
}

.adv-com-booking-calendar__weekdays span {
	color: #b0b0bb;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: uppercase;
}

.adv-com-booking-calendar__cell {
	align-items: center;
	appearance: none;
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #374151;
	cursor: default;
	display: inline-flex;
	font: inherit;
	justify-content: center;
	padding: 0;
	transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
	width: 100%;
}

.adv-com-booking-calendar__day-num {
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.adv-com-booking-calendar__cell--empty {
	background: transparent;
	border: none;
}

.adv-com-booking-calendar__cell--busy {
	background: #fef2f2;
	color: #dc2626;
	cursor: not-allowed;
}

.adv-com-booking-calendar__cell--pending {
	background: #fefce8;
	color: #ca8a04;
	cursor: not-allowed;
}

.adv-com-booking-calendar__cell--past {
	background: transparent;
	color: #d1d5db;
	cursor: not-allowed;
}

.adv-com-booking-calendar__cell--free {
	background: #dcfce7;
	color: #15803d;
	cursor: pointer;
	font-weight: 700;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.adv-com-booking-calendar__cell--free:hover {
	background: #16a34a;
	color: #fff;
	transform: translateY(-1px);
}

.adv-com-booking-calendar__cell--pick {
	background: #16a34a;
	box-shadow: 0 3px 8px rgba(22, 163, 74, 0.35);
	color: #fff;
	transform: scale(1.05);
}

.adv-com-booking-calendar__empty {
	color: #8a8a99;
	font-size: 12px;
	margin: 10px 0;
	text-align: center;
}

.adv-com-booking-calendar__legend {
	border-top: 1px solid #f0f0f3;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	justify-content: center;
	margin-top: 12px;
	padding-top: 10px;
}

.adv-com-booking-calendar__legend-item {
	align-items: center;
	color: #8a8a99;
	display: inline-flex;
	font-size: 11px;
	font-weight: 600;
	gap: 5px;
}

.adv-com-booking-calendar__dot {
	border-radius: 50%;
	flex-shrink: 0;
	height: 9px;
	width: 9px;
}

.adv-com-booking-calendar__dot--free {
	background: #22c55e;
}

.adv-com-booking-calendar__dot--pending {
	background: #eab308;
}

.adv-com-booking-calendar__dot--busy {
	background: #ef4444;
}

.adv-com-booking-calendar__dot--pick {
	background: #16a34a;
}

.adv-com-booking-summary {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 12px;
	color: #065f46;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	gap: 10px;
	line-height: 1.45;
	margin: 0 22px 16px;
	padding: 14px 16px;
}

.adv-com-booking-summary[hidden],
.adv-com-booking-payment[hidden],
.adv-com-booking-availability[hidden],
.adv-com-booking-booked-hint[hidden] {
	display: none !important;
}

.adv-com-booking-availability {
	margin: 8px 0 0;
	font-size: 0.92rem;
	font-weight: 600;
}

.adv-com-booking-availability.is-available {
	color: #0d7a4a;
}

.adv-com-booking-availability.is-unavailable {
	color: #b42318;
}

.adv-com-booking-booked-hint {
	margin-top: 6px;
}

.adv-com-booking-pay {
	padding: 0 22px 22px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin-top: 12px;
}

.adv-com-booking-pay__title {
	margin: 16px 0 12px;
}

.adv-com-button.is-disabled,
.adv-com-button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
	pointer-events: none;
}

.adv-com-button:not(.is-disabled):not([disabled]) {
	cursor: pointer;
	opacity: 1;
	pointer-events: auto;
}

.adv-com-booking-summary__icon {
	background: #10b981;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 14px;
	height: 28px;
	justify-content: center;
	line-height: 28px;
	width: 28px;
}

.adv-com-booking-payment {
	padding: 0 22px 8px;
}

@media (max-width: 520px) {
	.adv-com-booking-calendar {
		margin: 0 12px 16px;
	}

	.adv-com-booking-calendar__panel {
		padding: 12px;
	}

	.adv-com-booking-calendar__weekdays,
	.adv-com-booking-calendar__grid {
		gap: 3px;
	}

	.adv-com-booking-calendar__day-num {
		font-size: 12px;
	}
}

.adv-com-form-actions {
	margin-top: 8px;
}

.adv-com-table-wrap {
	overflow-x: auto;
	padding: 0 22px 22px;
}

.adv-com-table--resident {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

.adv-com-table--resident thead th {
	background: #fef2f2;
	border-bottom: 2px solid #fecaca;
	color: #991b1b;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 12px 14px;
	text-transform: uppercase;
}

.adv-com-table--resident tbody td {
	border-bottom: 1px solid #f5e8e8;
	padding: 14px;
	vertical-align: middle;
}

.adv-com-table--resident tbody tr:hover {
	background: #fffbfb;
}

.adv-com-link {
	color: #dc2626;
	font-weight: 700;
	text-decoration: none;
}

.adv-com-link:hover {
	text-decoration: underline;
}

@media (max-width: 782px) {
	.adv-com-dashboard-body {
		padding: 16px;
	}

	.adv-com-brand-header {
		padding: 16px;
	}

	.adv-com-brand-header__logo {
		max-height: 56px;
	}

	.adv-com-brand-header__name {
		font-size: 18px;
	}

	.adv-com-dashboard-tabs {
		padding: 14px 14px 0;
	}

	.adv-com-dashboard-tabs__link {
		min-height: 42px;
		padding: 0 14px;
	}

	.adv-com-resident-welcome {
		padding: 20px;
	}

	.adv-com-resident-welcome__title {
		font-size: 22px;
	}

	.adv-com-resident-profile__row {
		grid-template-columns: 1fr;
	}

	.adv-com-table--resident thead {
		display: none;
	}

	.adv-com-table--resident tbody tr {
		display: block;
		margin-bottom: 12px;
	}

	.adv-com-table--resident tbody td {
		display: block;
		padding: 8px 14px;
	}

	.adv-com-table--resident tbody td::before {
		color: #6b5454;
		content: attr(data-label) ": ";
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
	}
}
