/**
 * ZooSpace Animal Organizations – Dashboard styles
 * No WooCommerce dependency.
 */

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.zsao-dashboard {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 0;
	min-height: 600px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-family: inherit;
}

@media (max-width: 768px) {
	.zsao-dashboard {
		grid-template-columns: 1fr;
	}
}

/* ─── Sidebar ────────────────────────────────────────────────────────────── */

.zsao-dashboard__sidebar {
	background: #1a1a2e;
	color: #fff;
	padding: 24px 0;
	display: flex;
	flex-direction: column;
}

.zsao-dashboard__user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 20px 24px;
	border-bottom: 1px solid rgba(255,255,255,.1);
	margin-bottom: 12px;
}

.zsao-dashboard__avatar {
	border-radius: 50%;
	flex-shrink: 0;
}

.zsao-dashboard__user-name {
	display: block;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.3;
}

.zsao-dashboard__plan-badge {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: 20px;
	font-size: .7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.zsao-plan-free    .zsao-dashboard__plan-badge,
span.zsao-plan-free    { background: #6c757d; color: #fff; }
.zsao-plan-basic   .zsao-dashboard__plan-badge,
span.zsao-plan-basic   { background: #17a2b8; color: #fff; }
.zsao-plan-pro     .zsao-dashboard__plan-badge,
span.zsao-plan-pro     { background: #28a745; color: #fff; }
.zsao-plan-premium .zsao-dashboard__plan-badge,
span.zsao-plan-premium { background: #ffc107; color: #212529; }

/* ─── Nav ────────────────────────────────────────────────────────────────── */

.zsao-dashboard__nav {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.zsao-dashboard__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zsao-dashboard__nav-list--bottom {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(255,255,255,.1);
}

.zsao-dashboard__nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	color: rgba(255,255,255,.75);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 500;
	transition: background .15s, color .15s;
}

.zsao-dashboard__nav-link:hover,
.zsao-dashboard__nav-item.is-active .zsao-dashboard__nav-link {
	background: rgba(255,255,255,.08);
	color: #fff;
	text-decoration: none;
}

.zsao-dashboard__nav-item.is-active .zsao-dashboard__nav-link {
	border-left: 3px solid #4caf50;
}

.zsao-dashboard__nav-link--logout {
	color: rgba(255,100,100,.8);
}

.zsao-dashboard__nav-link--logout:hover {
	color: #ff6464;
}

/* ─── Main ───────────────────────────────────────────────────────────────── */

.zsao-dashboard__main {
	padding: 28px 32px;
	background: #f9f9f9;
	overflow-y: auto;
}

@media (max-width: 768px) {
	.zsao-dashboard__main {
		padding: 20px 16px;
	}
}

.zsao-dashboard__header {
	margin-bottom: 20px;
}

.zsao-dashboard__title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0;
}

/* ─── Notices ────────────────────────────────────────────────────────────── */

.zsao-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: .9rem;
}

.zsao-notice--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.zsao-notice--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.zsao-notice--warning { background: #fff3cd; color: #856404; border: 1px solid #ffecb5; }
.zsao-notice--info    { background: #cce5ff; color: #004085; border: 1px solid #b8daff; }

/* ─── Login box ──────────────────────────────────────────────────────────── */

.zsao-login-required {
	max-width: 440px;
	margin: 40px auto;
}

.zsao-login-box {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.zsao-login-box h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #1a1a2e;
}

.zsao-register-link {
	text-align: center;
	margin-top: 16px;
	font-size: .9rem;
	color: #666;
}

/* ─── Generic table ──────────────────────────────────────────────────────── */

.zsao-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .88rem;
}

.zsao-table th,
.zsao-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e8e8e8;
}

.zsao-table th {
	background: #f1f1f1;
	font-weight: 600;
	color: #444;
}

.zsao-table tbody tr:hover {
	background: #f9f9f9;
}

/* ─── Status badges ──────────────────────────────────────────────────────── */

.zsao-status-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 20px;
	font-size: .75rem;
	font-weight: 600;
	text-transform: capitalize;
}

.zsao-status-active    { background: #d4edda; color: #155724; }
.zsao-status-pending   { background: #fff3cd; color: #856404; }
.zsao-status-cancelled { background: #f8d7da; color: #721c24; }
.zsao-status-expired   { background: #e2e3e5; color: #495057; }
.zsao-status-trial     { background: #cce5ff; color: #004085; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.zsao-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border: none;
	border-radius: 6px;
	font-size: .875rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, opacity .15s;
	line-height: 1.4;
}

.zsao-btn--primary   { background: #4caf50; color: #fff; }
.zsao-btn--primary:hover { background: #43a047; color: #fff; }
.zsao-btn--outline   { background: transparent; color: #4caf50; border: 2px solid #4caf50; }
.zsao-btn--outline:hover { background: #4caf50; color: #fff; }
.zsao-btn--sm        { padding: 5px 12px; font-size: .8rem; }
.zsao-btn--link      { background: none; padding: 0; color: #4caf50; font-weight: 400; border: none; }
.zsao-btn--link:hover { text-decoration: underline; }
.zsao-btn--disabled,
.zsao-btn:disabled   { opacity: .55; cursor: not-allowed; }

/* ─── Plans grid ─────────────────────────────────────────────────────────── */

.zsao-plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTION PAGE - Premium Design Update
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Subscription Page Layout ─────────────────────────────────────────────── */
.zsao-subscription {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── Trial Banner (Enhanced) ─────────────────────────────────────────────── */
.zsao-trial-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.zsao-trial-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.zsao-trial-banner__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zsao-trial-banner__text {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0 0 16px;
}

.zsao-trial-banner__progress {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.zsao-trial-banner__progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transition: width 0.5s ease;
}

.zsao-trial-banner__days {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ─── Current Plan Section ─────────────────────────────────────────────────── */
.zsao-subscription__current {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.zsao-subscription__current-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #d1fae5 100%);
    color: #1a1a2e;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zsao-subscription__current-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zsao-subscription__current-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.zsao-subscription__current-badge--free { background: rgba(108, 117, 125, 0.3); }
.zsao-subscription__current-badge--pro { background: rgba(76, 175, 80, 0.3); }
.zsao-subscription__current-badge--trial { background: rgba(255, 193, 7, 0.3); }
.zsao-subscription__current-badge--active { background: rgba(76, 175, 80, 0.3); }

.zsao-subscription__current-body {
    padding: 24px;
}

/* Current Plan Card (inside current section) */
.zsao-subscription__current .zsao-plan-card {
    max-width: none;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

/* ─── Premium Plan Cards ────────────────────────────────────────────────── */
.zsao-plan-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.zsao-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e8e8e8;
    transition: background 0.3s ease;
}

.zsao-plan-card:hover {
    border-color: #4caf50;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.15);
    transform: translateY(-4px);
}

.zsao-plan-card:hover::before {
    background: #4caf50;
}

.zsao-plan-card--active {
    border-color: #4caf50;
    background: linear-gradient(180deg, #f8fff8 0%, #fff 100%);
}

.zsao-plan-card--active::before {
    background: #4caf50;
}

.zsao-plan-card--current {
    border-color: #4caf50;
    background: linear-gradient(180deg, #f8fff8 0%, #fff 100%);
}

/* Pro plan special styling */
.zsao-plan-pro {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.zsao-plan-pro::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.zsao-plan-pro:hover {
    border-color: #764ba2;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.zsao-plan-pro:hover::before {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

.zsao-plan-card__badge,
.zsao-plan-card__popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.zsao-plan-card__badge {
    background: #1a1a2e;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.3);
}

.zsao-plan-card__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    padding-top: 8px;
}

.zsao-plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 8px 0;
}

.zsao-plan-card__price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
}

.zsao-plan-card__price-period {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.zsao-plan-card__features {
    list-style: none;
    margin: 0;
    padding: 16px 0;
    font-size: 0.88rem;
    color: #555;
    flex: 1;
    border-top: 1px solid #f0f0f0;
}

.zsao-plan-card__features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zsao-plan-feature--included {
    color: #166534;
}

.zsao-plan-feature--included::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.zsao-plan-feature--disabled {
    opacity: 0.5;
    color: #999;
}

.zsao-plan-feature--disabled::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
    flex-shrink: 0;
}

.zsao-plan-card__cta {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.zsao-plan-pro .zsao-plan-card__cta.zsao-btn--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.zsao-plan-pro .zsao-plan-card__cta.zsao-btn--primary:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/* ─── Profile form ───────────────────────────────────────────────────────── */

.zsao-profile__avatar-section {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.zsao-profile__avatar { border-radius: 50%; }

.zsao-profile__avatar-hint { font-size: .82rem; color: #888; margin: 0; }

.zsao-form-section {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 20px;
}

.zsao-form-section__title {
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 16px;
}

.zsao-form-row {
	margin-bottom: 16px;
}

.zsao-form-label {
	display: block;
	font-size: .875rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.zsao-form-input,
.zsao-form-textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: .9rem;
	font-family: inherit;
	transition: border-color .15s;
	box-sizing: border-box;
}

.zsao-form-input:focus,
.zsao-form-textarea:focus {
	outline: none;
	border-color: #4caf50;
	box-shadow: 0 0 0 3px rgba(76,175,80,.1);
}

.zsao-form-input[disabled],
.zsao-form-input[readonly] {
	background: #f5f5f5;
	cursor: not-allowed;
}

.zsao-form-hint {
	font-size: .78rem;
	color: #888;
	margin: 4px 0 0;
}

.zsao-form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.zsao-form-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #4caf50;
	border-top-color: transparent;
	border-radius: 50%;
	animation: zsao-spin .6s linear infinite;
}

@keyframes zsao-spin { to { transform: rotate(360deg); } }

.zsao-verified-badge {
	margin-left: 6px;
	font-size: .75rem;
	color: #155724;
	font-weight: 400;
}

/* ─── Subscription ───────────────────────────────────────────────────────── */

.zsao-subscription {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Current plan card */
.zsao-subscription__current .zsao-plan-card {
	max-width: 480px;
}
.zsao-plan-card__description {
	font-size: .85rem;
	color: var(--zsao-muted, #6b7280);
	margin: 0;
}
.zsao-plan-card__meta-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: .85rem;
	color: #555;
}
.zsao-plan-card__meta-icon {
	flex-shrink: 0;
	font-size: 1rem;
	line-height: 1;
}
.zsao-plan-card__meta p { margin: 0 0 4px; font-size: .85rem; color: #555; }

/* ─── Usage Section (Enhanced) ─────────────────────────────────────────────── */
.zsao-subscription__usage {
    margin-bottom: 32px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8e8;
}

.zsao-subscription__usage-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zsao-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.zsao-usage-card {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zsao-usage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, transparent 100%);
    border-radius: 0 14px 0 80px;
    pointer-events: none;
}

.zsao-usage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.zsao-usage-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zsao-usage-card__icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
}

.zsao-usage-card__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.zsao-usage-card__value {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.zsao-usage-card__value strong {
    font-weight: 800;
    color: #1a1a2e;
}

.zsao-usage-card__separator {
    color: #cbd5e1;
    font-weight: 400;
    font-size: 1.5rem;
}

.zsao-usage-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.zsao-usage-bar__fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
    transition: width 0.5s ease;
    min-width: 4px;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.zsao-usage-bar__fill--warning {
    background: linear-gradient(90deg, #ff9800 0%, #ffb74d 100%);
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.zsao-usage-bar__fill--danger {
    background: linear-gradient(90deg, #f44336 0%, #ef5350 100%);
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.3);
}

.zsao-usage-bar__fill--unlimited {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.6;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.zsao-usage-card__hint {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zsao-usage-card__hint--warning {
    color: #d97706;
}

.zsao-usage-card__hint--danger {
    color: #dc2626;
    font-weight: 600;
}

/* Plans section */
.zsao-subscription__plans-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: #1a1a2e;
}
.zsao-subscription__plans-subtitle {
	font-size: .88rem;
	color: var(--zsao-muted, #6b7280);
	margin: 0 0 8px;
}

/* Plan card tagline */
.zsao-plan-card__tagline {
	font-size: .8rem;
	color: var(--zsao-muted, #6b7280);
	margin: -4px 0 0;
}

/* Feature list improvements */
.zsao-plan-feature--included {
	color: #166534;
}

/* ─── History Section (Enhanced) ─────────────────────────────────────────── */
.zsao-subscription__history {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8e8;
}

.zsao-subscription__history h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zsao-subscription__history-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Enhanced history table */
.zsao-table--history {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.zsao-table--history th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    padding: 14px 16px;
    border-bottom: 2px solid #e2e8f0;
}

.zsao-table--history td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}

.zsao-table--history tbody tr {
    transition: background 0.2s ease;
}

.zsao-table--history tbody tr:hover {
    background: #f8fafc;
}

.zsao-table--history tbody tr:last-child td {
    border-bottom: none;
}

/* Status badge in history */
.zsao-table--history .zsao-status-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
}

/* ─── Trial banner ───────────────────────────────────────────────────────── */

.zsao-trial-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.zsao-trial-banner::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -10%;
	width: 200px;
	height: 200px;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
	pointer-events: none;
}

.zsao-trial-banner__icon {
	font-size: 2rem;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

.zsao-trial-banner__content {
	flex: 1;
	min-width: 0;
}

.zsao-trial-banner__title {
	margin: 0 0 4px;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

.zsao-trial-banner__desc {
	margin: 0;
	font-size: .875rem;
	opacity: .9;
	line-height: 1.4;
}

.zsao-trial-banner__cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	background: #fff;
	color: #764ba2;
	border: none;
	border-radius: 8px;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	white-space: nowrap;
}

.zsao-trial-banner__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.zsao-trial-banner__cta:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

@media (max-width: 600px) {
	.zsao-trial-banner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
	.zsao-trial-banner__cta {
		width: 100%;
		justify-content: center;
	}
}

/* ─── Trial badge ────────────────────────────────────────────────────────── */

.zsao-trial-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
}

/* ─── Auto-renewal toggle ────────────────────────────────────────────────── */

.zsao-auto-renew {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #f8f9fa;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	margin-top: 4px;
}

.zsao-auto-renew__label {
	font-size: .9rem;
	font-weight: 600;
	color: #333;
}

.zsao-auto-renew__hint {
	font-size: .8rem;
	color: #777;
	margin-left: auto;
}

/* iOS-style toggle switch */
.zsao-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.zsao-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.zsao-toggle__slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ccc;
	border-radius: 24px;
	transition: background .25s;
}

.zsao-toggle__slider::before {
	content: '';
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .25s;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.zsao-toggle input:checked + .zsao-toggle__slider {
	background: #4caf50;
}

.zsao-toggle input:checked + .zsao-toggle__slider::before {
	transform: translateX(20px);
}

.zsao-toggle input:focus + .zsao-toggle__slider {
	box-shadow: 0 0 0 3px rgba(76,175,80,.2);
}

.zsao-toggle input:disabled + .zsao-toggle__slider {
	opacity: .5;
	cursor: not-allowed;
}

/* History table auto-renew column */
.zsao-table .zsao-auto-renew-cell {
	text-align: center;
}

/* Subscription notices */
#zsao-subscription-notices:empty { display: none; }
#zsao-subscription-notices .zsao-notice {
	animation: zsao-notice-slide-in .3s ease-out;
}
@keyframes zsao-notice-slide-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MY ORGANIZATIONS – inside RTCL My Account & Standalone
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── RTCL wrapper reset ─────────────────────────────────────────────────── */
.zsao-rtcl-tab-wrapper {
	font-family: var(--zsao-font-body, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
	color: var(--zsao-body, #515167);
	line-height: 1.5;
}

/* ─── Shell ──────────────────────────────────────────────────────────────── */
.zsao-myaccount-shell {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ─── Notice ─────────────────────────────────────────────────────────────── */
.zsao-notice-success,
.zsao-notice.zsao-notice-success {
	background: #ecfdf5;
	color: #166534;
	border: 1px solid #bbf7d0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 600;
}
.zsao-notice-info,
.zsao-notice.zsao-notice-info {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: .9rem;
}

/* ─── Top bar ────────────────────────────────────────────────────────────── */
.zsao-myaccount-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.zsao-myaccount-topbar__left {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.zsao-myaccount-title {
	margin: 0;
	font-family: var(--zsao-font-heading, inherit);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
	line-height: 1.3;
}
.zsao-myaccount-subtitle {
	margin: 0;
	font-size: .875rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-myaccount-planbar {
	background: var(--zsao-bg-soft, #f8f9fa);
	padding: 16px 20px;
	border-radius: 12px;
	border: 1px solid var(--zsao-border, #e5e7eb);
}

/* ─── Section nav chips ──────────────────────────────────────────────────── */
.zsao-myaccount-section-nav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.zsao-chip-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	background: var(--zsao-bg-soft, #f8f9fa);
	color: var(--zsao-body, #515167);
	border: 1px solid var(--zsao-border, #e5e7eb);
	transition: background .2s, color .2s, border-color .2s;
}
.zsao-chip-nav:hover {
	background: var(--zsao-primary-light, #e6faf9);
	color: var(--zsao-primary, #02c5bd);
	border-color: var(--zsao-primary, #02c5bd);
	text-decoration: none;
}
.zsao-chip-nav__icon {
	display: inline-flex;
	flex-shrink: 0;
}
.zsao-chip-nav__icon svg {
	display: block;
}

/* ─── Stats row ──────────────────────────────────────────────────────────── */
.zsao-myaccount-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
}
.zsao-myaccount-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 16px 12px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 12px;
	text-align: center;
}
.zsao-myaccount-stat__label {
	font-size: .78rem;
	font-weight: 500;
	color: var(--zsao-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.zsao-myaccount-stat__value {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--zsao-heading, #070C3E);
}
.zsao-myaccount-stat--all .zsao-myaccount-stat__value { color: var(--zsao-primary, #02c5bd); }
.zsao-myaccount-stat--publish .zsao-myaccount-stat__value { color: #166534; }
.zsao-myaccount-stat--pending .zsao-myaccount-stat__value { color: #92400e; }
.zsao-myaccount-stat--draft .zsao-myaccount-stat__value { color: #6b7280; }

/* ─── Toolbar (tabs + search) ────────────────────────────────────────────── */
.zsao-my-orgs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.zsao-my-orgs-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.zsao-my-orgs-tabs .zsao-chip {
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.zsao-my-orgs-tabs .zsao-chip:hover {
	background: var(--zsao-primary-light, #e6faf9);
	text-decoration: none;
}
.zsao-my-orgs-tabs .zsao-chip strong {
	margin-left: 4px;
	font-weight: 800;
}
.zsao-my-orgs-search {
	display: flex;
	align-items: center;
	gap: 8px;
}
.zsao-my-orgs-search input[type="search"] {
	padding: 8px 14px;
	border: 1.5px solid var(--zsao-border, #e5e7eb);
	border-radius: 8px;
	font-family: inherit;
	font-size: .875rem;
	min-width: 180px;
	transition: border-color .2s;
}
.zsao-my-orgs-search input[type="search"]:focus {
	outline: none;
	border-color: var(--zsao-primary, #02c5bd);
	box-shadow: 0 0 0 3px rgba(2,197,189,.12);
}

/* ─── Filters summary ────────────────────────────────────────────────────── */
.zsao-myaccount-filters-summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 16px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	font-size: .85rem;
}
.zsao-myaccount-filters-summary__label {
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
}
.zsao-myaccount-filters-summary__clear {
	margin-left: auto;
	font-weight: 600;
	color: var(--zsao-primary, #02c5bd);
	text-decoration: none;
}
.zsao-myaccount-filters-summary__clear:hover {
	text-decoration: underline;
}
.zsao-chip-sm {
	padding: 2px 8px;
	font-size: .75rem;
}

/* ─── Organization card ──────────────────────────────────────────────────── */
.zsao-my-orgs-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.zsao-my-org-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 14px;
	transition: transform .25s, box-shadow .25s, opacity .3s, max-height .3s;
}
.zsao-my-org-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.zsao-my-org-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--zsao-bg-soft, #f8f9fa);
}
.zsao-my-org-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.zsao-my-org-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 28px;
	opacity: .5;
}
.zsao-my-org-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.zsao-my-org-topline {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.zsao-my-org-title {
	margin: 0;
	font-family: var(--zsao-font-heading, inherit);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
	line-height: 1.3;
}
.zsao-my-org-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.zsao-my-org-meta {
	font-size: .82rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-my-org-summary-grid {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.zsao-my-org-summary-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.zsao-my-org-summary-label {
	font-size: .72rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.zsao-my-org-summary-value {
	font-size: .85rem;
	font-weight: 600;
	color: var(--zsao-heading, #070C3E);
}
.zsao-my-org-quickstats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.zsao-my-org-quickstat {
	font-size: .8rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-my-org-excerpt {
	margin: 0;
	font-size: .83rem;
	color: var(--zsao-body, #515167);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.zsao-my-org-actions {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-self: center;
}

/* ─── Plan progress bar ──────────────────────────────────────────────────── */
.zsao-plan-progress {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.zsao-plan-progress__bar {
	width: 120px;
	height: 6px;
	background: var(--zsao-bg-soft, #f1f5f9);
	border-radius: 999px;
	overflow: hidden;
}
.zsao-plan-progress__fill {
	height: 100%;
	border-radius: 999px;
	transition: width .4s ease;
}
.zsao-plan-progress__text {
	font-size: .82rem;
	color: var(--zsao-muted, #6b7280);
	font-weight: 500;
}
.zsao-plan-feature-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: .72rem;
	padding: 2px 8px;
	background: #f0fdf4;
	color: #166534;
	border-radius: 999px;
	font-weight: 600;
}

/* ─── Drag handle ────────────────────────────────────────────────────────── */
.zsao-my-org-drag-handle {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	color: var(--zsao-muted, #9ca3af);
	cursor: grab;
	opacity: 0;
	transition: opacity .2s;
	align-self: center;
}
.zsao-my-org-card:hover .zsao-my-org-drag-handle {
	opacity: 1;
}
.zsao-my-org-drag-handle:active {
	cursor: grabbing;
}
.zsao-my-org-card.zsao-sortable-ghost {
	opacity: .4;
	box-shadow: 0 8px 30px rgba(99,102,241,.15);
}
.zsao-my-org-card.zsao-sortable-chosen {
	box-shadow: 0 8px 30px rgba(99,102,241,.12);
	transform: scale(1.01);
}

/* ─── Actions dropdown ───────────────────────────────────────────────────── */
.zsao-my-org-actions-dropdown {
	position: relative;
}
.zsao-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 8px;
	border: 1px solid var(--zsao-border, #e5e7eb);
	background: #fff;
	color: var(--zsao-muted, #6b7280);
	cursor: pointer;
	transition: background .15s, color .15s;
}
.zsao-btn-icon:hover {
	background: var(--zsao-bg-soft, #f8f9fa);
	color: var(--zsao-heading, #070C3E);
}
.zsao-actions-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0,0,0,.1);
	padding: 6px;
	z-index: 100;
}
.zsao-actions-menu.zsao-open {
	display: block;
	animation: zsaoMenuIn .15s ease;
}
@keyframes zsaoMenuIn {
	from { opacity: 0; transform: translateY(-6px) scale(.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.zsao-actions-menu-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 12px;
	font-size: .85rem;
	border-radius: 6px;
	cursor: pointer;
	border: none;
	background: none;
	color: var(--zsao-body, #515167);
	text-decoration: none;
	text-align: left;
	transition: background .12s;
}
.zsao-actions-menu-item:hover {
	background: var(--zsao-bg-soft, #f8f9fa);
}
.zsao-actions-menu-item--danger {
	color: #dc2626;
}
.zsao-actions-menu-item--danger:hover {
	background: #fef2f2;
}
.zsao-actions-menu-divider {
	border: none;
	border-top: 1px solid var(--zsao-border, #e5e7eb);
	margin: 4px 0;
}

/* ─── Copy link tooltip ──────────────────────────────────────────────────── */
.zsao-copy-link.zsao-copied::after {
	content: '✓ Копирано';
	position: absolute;
	top: -28px;
	left: 50%;
	transform: translateX(-50%);
	background: #10b981;
	color: #fff;
	font-size: .7rem;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	animation: zsaoFadeOut 1.5s forwards;
}
@keyframes zsaoFadeOut {
	0%, 70% { opacity: 1; }
	100%    { opacity: 0; }
}

/* ─── Empty state illustration ───────────────────────────────────────────── */
.zsao-empty-state-illustration {
	margin-bottom: 16px;
}
.zsao-empty-state-illustration svg {
	display: block;
	margin: 0 auto;
}

/* ─── Chip nav count ─────────────────────────────────────────────────────── */
.zsao-chip-nav__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--zsao-accent, #6366f1);
	color: #fff;
	font-size: .68rem;
	border-radius: 999px;
	margin-left: 4px;
}

/* Status badge */
.zsao-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	text-transform: capitalize;
	white-space: nowrap;
}
.zsao-status-publish { background: #dcfce7; color: #166534; }
.zsao-status-pending { background: #fef3c7; color: #92400e; }
.zsao-status-draft   { background: #f3f4f6; color: #6b7280; }
.zsao-status-new       { background: #dbeafe; color: #1e40af; }
.zsao-status-confirmed { background: #dcfce7; color: #166534; }
.zsao-status-completed { background: #ede9fe; color: #5b21b6; }
.zsao-status-cancelled { background: #fef2f2; color: #991b1b; }

/* ─── Danger button ──────────────────────────────────────────────────────── */
.zsao-btn-danger {
	background: #fef2f2;
	color: #dc2626;
	border: 1.5px solid #fecaca;
}
.zsao-btn-danger:hover {
	background: #fee2e2;
	color: #b91c1c;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.zsao-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	padding: 8px 0;
}
.zsao-pagination__item .zsao-page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--zsao-body, #515167);
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	transition: background .2s, color .2s;
}
.zsao-pagination__item .zsao-page-number:hover {
	background: var(--zsao-primary-light, #e6faf9);
	color: var(--zsao-primary, #02c5bd);
}
.zsao-pagination__item .zsao-page-number.current {
	background: var(--zsao-primary, #02c5bd);
	color: #fff;
	border-color: var(--zsao-primary, #02c5bd);
}


/* ═══════════════════════════════════════════════════════════════════════════
   BOOKING REQUEST CARDS – Manager view (inside my-organizations.php)
   ═══════════════════════════════════════════════════════════════════════════ */

.zsao-booking-dashboard {
	margin-top: 12px;
}
.zsao-booking-toolbar {
	margin-bottom: 4px;
}
.zsao-booking-stats {
	margin-bottom: 4px;
}
.zsao-booking-requests-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.zsao-booking-request-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 18px 18px 22px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 14px;
	transition: box-shadow .2s;
}
.zsao-booking-request-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.zsao-booking-request-accent {
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--zsao-primary, #02c5bd);
}
.zsao-booking-request-card--new .zsao-booking-request-accent { background: #3b82f6; }
.zsao-booking-request-card--confirmed .zsao-booking-request-accent { background: #22c55e; }
.zsao-booking-request-card--completed .zsao-booking-request-accent { background: #8b5cf6; }
.zsao-booking-request-card--cancelled .zsao-booking-request-accent { background: #ef4444; }

.zsao-booking-request-topline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.zsao-booking-request-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
}
.zsao-booking-request-meta {
	font-size: .8rem;
	color: var(--zsao-muted, #6b7280);
	margin: 2px 0 0;
}
.zsao-booking-request-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .875rem;
	color: var(--zsao-body, #515167);
}
.zsao-booking-request-line__icon {
	flex-shrink: 0;
	font-size: 1rem;
}
.zsao-booking-request-line a {
	color: var(--zsao-primary, #02c5bd);
	text-decoration: none;
}
.zsao-booking-request-line a:hover {
	text-decoration: underline;
}
.zsao-booking-request-note {
	padding: 10px 14px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	font-size: .85rem;
	color: var(--zsao-body, #515167);
	font-style: italic;
}
.zsao-booking-request-quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.zsao-booking-request-note-editor {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.zsao-booking-request-note-editor label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
}
.zsao-booking-request-note-editor textarea {
	padding: 10px 12px;
	border: 1.5px solid var(--zsao-border, #e5e7eb);
	border-radius: 10px;
	font-family: inherit;
	font-size: .85rem;
	resize: vertical;
	min-height: 60px;
	transition: border-color .2s;
}
.zsao-booking-request-note-editor textarea:focus {
	outline: none;
	border-color: var(--zsao-primary, #02c5bd);
	box-shadow: 0 0 0 3px rgba(2,197,189,.1);
}
.zsao-booking-request-note-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.zsao-booking-request-history {
	padding: 10px 14px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	font-size: .82rem;
}
.zsao-booking-request-history strong {
	display: block;
	margin-bottom: 6px;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--zsao-muted, #6b7280);
}
.zsao-booking-request-history ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.zsao-booking-request-history li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.zsao-booking-request-history small {
	color: var(--zsao-muted, #6b7280);
}
.zsao-booking-request-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--zsao-border, #e5e7eb);
}


/* ═══════════════════════════════════════════════════════════════════════════
   MY BOOKINGS – Customer view (my-bookings.php)
   ═══════════════════════════════════════════════════════════════════════════ */

.zsao-my-bookings {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Header */
.zsao-bookings-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.zsao-bookings-header-main {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.zsao-bookings-title {
	margin: 0;
	font-family: var(--zsao-font-heading, inherit);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
	display: flex;
	align-items: center;
	gap: 8px;
}
.zsao-bookings-title-icon {
	font-size: 1.2rem;
}
.zsao-bookings-subtitle {
	margin: 0;
	font-size: .875rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-bookings-header-side {
	display: flex;
	align-items: center;
	gap: 6px;
}
.zsao-bookings-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	background: var(--zsao-primary, #02c5bd);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 800;
	border-radius: 10px;
}
.zsao-bookings-badge-label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
}

/* Toolbar */
.zsao-bookings-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.zsao-bookings-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.zsao-bookings-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	background: var(--zsao-bg-soft, #f8f9fa);
	color: var(--zsao-body, #515167);
	border: 1px solid var(--zsao-border, #e5e7eb);
	transition: background .2s, color .2s, border-color .2s;
}
.zsao-bookings-filter-chip:hover {
	background: var(--zsao-primary-light, #e6faf9);
	color: var(--zsao-primary, #02c5bd);
	border-color: var(--zsao-primary, #02c5bd);
	text-decoration: none;
}
.zsao-bookings-filter-chip.is-active {
	background: var(--zsao-primary, #02c5bd);
	color: #fff;
	border-color: var(--zsao-primary, #02c5bd);
}
.zsao-bookings-filter-chip strong {
	font-weight: 800;
}

/* Search */
.zsao-bookings-search {
	display: flex;
	align-items: center;
	gap: 8px;
}
.zsao-bookings-search input[type="search"] {
	flex: 1;
	padding: 8px 14px;
	border: 1.5px solid var(--zsao-border, #e5e7eb);
	border-radius: 8px;
	font-family: inherit;
	font-size: .875rem;
	min-width: 200px;
	transition: border-color .2s;
}
.zsao-bookings-search input[type="search"]:focus {
	outline: none;
	border-color: var(--zsao-primary, #02c5bd);
	box-shadow: 0 0 0 3px rgba(2,197,189,.12);
}
.zsao-bookings-search-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 8px;
	border: 1.5px solid var(--zsao-primary, #02c5bd);
	background: transparent;
	color: var(--zsao-primary, #02c5bd);
	font-family: inherit;
	font-size: .875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.zsao-bookings-search-btn:hover {
	background: var(--zsao-primary, #02c5bd);
	color: #fff;
}
.zsao-bookings-search-reset {
	font-size: .85rem;
	font-weight: 600;
	color: var(--zsao-primary, #02c5bd);
	text-decoration: none;
	white-space: nowrap;
}
.zsao-bookings-search-reset:hover {
	text-decoration: underline;
}

/* Results meta */
.zsao-bookings-results-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px 16px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	font-size: .85rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-bookings-results-copy strong {
	color: var(--zsao-heading, #070C3E);
}
.zsao-bookings-results-page {
	font-weight: 600;
}

/* Empty state */
.zsao-bookings-empty {
	text-align: center;
	padding: 48px 24px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 14px;
}
.zsao-bookings-empty-icon {
	font-size: 40px;
	margin-bottom: 12px;
}
.zsao-bookings-empty h3 {
	margin: 0 0 8px;
	font-family: var(--zsao-font-heading, inherit);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
}
.zsao-bookings-empty p {
	margin: 0;
	font-size: .875rem;
	color: var(--zsao-muted, #6b7280);
}

/* Booking cards list */
.zsao-bookings-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Individual booking card */
.zsao-booking-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 20px 20px 24px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 14px;
	transition: box-shadow .2s;
}
.zsao-booking-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

/* Color stripe */
.zsao-booking-stripe {
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--zsao-primary, #02c5bd);
}
.zsao-booking-status-new .zsao-booking-stripe { background: #3b82f6; }
.zsao-booking-status-pending .zsao-booking-stripe { background: #f59e0b; }
.zsao-booking-status-confirmed .zsao-booking-stripe { background: #22c55e; }
.zsao-booking-status-publish .zsao-booking-stripe { background: #22c55e; }
.zsao-booking-status-completed .zsao-booking-stripe { background: #8b5cf6; }
.zsao-booking-status-cancelled .zsao-booking-stripe { background: #ef4444; }
.zsao-booking-status-trash .zsao-booking-stripe { background: #ef4444; }

/* Header row */
.zsao-booking-head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.zsao-booking-thumb {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--zsao-bg-soft, #f8f9fa);
}
.zsao-booking-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.zsao-booking-thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.zsao-booking-org-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.zsao-booking-org-name {
	font-weight: 700;
	font-size: .95rem;
	color: var(--zsao-heading, #070C3E);
	text-decoration: none;
}
.zsao-booking-org-name:hover {
	color: var(--zsao-primary, #02c5bd);
}
.zsao-booking-id {
	font-size: .78rem;
	color: var(--zsao-muted, #6b7280);
}
.zsao-booking-meta-inline {
	font-size: .78rem;
	color: var(--zsao-muted, #6b7280);
}

/* Status pill */
.zsao-booking-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
}
.zsao-booking-status-icon { font-size: .9rem; }
.zsao-booking-status-pill--new       { background: #dbeafe; color: #1e40af; }
.zsao-booking-status-pill--pending   { background: #fef3c7; color: #92400e; }
.zsao-booking-status-pill--confirmed { background: #dcfce7; color: #166534; }
.zsao-booking-status-pill--publish   { background: #dcfce7; color: #166534; }
.zsao-booking-status-pill--completed { background: #ede9fe; color: #5b21b6; }
.zsao-booking-status-pill--cancelled { background: #fef2f2; color: #991b1b; }
.zsao-booking-status-pill--trash     { background: #fef2f2; color: #991b1b; }

/* Details row */
.zsao-booking-details {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.zsao-booking-detail-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.zsao-booking-detail-icon {
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 1px;
}
.zsao-booking-detail-label {
	display: block;
	font-size: .72rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: .03em;
}
.zsao-booking-detail-value {
	display: block;
	font-size: .875rem;
	font-weight: 600;
	color: var(--zsao-heading, #070C3E);
}

/* Updated at */
.zsao-booking-updated-at {
	font-size: .78rem;
	color: var(--zsao-muted, #6b7280);
	font-style: italic;
}

/* Status history */
.zsao-booking-history {
	padding: 12px 16px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
}
.zsao-booking-history-title {
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--zsao-muted, #6b7280);
	margin-bottom: 8px;
}
.zsao-booking-history-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.zsao-booking-history-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .82rem;
}
.zsao-booking-history-dot {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: 5px;
	border-radius: 50%;
	background: var(--zsao-primary, #02c5bd);
}
.zsao-booking-history-body strong {
	display: block;
	font-weight: 600;
	color: var(--zsao-heading, #070C3E);
}
.zsao-booking-history-body small {
	color: var(--zsao-muted, #6b7280);
}

/* Note */
.zsao-booking-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 14px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	font-size: .85rem;
}
.zsao-booking-note-icon {
	font-size: 1rem;
	flex-shrink: 0;
}
.zsao-booking-note p {
	margin: 0;
	color: var(--zsao-body, #515167);
}

/* Card actions */
.zsao-booking-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Cancel footer */
.zsao-cbc-footer {
	padding-top: 8px;
	border-top: 1px solid var(--zsao-border, #e5e7eb);
}

/* Bookings pagination */
.zsao-bookings-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	padding: 8px 0;
}
.zsao-bookings-pagination-item .zsao-page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--zsao-body, #515167);
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	transition: background .2s, color .2s;
}
.zsao-bookings-pagination-item .zsao-page-number:hover {
	background: var(--zsao-primary-light, #e6faf9);
	color: var(--zsao-primary, #02c5bd);
}
.zsao-bookings-pagination-item .zsao-page-number.current {
	background: var(--zsao-primary, #02c5bd);
	color: #fff;
	border-color: var(--zsao-primary, #02c5bd);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RTCL My Account – Menu icon helpers
   ═══════════════════════════════════════════════════════════════════════════ */
.zsao-menu-link-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 6px;
}
.zsao-menu-link-icon svg {
	display: block;
}
.zsao-menu-link-label {
	/* ensure text doesn't wrap oddly */
}

/* ─── Bookings Stats Mini Row ────────────────────────────────────────────── */
.zsao-bookings-stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}
.zsao-bookings-stat-mini {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 10px;
	border-left: 3px solid var(--stat-color, #6366f1);
	transition: box-shadow .2s;
}
.zsao-bookings-stat-mini:hover {
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.zsao-bookings-stat-mini__icon {
	font-size: 1.1rem;
	flex-shrink: 0;
}
.zsao-bookings-stat-mini__num {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
}
.zsao-bookings-stat-mini__label {
	font-size: .75rem;
	color: var(--zsao-muted, #6b7280);
	font-weight: 500;
}

/* ─── Booking details grid ───────────────────────────────────────────────── */
.zsao-booking-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 12px 16px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
}
.zsao-booking-detail-cell {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.zsao-booking-detail-cell__icon {
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 2px;
}
.zsao-booking-detail-cell__body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.zsao-booking-detail-cell__label {
	font-size: .7rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: .03em;
}
.zsao-booking-detail-cell__value {
	font-size: .85rem;
	font-weight: 600;
	color: var(--zsao-heading, #070C3E);
}

/* ─── Booking meta row ───────────────────────────────────────────────────── */
.zsao-booking-meta-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.zsao-booking-meta-sep {
	color: var(--zsao-border, #d1d5db);
}

/* ─── Booking history toggle (collapsible) ───────────────────────────────── */
.zsao-booking-history-toggle {
	border-radius: 10px;
	overflow: hidden;
}
.zsao-booking-history-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--zsao-muted, #6b7280);
	cursor: pointer;
	background: var(--zsao-bg-soft, #f8f9fa);
	border-radius: 10px;
	transition: background .15s;
	list-style: none;
}
.zsao-booking-history-summary::-webkit-details-marker {
	display: none;
}
.zsao-booking-history-summary:hover {
	background: #f1f5f9;
}
.zsao-booking-history-summary svg {
	transition: transform .2s;
}
.zsao-booking-history-toggle[open] .zsao-booking-history-summary svg {
	transform: rotate(180deg);
}
.zsao-booking-history-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--zsao-border, #e5e7eb);
	color: var(--zsao-muted, #6b7280);
	font-size: .68rem;
	border-radius: 999px;
	margin-left: 2px;
}
.zsao-booking-history-toggle .zsao-booking-history {
	border-radius: 0 0 10px 10px;
	margin-top: 0;
	padding-top: 8px;
}

/* ─── Booking card footer ────────────────────────────────────────────────── */
.zsao-booking-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1px solid var(--zsao-border, #e5e7eb);
}
.zsao-booking-card-footer .zsao-booking-updated-at {
	margin: 0;
}
.zsao-booking-card-footer .zsao-booking-card-actions {
	margin-left: auto;
}

/* ─── Upcoming card glow ─────────────────────────────────────────────────── */
.zsao-booking-card--upcoming {
	border-color: #bfdbfe;
	box-shadow: 0 0 0 1px rgba(59,130,246,.1), 0 2px 12px rgba(59,130,246,.06);
}
.zsao-booking-card--upcoming::before {
	content: '📌';
	position: absolute;
	top: -8px;
	right: 16px;
	font-size: .9rem;
	background: #fff;
	padding: 0 4px;
}

/* ─── Extra small button variant ─────────────────────────────────────────── */
.zsao-btn-xs {
	padding: 4px 10px;
	font-size: .75rem;
	border-radius: 6px;
}
.zsao-btn-danger-outline {
	color: #dc2626;
	border-color: #fecaca;
	background: #fff;
}
.zsao-btn-danger-outline:hover {
	background: #fef2f2;
	border-color: #dc2626;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Responsive – My Account templates
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
	.zsao-my-org-card {
		flex-direction: column;
	}
	.zsao-my-org-thumb {
		width: 100%;
		height: 160px;
	}
	.zsao-my-org-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-self: stretch;
	}
	.zsao-myaccount-topbar {
		flex-direction: column;
		align-items: flex-start;
	}
	.zsao-my-orgs-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.zsao-my-orgs-search {
		width: 100%;
	}
	.zsao-my-orgs-search input[type="search"] {
		flex: 1;
		min-width: 0;
	}
	.zsao-booking-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.zsao-booking-details {
		flex-direction: column;
		gap: 10px;
	}
	.zsao-booking-details-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.zsao-bookings-stats-row {
		grid-template-columns: repeat(2, 1fr);
	}
	.zsao-booking-card-footer {
		flex-direction: column;
		align-items: flex-start;
	}
	.zsao-booking-card-footer .zsao-booking-card-actions {
		margin-left: 0;
		width: 100%;
	}
	.zsao-bookings-search {
		flex-direction: column;
		align-items: stretch;
	}
	.zsao-bookings-search input[type="search"] {
		min-width: 0;
	}
	.zsao-bookings-header {
		flex-direction: column;
	}
	.zsao-myaccount-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.zsao-myaccount-stats {
		grid-template-columns: 1fr 1fr;
	}
	.zsao-my-org-summary-grid {
		flex-direction: column;
		gap: 6px;
	}
}


/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTION PAGE – Premium Redesign (zsao-sub-* classes)
   ═══════════════════════════════════════════════════════════════════════════ */

.zsao-sub {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ─── Hero / Current Plan ────────────────────────────────────────────────── */
.zsao-sub-hero {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 28px 32px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #d1fae5 100%);
	border-radius: 18px;
	color: #1a1a2e;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1);
	border: 1px solid #bbf7d0;
}
.zsao-sub-hero::after {
	content: '';
	position: absolute;
	top: -60%;
	right: -15%;
	width: 280px;
	height: 280px;
	background: var(--plan-color, #6b7280);
	opacity: .12;
	border-radius: 50%;
	pointer-events: none;
}
.zsao-sub-hero__icon {
	font-size: 2.8rem;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
	z-index: 1;
}
.zsao-sub-hero__info {
	flex: 1;
	min-width: 0;
	z-index: 1;
}
.zsao-sub-hero__label {
	display: block;
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #4ade80;
	margin-bottom: 4px;
}
.zsao-sub-hero__plan {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.2;
}
.zsao-sub-hero__price {
	display: block;
	margin-top: 6px;
	font-size: 1.1rem;
	font-weight: 700;
	opacity: .9;
}
.zsao-sub-hero__price small {
	font-weight: 400;
	opacity: .6;
	font-size: .85rem;
}

.zsao-sub-price-dual {
	display: block;
	margin-top: 3px;
	font-size: .76rem;
	font-weight: 650;
	opacity: .72;
}
.zsao-sub-hero__status {
	z-index: 1;
	flex-shrink: 0;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.zsao-sub-hero__status--active    { background: #dcfce7; color: #166534; }
.zsao-sub-hero__status--trial     { background: #ede9fe; color: #5b21b6; }
.zsao-sub-hero__status--expired   { background: #fef3c7; color: #92400e; }
.zsao-sub-hero__status--cancelled { background: #fef2f2; color: #991b1b; }

/* ─── Section Titles ─────────────────────────────────────────────────────── */
.zsao-sub-section-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 4px;
}
.zsao-sub-section-subtitle {
	font-size: .88rem;
	color: #6b7280;
	margin: 0 0 4px;
}

/* ─── Usage Section ──────────────────────────────────────────────────────── */
.zsao-sub-usage-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.zsao-sub-meters {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 16px;
}
.zsao-sub-meter {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.zsao-sub-meter__top {
	display: flex;
	align-items: center;
	gap: 8px;
}
.zsao-sub-meter__icon {
	font-size: 1.1rem;
}
.zsao-sub-meter__label {
	flex: 1;
	font-size: .9rem;
	font-weight: 600;
	color: #374151;
}
.zsao-sub-meter__count {
	font-size: .88rem;
	color: #6b7280;
}
.zsao-sub-meter__count strong {
	color: #1a1a2e;
	font-weight: 800;
}
.zsao-sub-meter__bar {
	width: 100%;
	height: 10px;
	background: #f1f5f9;
	border-radius: 6px;
	overflow: hidden;
}
.zsao-sub-meter__bar-fill {
	height: 100%;
	border-radius: 6px;
	background: linear-gradient(90deg, #4caf50, #66bb6a);
	transition: width .6s ease;
	min-width: 4px;
}
.zsao-sub-meter__bar-fill--warning {
	background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.zsao-sub-meter__bar-fill--danger {
	background: linear-gradient(90deg, #ef4444, #f87171);
}
.zsao-sub-meter__bar-fill--unlimited {
	background: linear-gradient(90deg, #8b5cf6, #a78bfa);
	opacity: .5;
}

/* ─── Subscription Details ───────────────────────────────────────────────── */
.zsao-sub-details-section {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 16px 20px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}
.zsao-sub-detail {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .88rem;
	color: #555;
}
.zsao-sub-detail__icon {
	font-size: 1rem;
	flex-shrink: 0;
}
.zsao-sub-detail strong {
	color: #1a1a2e;
}

.zsao-sub-support {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid #ffd9ad;
	border-radius: 14px;
	background: linear-gradient(135deg, #fffaf4 0%, #fff3e2 100%);
}
.zsao-sub-support__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(232, 121, 0, .12);
	font-size: 1.35rem;
}
.zsao-sub-support__copy {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}
.zsao-sub-support__copy strong {
	color: #101342;
	font-size: .98rem;
}
.zsao-sub-support__copy span {
	color: #686b7e;
	font-size: .84rem;
	line-height: 1.5;
}
.zsao-sub-support__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 10px;
	background: #ff8500;
	color: #fff !important;
	font-size: .84rem;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}
.zsao-sub-support__button:hover {
	background: #e87900;
	color: #fff !important;
}

/* ─── Trial Banner ───────────────────────────────────────────────────────── */
.zsao-sub-trial {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 16px;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
}
.zsao-sub-trial::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 260px;
	height: 260px;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
	pointer-events: none;
}
.zsao-sub-trial__icon {
	font-size: 2.5rem;
	flex-shrink: 0;
	z-index: 1;
}
.zsao-sub-trial__body {
	flex: 1;
	min-width: 0;
	z-index: 1;
}
.zsao-sub-trial__body h3 {
	margin: 0 0 4px;
	font-size: 1.1rem;
	font-weight: 700;
}
.zsao-sub-trial__body p {
	margin: 0;
	font-size: .88rem;
	opacity: .9;
}
.zsao-sub-trial__btn {
	z-index: 1;
	flex-shrink: 0;
	background: #fff;
	color: #764ba2;
	border: none;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s, box-shadow .15s;
}
.zsao-sub-trial__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* ─── Plans Section ──────────────────────────────────────────────────────── */
.zsao-sub-plans-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.zsao-sub-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 12px;
}

/* ─── Plan Card ──────────────────────────────────────────────────────────── */
.zsao-sub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	padding: 28px 22px 22px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	overflow: hidden;
}
.zsao-sub-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--card-accent, #e5e7eb);
}
.zsao-sub-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 36px rgba(0,0,0,.08);
	border-color: var(--card-accent, #4caf50);
}

/* Current */
.zsao-sub-card--current {
	border-color: var(--card-accent, #4caf50);
	background: linear-gradient(180deg, #f0fdf4 0%, #fff 60%);
}

/* Popular */
.zsao-sub-card--popular {
	border-color: var(--card-accent, #8b5cf6);
	box-shadow: 0 4px 24px rgba(139, 92, 246, 0.15);
}

/* Ribbon */
.zsao-sub-card__ribbon {
	position: absolute;
	top: 12px;
	right: -2px;
	padding: 4px 14px 4px 10px;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #fff;
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-radius: 4px 0 0 4px;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.zsao-sub-card__ribbon--current {
	background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Head */
.zsao-sub-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}
.zsao-sub-card__icon {
	font-size: 1.8rem;
}
.zsao-sub-card__name {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	color: #1a1a2e;
}

/* Price */
.zsao-sub-card__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	padding: 10px 0 14px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 8px;
}
.zsao-sub-card__amount {
	font-size: 1.8rem;
	font-weight: 900;
	color: #1a1a2e;
	line-height: 1;
}
.zsao-sub-card__period {
	font-size: .82rem;
	color: #888;
	font-weight: 500;
}

.zsao-sub-card__dual-price {
	margin-left: auto;
	color: #8a8d9d;
	font-size: .7rem;
	font-weight: 650;
	white-space: nowrap;
}

.zsao-sub-card__audience {
	min-height: 42px;
	margin: 0 0 4px;
	color: #6b7280;
	font-size: .82rem;
	font-weight: 600;
	line-height: 1.5;
}

.zsao-sub-card__promise {
	margin: 0 0 14px;
	color: #34384b;
	font-size: .88rem;
	font-weight: 650;
	line-height: 1.55;
}

.zsao-sub-card__limits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.zsao-sub-card__limits span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #f8fafc;
	color: #53586d;
	font-size: .75rem;
	font-weight: 750;
}

/* Features */
.zsao-sub-card__features {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .85rem;
	color: #374151;
	flex: 1;
}
.zsao-sub-card__feature {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
}
.zsao-sub-card__feature--no {
	opacity: .4;
	color: #9ca3af;
}
.zsao-sub-card__check {
	flex-shrink: 0;
	width: 20px;
	text-align: center;
	font-size: .85rem;
}

.zsao-sub-card__feature:not(.zsao-sub-card__feature--no) .zsao-sub-card__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dcfce7;
	color: #15803d;
	font-size: .72rem;
	font-weight: 900;
}

/* Value-first subscription introduction. */
.zsao-sub-value {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
	gap: 26px;
	align-items: center;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
}

.zsao-sub-value__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #e87900;
	font-size: .73rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.zsao-sub-value__copy h2 {
	margin: 0 0 10px;
	color: #101342;
	font-size: clamp(1.35rem, 2.3vw, 1.85rem);
	font-weight: 850;
	line-height: 1.22;
}

.zsao-sub-value__copy p {
	margin: 0;
	color: #64687d;
	line-height: 1.65;
}

.zsao-sub-value__benefits {
	display: grid;
	gap: 10px;
}

.zsao-sub-benefit {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 11px 13px;
	border: 1px solid #eceef3;
	border-radius: 13px;
	background: #f8f9fc;
}

.zsao-sub-benefit > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff1dd;
	font-size: 1.15rem;
}

.zsao-sub-benefit strong,
.zsao-sub-benefit small {
	display: block;
}

.zsao-sub-benefit strong {
	margin-bottom: 2px;
	color: #101342;
	font-size: .9rem;
}

.zsao-sub-benefit small {
	color: #71758a;
	font-size: .76rem;
	line-height: 1.4;
}

.zsao-sub-assurance {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 16px;
	padding: 14px 18px;
	border: 1px solid #e7e9ef;
	border-radius: 13px;
	background: #f8f9fc;
	color: #575c72;
	font-size: .8rem;
	font-weight: 700;
}

/* Footer / CTA */
.zsao-sub-card__footer {
	margin-top: 16px;
}
.zsao-sub-plan-form {
	width: 100%;
	margin: 0;
}
.zsao-sub-card__btn {
	display: block;
	width: 100%;
	padding: 12px 20px;
	border-radius: 10px;
	font-size: .88rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, box-shadow .2s, transform .2s;
	border: none;
	box-sizing: border-box;
}
.zsao-sub-card__btn--upgrade {
	background: var(--card-accent, #4caf50);
	color: #fff;
}
.zsao-sub-card__btn--upgrade:hover {
	opacity: .9;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.zsao-sub-card--popular .zsao-sub-card__btn--upgrade {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.zsao-sub-card__btn--switch {
	background: transparent;
	color: var(--card-accent, #4caf50);
	border: 2px solid var(--card-accent, #4caf50);
}
.zsao-sub-card__btn--switch:hover {
	background: var(--card-accent, #4caf50);
	color: #fff;
}
.zsao-sub-card__btn--current {
	background: #dcfce7;
	color: #166534;
	cursor: default;
	pointer-events: none;
	font-weight: 700;
}
.zsao-sub-card__btn--disabled {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
	pointer-events: none;
	font-weight: 600;
	border: 1px solid #e5e7eb;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.zsao-sub-value {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.zsao-sub-hero {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
	}
	.zsao-sub-hero__status {
		align-self: center;
	}
	.zsao-sub-trial {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
	.zsao-sub-trial__btn {
		width: 100%;
	}
	.zsao-sub-plans {
		grid-template-columns: 1fr;
	}
	.zsao-sub-details-section {
		flex-direction: column;
	}
	.zsao-sub-support {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.zsao-sub-support__button {
		width: 100%;
	}
}
@media (max-width: 480px) {
	.zsao-sub-hero { padding: 20px 16px; }
	.zsao-sub-usage-section { padding: 20px; }
}

/* ─── RTCL My Account navigation icons for ZSAO endpoints ───────────────── */

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--zsao-organizations a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23BEBEBE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M3 7v1a3 3 0 0 0 6 0V7m0 1a3 3 0 0 0 6 0V7m0 1a3 3 0 0 0 6 0V7H3l2-4h14l2 4'/%3E%3Cpath d='M5 21V10.85'/%3E%3Cpath d='M19 21V10.85'/%3E%3Cpath d='M9 21v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23BEBEBE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M3 7v1a3 3 0 0 0 6 0V7m0 1a3 3 0 0 0 6 0V7m0 1a3 3 0 0 0 6 0V7H3l2-4h14l2 4'/%3E%3Cpath d='M5 21V10.85'/%3E%3Cpath d='M19 21V10.85'/%3E%3Cpath d='M9 21v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E");
	height: 18px;
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--zsao-bookings a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23BEBEBE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23BEBEBE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E");
	height: 18px;
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--zsao-subscription a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23BEBEBE' stroke='none'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23BEBEBE' stroke='none'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	height: 18px;
}

/* ─── My Organizations – Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
	.zsao-my-org-drag-handle {
		display: none;
	}
	.zsao-my-org-card {
		padding: 14px;
		gap: 12px;
	}
	.zsao-plan-progress__bar {
		width: 90px;
	}
	.zsao-plan-progress {
		gap: 8px;
	}
	.zsao-actions-menu {
		right: -8px;
	}
}
@media (max-width: 480px) {
	.zsao-plan-progress {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.zsao-plan-progress__bar {
		width: 100%;
	}
}

/* ─── Dashboard Stats Panel ──────────────────────────────────────────────── */
.zsao-dashboard-stats-panel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-bottom: 20px;
}
.zsao-analytics-locked {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	margin-bottom: 20px;
	border: 1px solid #dfe2f1;
	border-radius: 14px;
	background: linear-gradient(135deg, #f8f8ff 0%, #fff 70%);
}
.zsao-analytics-locked__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 12px;
	background: #eceeff;
	font-size: 1.25rem;
}
.zsao-analytics-locked > div:nth-child(2) {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}
.zsao-analytics-locked strong {
	color: var(--zsao-heading, #070C3E);
}
.zsao-analytics-locked span {
	color: var(--zsao-muted, #6b7280);
	font-size: .84rem;
}
@media (max-width: 720px) {
	.zsao-analytics-locked {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.zsao-analytics-locked .zsao-btn {
		width: 100%;
	}
}
.zsao-dash-stat-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 12px;
	transition: box-shadow .2s;
}
.zsao-dash-stat-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.zsao-dash-stat-card__icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}
.zsao-dash-stat-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.zsao-dash-stat-card__value {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--zsao-heading, #070C3E);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.zsao-dash-stat-card__label {
	font-size: .75rem;
	color: var(--zsao-muted, #6b7280);
	font-weight: 500;
}

/* ─── Status Toggle ──────────────────────────────────────────────────────── */
.zsao-status-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	flex-shrink: 0;
}
.zsao-status-toggle__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.zsao-status-toggle__track {
	width: 36px;
	height: 20px;
	background: #d1d5db;
	border-radius: 999px;
	position: relative;
	transition: background .25s;
}
.zsao-status-toggle__track::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: transform .25s;
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.zsao-status-toggle__input:checked + .zsao-status-toggle__track {
	background: #10b981;
}
.zsao-status-toggle__input:checked + .zsao-status-toggle__track::after {
	transform: translateX(16px);
}
.zsao-status-toggle__input:disabled + .zsao-status-toggle__track {
	opacity: .5;
	cursor: not-allowed;
}

/* ─── Inline Edit ────────────────────────────────────────────────────────── */
[data-zsao-inline-edit] {
	cursor: text;
	border-bottom: 1px dashed transparent;
	transition: border-color .2s, background .2s;
	border-radius: 4px;
	padding: 1px 4px;
	margin: -1px -4px;
}
[data-zsao-inline-edit]:hover {
	border-bottom-color: var(--zsao-accent, #6366f1);
	background: rgba(99,102,241,.04);
}
.zsao-inline-editing {
	outline: 2px solid var(--zsao-accent, #6366f1) !important;
	background: #fff !important;
	border-bottom-color: transparent !important;
	border-radius: 6px;
	padding: 4px 8px;
	min-width: 120px;
}

/* ─── Bulk Actions Toolbar ───────────────────────────────────────────────── */
.zsao-bulk-toolbar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	background: var(--zsao-bg-soft, #f8f9fa);
	border: 1px solid var(--zsao-border, #e5e7eb);
	border-radius: 10px;
	margin-bottom: 10px;
	animation: zsaoSlideDown .2s ease;
}
@keyframes zsaoSlideDown {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.zsao-bulk-select-all {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .85rem;
	cursor: pointer;
	font-weight: 500;
	color: var(--zsao-body, #515167);
}
.zsao-bulk-select-all input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--zsao-accent, #6366f1);
}
.zsao-bulk-count {
	font-size: .82rem;
	color: var(--zsao-muted, #6b7280);
	font-weight: 500;
}
.zsao-bulk-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}
.zsao-bulk-checkbox {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--zsao-accent, #6366f1);
	cursor: pointer;
	align-self: center;
	opacity: 0;
	transition: opacity .2s;
}
.zsao-my-org-card:hover .zsao-bulk-checkbox,
.zsao-bulk-checkbox:checked {
	opacity: 1;
}
.zsao-my-orgs-list.zsao-bulk-mode .zsao-bulk-checkbox {
	opacity: 1;
}

/* ─── Dashboard Stats Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
	.zsao-dashboard-stats-panel {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.zsao-dash-stat-card {
		padding: 12px 14px;
	}
	.zsao-bulk-toolbar {
		flex-wrap: wrap;
		gap: 10px;
	}
	.zsao-bulk-actions {
		width: 100%;
		margin-left: 0;
	}
}
@media (max-width: 480px) {
	.zsao-dashboard-stats-panel {
		grid-template-columns: 1fr;
	}
}
