/* ==========================================================================
   HairAide Salon Dashboard
   ========================================================================== */

.hsf-dashboard {
	max-width: 960px;
	margin: 0 auto;
	padding: 20px 20px 60px;
	color: #2D2D2D;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.hsf-dashboard * {
	box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */

.hsf-dash-notice {
	padding: 14px 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 0.95rem;
	font-weight: 500;
}

.hsf-dash-notice-success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

.hsf-dash-notice-error {
	background: #fce4ec;
	color: #c62828;
	border: 1px solid #f8bbd0;
}


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hsf-dash-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 30px 0 20px;
	border-bottom: 2px solid #f0e8e9;
	margin-bottom: 0;
	gap: 20px;
}

.hsf-dash-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: #2D2D2D;
}

.hsf-dash-meta {
	font-size: 0.88rem;
	color: #666;
	margin: 0;
}

.hsf-dash-sep {
	margin: 0 8px;
	color: #ddd;
}

.hsf-dash-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hsf-badge-free {
	background: #e0e0e0;
	color: #666;
}

.hsf-badge-premium {
	background: #E8B4B8;
	color: #fff;
}

.hsf-badge-elite {
	background: #D4919A;
	color: #fff;
}


/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.hsf-dash-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #f0e8e9;
	margin-bottom: 30px;
}

.hsf-dash-tab {
	padding: 14px 24px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	color: #666;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: -2px;
}

.hsf-dash-tab:hover {
	color: #D4919A;
}

.hsf-dash-tab.active {
	color: #D4919A;
	border-bottom-color: #D4919A;
}


/* --------------------------------------------------------------------------
   Panels
   -------------------------------------------------------------------------- */

.hsf-dash-panel {
	display: none;
}

.hsf-dash-panel.active {
	display: block;
}


/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.hsf-dash-section {
	margin-bottom: 40px;
}

.hsf-dash-section h2 {
	font-size: 1.3rem;
	font-weight: 600;
	margin: 0 0 16px;
	color: #2D2D2D;
}

.hsf-dash-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.hsf-dash-section-header h2 {
	margin: 0;
}

.hsf-dash-count {
	font-size: 0.88rem;
	color: #999;
	font-weight: 500;
}

.hsf-dash-subtitle {
	color: #666;
	font-size: 0.95rem;
	margin: 0 0 24px;
}


/* --------------------------------------------------------------------------
   Upload Zone
   -------------------------------------------------------------------------- */

.hsf-dash-upload-zone {
	border: 2px dashed #E8B4B8;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	background: #FDF8F5;
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: 24px;
}

.hsf-dash-upload-zone:hover {
	border-color: #D4919A;
	background: #faf0f1;
}

.hsf-upload-icon {
	font-size: 2.5rem;
	margin: 0 0 8px;
}

.hsf-upload-text {
	font-size: 1rem;
	font-weight: 600;
	color: #2D2D2D;
	margin: 0 0 4px;
}

.hsf-upload-hint {
	font-size: 0.82rem;
	color: #999;
	margin: 0;
}

.hsf-upload-progress {
	padding: 10px 0;
}

.hsf-progress-bar {
	width: 100%;
	height: 6px;
	background: #e0e0e0;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

.hsf-progress-fill {
	height: 100%;
	background: #D4919A;
	border-radius: 3px;
	width: 0;
	transition: width 0.3s;
}

.hsf-progress-text {
	font-size: 0.82rem;
	color: #666;
	margin: 0;
}


/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.hsf-dash-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.hsf-dash-gallery-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1;
	background: #f5f5f5;
}

.hsf-dash-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hsf-dash-img-delete {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	font-size: 16px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s;
}

.hsf-dash-gallery-item:hover .hsf-dash-img-delete {
	opacity: 1;
}

.hsf-dash-gallery-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px 20px;
	color: #999;
}


/* --------------------------------------------------------------------------
   Limit Notice
   -------------------------------------------------------------------------- */

.hsf-dash-limit-notice {
	background: #fff3e0;
	border: 1px solid #ffe0b2;
	border-radius: 10px;
	padding: 14px 20px;
	margin-bottom: 24px;
	font-size: 0.92rem;
	color: #e65100;
}

.hsf-dash-limit-notice a {
	color: #D4919A;
	font-weight: 600;
}


/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.hsf-dash-form {
	max-width: 640px;
}

.hsf-form-group {
	margin-bottom: 20px;
}

.hsf-form-group label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
	color: #2D2D2D;
}

.hsf-form-group input[type="text"],
.hsf-form-group input[type="url"],
.hsf-form-group input[type="email"],
.hsf-form-group textarea {
	width: 100%;
	padding: 10px 14px;
	font-size: 0.95rem;
	border: 1.5px solid #E8B4B8;
	border-radius: 8px;
	background: #fff;
	outline: none;
	transition: border-color 0.2s;
	font-family: inherit;
}

.hsf-form-group input:focus,
.hsf-form-group textarea:focus {
	border-color: #D4919A;
	box-shadow: 0 0 0 3px rgba(212, 145, 154, 0.15);
}

.hsf-form-hint {
	font-size: 0.82rem;
	color: #999;
	margin: 4px 0 0;
}

.hsf-form-hint-premium {
	color: #e65100;
}

.hsf-form-hint-premium a {
	color: #D4919A;
	font-weight: 600;
}

.hsf-save-status {
	display: inline-block;
	margin-left: 12px;
	font-size: 0.88rem;
	font-weight: 500;
}

.hsf-save-status.success {
	color: #2e7d32;
}

.hsf-save-status.error {
	color: #c62828;
}


/* --------------------------------------------------------------------------
   Info Grid (Details Tab)
   -------------------------------------------------------------------------- */

.hsf-dash-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.hsf-info-item {
	background: #FDF8F5;
	border: 1px solid #f0e8e9;
	border-radius: 10px;
	padding: 16px;
}

.hsf-info-item strong {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #999;
	margin-bottom: 4px;
}

.hsf-info-item span {
	font-size: 0.95rem;
	color: #2D2D2D;
}

.hsf-dash-note {
	font-size: 0.85rem;
	color: #999;
}

.hsf-dash-note a {
	color: #D4919A;
}


/* --------------------------------------------------------------------------
   Pricing Grid
   -------------------------------------------------------------------------- */

.hsf-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.hsf-pricing-card {
	background: #fff;
	border: 2px solid #f0e8e9;
	border-radius: 14px;
	padding: 28px 24px;
	text-align: center;
	position: relative;
	transition: all 0.2s;
}

.hsf-pricing-card:hover {
	border-color: #E8B4B8;
	box-shadow: 0 4px 16px rgba(212, 145, 154, 0.12);
}

.hsf-pricing-featured {
	border-color: #D4919A;
	box-shadow: 0 4px 20px rgba(212, 145, 154, 0.2);
}

.hsf-pricing-current {
	background: #FDF8F5;
}

.hsf-pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #D4919A;
	color: #fff;
	padding: 4px 16px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hsf-pricing-header h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: #2D2D2D;
}

.hsf-pricing-price {
	font-size: 2.2rem;
	font-weight: 700;
	color: #D4919A;
	margin-bottom: 20px;
}

.hsf-pricing-price span {
	font-size: 0.9rem;
	font-weight: 500;
	color: #999;
}

.hsf-pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	text-align: left;
}

.hsf-pricing-features li {
	padding: 6px 0;
	font-size: 0.9rem;
	color: #444;
	border-bottom: 1px solid #f5f5f5;
}

.hsf-pricing-features li:last-child {
	border-bottom: none;
}

.hsf-pricing-features li::before {
	content: "\2713 ";
	color: #5cb85c;
	font-weight: 700;
	margin-right: 6px;
}

.hsf-pricing-disabled {
	color: #ccc !important;
}

.hsf-pricing-disabled::before {
	content: "\2717 " !important;
	color: #ccc !important;
}

.hsf-pricing-current-label {
	display: inline-block;
	padding: 6px 18px;
	background: #E8B4B8;
	color: #fff;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 700;
}

.hsf-upgrade-btn {
	width: 100%;
}

.hsf-dash-cancel {
	text-align: center;
	margin-top: 20px;
}

.hsf-dash-cancel p {
	font-size: 0.85rem;
	color: #999;
}

.hsf-cancel-btn {
	color: #c62828 !important;
	text-decoration: underline;
	cursor: pointer;
}


/* --------------------------------------------------------------------------
   Error State
   -------------------------------------------------------------------------- */

.hsf-dash-error {
	text-align: center;
	padding: 60px 20px;
}

.hsf-dash-error-inner {
	max-width: 480px;
	margin: 0 auto;
}

.hsf-dash-error h2 {
	font-size: 1.5rem;
	margin-bottom: 12px;
}

.hsf-dash-error p {
	color: #666;
}

.hsf-dash-error a {
	color: #D4919A;
	font-weight: 600;
}


/* --------------------------------------------------------------------------
   Buttons (re-use from salon-finder.css)
   -------------------------------------------------------------------------- */

.hsf-dashboard .hsf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 22px;
	font-size: 0.95rem;
	font-weight: 600;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1.4;
}

.hsf-dashboard .hsf-btn-primary {
	background: #D4919A;
	color: #fff;
	border-color: #D4919A;
}

.hsf-dashboard .hsf-btn-primary:hover {
	background: #c07a83;
	border-color: #c07a83;
	color: #fff;
}

.hsf-dashboard .hsf-btn-outline {
	background: transparent;
	color: #D4919A;
	border-color: #D4919A;
}

.hsf-dashboard .hsf-btn-outline:hover {
	background: #D4919A;
	color: #fff;
}

.hsf-dashboard .hsf-btn-sm {
	padding: 6px 14px;
	font-size: 0.85rem;
}

.hsf-dashboard .hsf-btn-text {
	background: none;
	border: none;
	color: #666;
	padding: 4px 8px;
	font-size: 0.88rem;
	cursor: pointer;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.hsf-dash-header {
		flex-direction: column;
	}

	.hsf-dash-title {
		font-size: 1.4rem;
	}

	.hsf-dash-tabs {
		overflow-x: auto;
	}

	.hsf-dash-tab {
		padding: 12px 18px;
		font-size: 0.88rem;
		white-space: nowrap;
	}

	.hsf-pricing-grid {
		grid-template-columns: 1fr;
	}

	.hsf-dash-info-grid {
		grid-template-columns: 1fr;
	}

	.hsf-dash-gallery {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.hsf-dashboard {
		padding: 10px 14px 40px;
	}

	.hsf-dash-title {
		font-size: 1.2rem;
	}
}
