/* Spa Invoice Pro - Luxury Beige + Gold + Black theme */

.sip-wrap {
	--sip-gold: #b8925a;
	--sip-gold-dark: #6b4e23;
	--sip-beige: #faf6ef;
	--sip-black: #222;
	font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
	max-width: 1400px;
}

.sip-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	background: linear-gradient(135deg, #2b2621, #1a1714);
	color: #f4ead9;
	padding: 18px 24px;
	border-radius: 14px;
	margin-top: 12px;
}
.sip-topbar h1 { color: #f4ead9; font-size: 22px; margin: 0; display: flex; align-items: center; gap: 10px; }
.sip-topbar h1 i { color: var(--sip-gold); }

.sip-btn-gold {
	background: linear-gradient(135deg, #d4af74, var(--sip-gold));
	border: none;
	color: #2b2621;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 18px;
}
.sip-btn-gold:hover { background: var(--sip-gold-dark); color: #fff; }

.sip-panel {
	background: #fff;
	border: 1px solid #eee2cf;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(107,78,35,0.06);
}
.sip-panel h3 {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--sip-gold-dark);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sip-cards { margin-top: 6px; }
.sip-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #eee2cf;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
}
.sip-card-icon {
	width: 46px; height: 46px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 18px;
}
.bg-gold { background: var(--sip-gold); }
.bg-green { background: #1e8e5a; }
.bg-red { background: #c0392b; }
.bg-black { background: #222; }
.sip-card-label { font-size: 12px; color: #888; text-transform: uppercase; }
.sip-card-value { font-size: 20px; font-weight: 700; color: #2b2621; }

.sip-modal .modal-header, .sip-modal .modal-footer { border-color: #eee2cf; }
.sip-modal .modal-title { color: var(--sip-gold-dark); }

.sip-sticky-save {
	position: sticky;
	bottom: 0;
	background: rgba(255,255,255,0.97);
	backdrop-filter: blur(4px);
	padding: 14px;
	margin-top: 16px;
	border-top: 2px solid var(--sip-gold);
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	border-radius: 10px 10px 0 0;
	z-index: 50;
}

.sip-totals-table td { border: none; padding: 4px 0; }

#customerSuggestions {
	max-height: 200px;
	overflow-y: auto;
	width: 100%;
}
#customerSuggestions .list-group-item { cursor: pointer; }

.badge { text-transform: capitalize; }

@media (max-width: 782px) {
	.sip-topbar { flex-direction: column; align-items: flex-start; }
	.sip-sticky-save { flex-direction: column; }
	.sip-sticky-save .btn { width: 100%; }
}
