/* ==========================================================
   Chutio Restaurant Owner
   My Restaurants
========================================================== */


/* ==========================================================
   Base
========================================================== */

.chutio-owner-dashboard {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 0 40px;

	color: #263238;
	box-sizing: border-box;
}

.chutio-owner-dashboard *,
.chutio-owner-dashboard *::before,
.chutio-owner-dashboard *::after {
	box-sizing: border-box;
}


/* ==========================================================
   Main card
========================================================== */

.chutio-owner-card {
	width: 100%;
	margin: 0 0 20px;
	padding: 36px;

	border: 1px solid #E6E9EA;
	border-radius: 16px;

	background: #FFFFFF;
}


/* ==========================================================
   Section intro
========================================================== */

.chutio-owner-section-intro {
	display: flex;
	align-items: center;
	gap: 18px;

	margin-bottom: 32px;
}


/* Number */

.chutio-owner-section-number {
	display: flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 46px;

	width: 46px;
	height: 46px;

	border-radius: 50%;

	background: #FBEAE5;
	color: #E57A5E;

	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}


/* Heading */

.chutio-owner-section-heading {
	min-width: 0;
}

.chutio-owner-section-heading h1 {
	margin: 0;

	color: #24313A;

	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.chutio-owner-section-heading p {
	margin: 5px 0 0;

	color: #7B858A;

	font-size: 15px;
	line-height: 1.5;
}


/* ==========================================================
   Restaurant list
========================================================== */

.chutio-owner-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}


/* ==========================================================
   Restaurant card
========================================================== */

.chutio-owner-restaurant-card {
	width: 100%;

	border: 1px solid #E6E9EA;
	border-radius: 14px;

	background: #FFFFFF;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.chutio-owner-restaurant-card:hover {
	border-color: #D8DEDA;

	box-shadow: 0 8px 24px rgba(38, 50, 56, 0.06);

	transform: translateY(-1px);
}


.chutio-owner-restaurant-content {
	padding: 24px;
}


/* ==========================================================
   Restaurant top
========================================================== */

.chutio-owner-restaurant-top {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;
}


.chutio-owner-restaurant-top h2 {
	margin: 0;

	color: #24313A;

	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}


/* ==========================================================
   Status
========================================================== */

.chutio-owner-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	flex: 0 0 auto;

	padding: 7px 11px;

	border-radius: 999px;

	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}


/* Dot */

.chutio-owner-status-dot {
	width: 7px;
	height: 7px;

	border-radius: 50%;

	background: currentColor;
}


/* Published */

.chutio-owner-status-published {
	background: #EEF4F0;
	color: #5D6F63;
}


/* Draft */

.chutio-owner-status-draft {
	background: #F5F6F6;
	color: #7B858A;
}


/* Pending */

.chutio-owner-status-pending {
	background: #FFF4EA;
	color: #B66A3C;
}


/* Inactive */

.chutio-owner-status-inactive {
	background: #FFF1EE;
	color: #A34F3E;
}


/* ==========================================================
   Meta
========================================================== */

.chutio-owner-restaurant-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;

	margin-top: 8px;

	color: #7B858A;

	font-size: 13px;
	line-height: 1.5;
}


.chutio-owner-meta-separator {
	color: #C2C8CA;
}


/* ==========================================================
   Actions
========================================================== */

.chutio-owner-restaurant-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;

	margin-top: 22px;
	padding-top: 18px;

	border-top: 1px solid #EEF0F1;
}


/* View */

.chutio-owner-view {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	color: #5D6F63;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;

	text-decoration: none;

	transition:
		color 0.2s ease,
		gap 0.2s ease;
}


.chutio-owner-view:hover {
	color: #4F5F54;

	gap: 9px;
}


/* Edit button */

.chutio-owner-restaurant-actions .chutio-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 46px;

	padding: 0 20px;

	border: 0;
	border-radius: 11px;

	background: #E57A5E;
	color: #FFFFFF;

	font-size: 14px;
	font-weight: 600;

	text-decoration: none;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}


.chutio-owner-restaurant-actions .chutio-button:hover {
	background: #D86F54;
	color: #FFFFFF;

	transform: translateY(-1px);
}


/* ==========================================================
   Empty state
========================================================== */

.chutio-owner-empty {
	padding: 24px;

	border: 1px dashed #DDE3E0;
	border-radius: 14px;

	background: #FAFBFA;
}


.chutio-owner-empty-title {
	color: #34424A;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}


.chutio-owner-empty p {
	margin: 6px 0 0;

	color: #7B858A;

	font-size: 14px;
	line-height: 1.6;
}


/* ==========================================================
   Error
========================================================== */

.chutio-owner-error {
	width: 100%;
	padding: 22px 24px;

	border: 1px solid #E3E7E8;
	border-radius: 14px;

	background: #FFFFFF;
}


.chutio-owner-error p {
	margin: 0;

	color: #566268;

	font-size: 14px;
	line-height: 1.6;
}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 767px) {

	.chutio-owner-card {
		padding: 22px 18px 24px;

		border-radius: 14px;
	}


	.chutio-owner-section-intro {
		gap: 13px;

		margin-bottom: 24px;
	}


	.chutio-owner-section-number {
		flex-basis: 40px;

		width: 40px;
		height: 40px;

		font-size: 12px;
	}


	.chutio-owner-section-heading h1 {
		font-size: 22px;
	}


	.chutio-owner-section-heading p {
		font-size: 13px;
	}


	.chutio-owner-restaurant-content {
		padding: 18px;
	}


	.chutio-owner-restaurant-top {
		align-items: flex-start;
		flex-direction: column;

		gap: 10px;
	}


	.chutio-owner-restaurant-top h2 {
		font-size: 18px;
	}


	.chutio-owner-restaurant-actions {
		align-items: stretch;
		flex-direction: column;

		gap: 14px;
	}


	.chutio-owner-view {
		justify-content: center;
	}


	.chutio-owner-restaurant-actions .chutio-button {
		width: 100%;
	}


	.chutio-owner-status {
		font-size: 10px;
	}

}