/* ---------- Layout ---------- */
.cpt-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 2rem 0;
}
@media (max-width: 640px) {
	.cpt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cpt-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid #e6e4de;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.cpt-card:hover {
	border-color: #a9a79f;
	transform: translateY(-2px);
}
.cpt-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.cpt-card-title { font-weight: 600; font-size: 15px; }
.cpt-card-count { font-size: 13px; color: #78766f; }

/* ---------- Hero ---------- */
.cpt-hero {
	text-align: center;
	padding: 56px 24px;
	border-radius: 16px;
	margin-bottom: 32px;
}
.cpt-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255,255,255,0.35);
	font-size: 26px;
	margin-bottom: 16px;
}
.cpt-hero h1 { font-size: 32px; font-weight: 600; margin: 0 0 8px; }
.cpt-hero p { font-size: 15px; margin: 0; opacity: 0.9; }

/* ---------- Tool grid ---------- */
.cpt-tool-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 900px) {
	.cpt-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cpt-tool-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	border: 1px solid #e6e4de;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease;
}
.cpt-tool-card:hover { border-color: #a9a79f; }
.cpt-tool-card i { font-size: 20px; color: #78766f; }
.cpt-tool-name { font-weight: 600; font-size: 14px; }

.cpt-badge {
	display: inline-block;
	width: fit-content;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 6px;
}
.cpt-badge-free { background: #e1f0e3; color: #1c6b30; }
.cpt-badge-paid { background: #e6f1fb; color: #0c447c; }

/* ---------- Tool UI (Guest List and future tools share these classes) ---------- */
.cpt-tool-mount {
	margin-top: 24px;
	padding: 24px;
	border: 1px solid #e6e4de;
	border-radius: 12px;
}

.cpt-tool-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
}
.cpt-tool-heading { font-size: 17px; font-weight: 600; margin: 0 0 2px; }
.cpt-tool-subheading { font-size: 13px; color: #78766f; margin: 0; }

.cpt-stat-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
@media (max-width: 640px) {
	.cpt-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cpt-stat {
	background: #f7f6f2;
	border-radius: 8px;
	padding: 14px;
}
.cpt-stat-label { font-size: 12px; color: #78766f; margin: 0 0 4px; }
.cpt-stat-value { font-size: 22px; font-weight: 600; margin: 0; }

.cpt-add-guest-form {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.cpt-add-guest-form input {
	flex: 1;
	min-width: 160px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #d8d6cf;
	border-radius: 8px;
	font-size: 14px;
}
.cpt-add-guest-form button {
	height: 38px;
	padding: 0 18px;
	border: none;
	border-radius: 8px;
	background: #1a1a18;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.cpt-add-guest-form button:hover { opacity: 0.9; }

.cpt-guest-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cpt-guest-table th {
	text-align: left;
	font-size: 12px;
	color: #78766f;
	font-weight: 600;
	padding: 8px 10px;
	border-bottom: 1px solid #e6e4de;
}
.cpt-guest-table td {
	padding: 10px;
	border-bottom: 1px solid #efeee9;
	vertical-align: middle;
}
.cpt-guest-table select {
	height: 32px;
	border-radius: 6px;
	border: 1px solid #d8d6cf;
	font-size: 13px;
	padding: 0 8px;
}
.cpt-remove-guest {
	background: none;
	border: none;
	cursor: pointer;
	color: #a3a19a;
	font-size: 16px;
	padding: 4px;
}
.cpt-remove-guest:hover { color: #b32d2e; }

.cpt-badge-pending { background: #faeeda; color: #633806; }
.cpt-badge-declined { background: #fcebeb; color: #791f1f; }

.cpt-empty-state { color: #78766f; font-size: 14px; text-align: center; padding: 24px 0; }

.cpt-vendor-input {
	width: 100%;
	min-width: 100px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 13px;
}
.cpt-vendor-cost { width: 80px; min-width: 80px; }
.cpt-vendor-select {
	height: 32px;
	border-radius: 6px;
	border: 1px solid #d8d6cf;
	font-size: 13px;
	padding: 0 6px;
}
.cpt-add-guest-form select {
	height: 38px;
	border-radius: 8px;
	border: 1px solid #d8d6cf;
	font-size: 14px;
	padding: 0 10px;
}

/* ---------- Budget calculator ---------- */
.cpt-budget-total-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}
.cpt-budget-total-row label { font-size: 13px; color: #78766f; }
.cpt-budget-total-row input {
	width: 160px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #d8d6cf;
	border-radius: 8px;
	font-size: 14px;
}
.cpt-budget-categories { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.cpt-budget-row { display: flex; align-items: center; gap: 10px; }
.cpt-budget-cat-name {
	width: 150px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 13px;
	flex-shrink: 0;
}
.cpt-budget-cat-slider { flex: 1; }
.cpt-budget-cat-amount { width: 80px; text-align: right; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.cpt-add-category-btn {
	background: none;
	border: 1px dashed #d8d6cf;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	color: #5f5e5a;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.cpt-add-category-btn:hover { border-color: #a9a79f; }
.cpt-budget-bar-track {
	height: 8px;
	background: #f1efe8;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 16px;
}
.cpt-budget-bar-fill { height: 100%; transition: width 0.15s ease; }

/* ---------- Checklist ---------- */
.cpt-checklist-progress-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
}
.cpt-checklist-progress-label { font-size: 13px; color: #78766f; }
.cpt-checklist-progress-pct { font-size: 14px; font-weight: 600; }
.cpt-checklist-list { display: flex; flex-direction: column; gap: 4px; }
.cpt-checklist-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: 8px;
}
.cpt-checklist-item:hover { background: #f7f6f2; }
.cpt-checklist-checkbox { width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.cpt-checklist-text { flex: 1; font-size: 14px; }
.cpt-checklist-item-done .cpt-checklist-text { text-decoration: line-through; color: #a3a19a; }

/* ---------- Countdown ---------- */
.cpt-countdown-date-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.cpt-countdown-date-row label { font-size: 13px; color: #78766f; }
.cpt-countdown-date-row input {
	height: 38px;
	padding: 0 12px;
	border: 1px solid #d8d6cf;
	border-radius: 8px;
	font-size: 14px;
}
.cpt-countdown-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}
.cpt-countdown-unit {
	background: #f7f6f2;
	border-radius: 8px;
	padding: 20px 8px;
	text-align: center;
}
.cpt-countdown-number { font-size: 32px; font-weight: 600; margin: 0 0 4px; }
.cpt-countdown-label { font-size: 12px; color: #78766f; margin: 0; text-transform: lowercase; }
.cpt-countdown-past { text-align: center; font-size: 13px; color: #78766f; margin: 0; }

/* ---------- Upsell (paid tool, no access) ---------- */
.cpt-upsell {
	margin-top: 24px;
	padding: 40px 24px;
	text-align: center;
	border: 1px solid #e6e4de;
	border-radius: 12px;
}
.cpt-upsell i { font-size: 28px; color: #78766f; margin-bottom: 12px; display: block; }
.cpt-upsell-title { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.cpt-upsell-price { font-size: 14px; color: #78766f; margin: 0 0 16px; }
.cpt-upsell-button {
	display: inline-block;
	padding: 10px 24px;
	background: #1a1a18;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.cpt-upsell-note { font-size: 13px; color: #78766f; margin: 12px 0 0; }

/* ---------- Accent colors (used on hero + card icon backgrounds) ---------- */
.cpt-color-purple { background: #eeedfe; color: #26215c; }
.cpt-color-teal    { background: #e1f5ee; color: #04342c; }
.cpt-color-coral   { background: #faece7; color: #4a1b0c; }
.cpt-color-pink    { background: #fbeaf0; color: #4b1528; }
.cpt-color-blue    { background: #e6f1fb; color: #042c53; }
.cpt-color-green   { background: #eaf3de; color: #173404; }
.cpt-color-amber   { background: #faeeda; color: #412402; }
.cpt-color-gray    { background: #f1efe8; color: #2c2c2a; }

/* ---------- Vendor comparison ---------- */
.cpt-compare-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin-top: 16px;
}
.cpt-compare-card {
	border: 1px solid #e6e4de;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cpt-compare-card-favorite { border: 2px solid #639922; }
.cpt-compare-name {
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-bottom: 1px solid #e6e4de;
	padding: 4px 0 8px;
	margin-bottom: 4px;
	width: 100%;
}
.cpt-compare-label { font-size: 11px; color: #78766f; margin-top: 6px; }
.cpt-star-row { display: flex; gap: 2px; }
.cpt-star { font-size: 18px; color: #d8d6cf; cursor: pointer; }
.cpt-star-filled { color: #ef9f27; }
.cpt-compare-notes {
	width: 100%;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 13px;
	padding: 6px 8px;
	resize: vertical;
	font-family: inherit;
}
.cpt-compare-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
}
.cpt-mark-favorite {
	background: none;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 12px;
	cursor: pointer;
}
.cpt-mark-favorite:hover { border-color: #a9a79f; }

/* ---------- Timeline generator ---------- */
.cpt-timeline {
	position: relative;
	padding-left: 24px;
}
.cpt-timeline::before {
	content: '';
	position: absolute;
	left: 5px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: #e6e4de;
}
.cpt-timeline-item {
	position: relative;
	padding-bottom: 18px;
}
.cpt-timeline-item:last-child { padding-bottom: 0; }
.cpt-timeline-dot {
	position: absolute;
	left: -24px;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d8d6cf;
	border: 2px solid #fff;
}
.cpt-timeline-done .cpt-timeline-dot { background: #639922; }
.cpt-timeline-overdue .cpt-timeline-dot { background: #e24b4a; }
.cpt-timeline-row { display: flex; align-items: center; gap: 8px; }
.cpt-timeline-checkbox { width: 16px; height: 16px; cursor: pointer; }
.cpt-timeline-title { font-size: 14px; font-weight: 500; }
.cpt-timeline-done .cpt-timeline-title { text-decoration: line-through; color: #a3a19a; }
.cpt-timeline-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; margin-left: 24px; }
.cpt-timeline-date {
	height: 30px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 12px;
	padding: 0 8px;
}

/* ---------- Day-of schedule ---------- */
.cpt-schedule-row { display: flex; align-items: center; gap: 10px; }
.cpt-schedule-time {
	font-size: 13px;
	font-weight: 600;
	background: #f7f6f2;
	border-radius: 6px;
	padding: 4px 10px;
	white-space: nowrap;
	flex-shrink: 0;
}
.cpt-schedule-title-input {
	flex: 1;
	height: 32px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 14px;
	padding: 0 8px;
}
.cpt-schedule-time-input {
	height: 30px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 12px;
	padding: 0 8px;
}
.cpt-schedule-owner-input {
	flex: 1;
	height: 30px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 12px;
	padding: 0 8px;
}

/* ---------- Seating planner ---------- */
.cpt-seating-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 20px;
	margin-top: 20px;
}
@media (max-width: 780px) {
	.cpt-seating-layout { grid-template-columns: 1fr; }
}
.cpt-seating-sidebar {
	background: #f7f6f2;
	border-radius: 12px;
	padding: 16px;
	align-self: start;
}
.cpt-seating-sidebar-title { font-size: 12px; font-weight: 600; color: #78766f; margin: 0 0 8px; }
.cpt-seating-mini-form { display: flex; gap: 6px; margin-bottom: 10px; }
.cpt-seating-mini-form input {
	flex: 1;
	height: 32px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	font-size: 13px;
	padding: 0 8px;
}
.cpt-seating-mini-form button {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 6px;
	background: #1a1a18;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.cpt-seat-chip-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 40px;
}
.cpt-seat-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	padding: 6px 8px;
	font-size: 13px;
	cursor: grab;
}
.cpt-chip-remove {
	background: none;
	border: none;
	color: #a3a19a;
	cursor: pointer;
	font-size: 13px;
	padding: 2px;
}
.cpt-seating-tables {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	align-content: start;
}
.cpt-table-card {
	border: 1px solid #e6e4de;
	border-radius: 12px;
	padding: 14px;
}
.cpt-table-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}
.cpt-table-name { font-size: 14px; font-weight: 600; flex: 1; }
.cpt-table-count { font-size: 12px; color: #78766f; }
.cpt-seat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}
.cpt-seat {
	border: 1px dashed #d8d6cf;
	border-radius: 8px;
	padding: 8px;
	font-size: 12px;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.cpt-seat-empty { color: #a3a19a; justify-content: center; }
.cpt-seat-filled {
	border-style: solid;
	background: #f7f6f2;
	cursor: grab;
}
.cpt-seat-unseat {
	background: none;
	border: none;
	color: #a3a19a;
	cursor: pointer;
	font-size: 12px;
	padding: 2px;
}

/* ---------- Bundle banner (celebration landing page) ---------- */
.cpt-bundle-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #f7f6f2;
	border: 1px solid #e6e4de;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.cpt-bundle-banner-title { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.cpt-bundle-banner-price { font-size: 13px; color: #78766f; margin: 0; }

/* ---------- Free-tool account sync note ---------- */
.cpt-sync-note {
	font-size: 12px;
	color: #78766f;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}
.cpt-sync-cta { color: #378ADD; text-decoration: underline; }
.cpt-sync-cta:hover { color: #185fa5; }

/* ---------- Export toolbar (paid tools) ---------- */
.cpt-export-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 4px 0 20px;
}
.cpt-export-label { font-size: 12px; color: #78766f; }
.cpt-export-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #d8d6cf;
	border-radius: 6px;
	background: #fff;
	font-size: 12px;
	color: #2c2c2a;
	cursor: pointer;
}
.cpt-export-btn:hover { border-color: #a9a79f; }
.cpt-export-btn:disabled { opacity: 0.6; cursor: default; }
