:root {
	--bg-color: #f8f6fa;
	--main-purple: #4b2a58;
	--light-purple-bg: #eae3f0;
	--light-card-bg: #f5f1f7;
	--text-color: black;
}

body {
	font-family: "DM Sans", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	margin: 0;
	padding: 2rem;
}

/* start of sidebar menu */
/* start of sidebar menu */
/* start of sidebar menu */

.topnav #myLinks {
	position: fixed;
	left: -250px; /* hide it off-screen initially */
	top: 0;
	width: 250px;
	height: 100%;
	background-color: var(--main-purple);
	overflow-x: hidden;
	transition: 0.3s ease; /* smooth sliding */
	padding-top: 6px;
	z-index: 1000;
}

.topnav a {
	color: white;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
	display: block;
}

.topnav a.icon {
	display: block;
	position: fixed;
	left: -10px;
	top: -5px;
	animation: nav-icon 2s ease 0s infinite normal forwards;
}
.fa-bars,
.fa-xmark {
	background-color: #54105970;
	color: black;
	border-radius: 50%;
	padding: 0.5em;
	font-size: 1em;
}
.fa-xmark {
	background-color: white;
}
#logo {
    padding: 0.5em 1em;
    border-radius: 50px;
}

.fa-star {
	padding-right: 0.5em;
	font-size: 1 em;
}
/* end of sidebar */
/* end of sidebar */
/* end of sidebar */

.dashboard-container {
	max-width: 1000px;
	margin: 0 auto;
}

/* Header */
.dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
	margin-top: 1em;
	flex-wrap: wrap;
}

.header-left h1 {
	font-size: 2rem;
	margin: 0;
	font-weight: 600;
}

.header-left p {
	margin: 0.25rem 0 0;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.brand-logo {
	border-radius: 50%;
width: 50px;
    height: 50px;
				border: 1px solid #541059;
}
/*start for planners dashoard */
/*start for planners dashoard */
/*start for planners dashoard */
.header-right .edward-brand-logo {
	border: 1px solid #541059;
	width: 50px;
	height: 50px;
	background-color: #d3d3d3;
	border-radius: 50%;
	position: relative;
}
.header-right .status-indicator {
	width: 12px;
	height: 12px;
	background-color: #00ff00;
	border-radius: 50%;
	position: relative;
    bottom: -25px;
    left: -50px;
	border: 2px solid #92759a;
}
/*end for planners dashoard */
/*end for planners dashoard */
/*end for planners dashoard */
.brand-name {
	font-weight: bold;
}
.icon-wrapper {
	display: flex;
	gap: 15px;
}
.icon-wrapper a {
	color: black;
}
.header-right .icons {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* start for admin dashoard*/
/* start for admin dashoard*/
/* start for admin dashoard*/

.header-right #admin-icons {
	gap: 0;
}

#admin-status-indicator{
	width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
        position: relative;
    top: 20px;
    left: -59px;
    border: 2px solid #92759a;
}
.top-rated-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: var(--light-card-bg);
}
.top-card {
	display: flex;
	gap: 10px;
	background-color: white;
	border-radius: 8px;
	align-items: center;
	justify-content: space-between;
	margin: 10px;
	padding: 5px;
}
.top-card img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.top-card > span {
	align-self: start;
	padding: 0 5px;
}
.top-card-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: smaller;
}
.top-card-details .h3 {
	font-weight: bold;
}
.fa-ellipsis-vertical {
	align-self: flex-start;
}
/* end for admin dashoard*/
/* end for admin dashoard*/
/* end for admin dashoard*/

/* Summary Cards */
.summary-cards {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.summary-card {
	background-color: var(--light-purple-bg);
	padding: 1.5rem;
	border-radius: 12px;
	flex: 1;
	min-width: 250px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.card-header h3 {
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
	color: var(--main-purple);
}

.card-header .icon-container {
	background-color: var(--light-card-bg);
	padding: 5px;
	border-radius: 8px;
}

.card-body-container {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.card-body h2 {
	font-size: 2.5rem;
	font-weight: 600;
	margin: 0;
}

.card-body p {
	margin: 0;
	font-size: 0.85rem;
	color: #e24343;
	background-color: var(--light-card-bg);
	padding: 2px;
	border-radius: 5px;
}
.card-body .increase {
	color: var(--text-color);
}
.card-footer {
	margin-top: 1rem;
}

.card-footer a {
	font-size: 0.9rem;
	color: var(--main-purple);
	font-weight: 500;
}

/* Chart Section */
.booking-activity {
	background-color: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.booking-activity h2 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-color);
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.chart-container {
	position: relative;
	height: 300px;
	width: 100%;
}

/* Responsiveness */
@media (max-width: 600px) {
	body {
		padding: 1rem;
	}
	.topnav a.icon {
		display: none;
	}
	.dashboard-header {
		flex-direction: row;
		flex-wrap: nowrap;
		font-size: small;
	}

	.summary-cards {
		flex-direction: column;
	}
	.summary-card {
		min-width: unset;
	}
}

@keyframes nav-icon {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}
