*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	border: none;
	text-decoration: none;
	list-style: none;
}
/*----------Variables----------*/
:root{
	--space: 2rem;
	--main-color: #2d8a3e;
	--secondary-color: #f59e0b;
	--background-color: #f3f5f4;
	--green-light: #4ade80;
	--green-opacity: #dcfce7;
	--white-alpha-40: rgba(255, 255, 255, 0.40);
	--white-alpha-25: rgba(255, 255, 255, 0.25);
	--backdrop-filter: blur(5px);
	--box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.40);
	--green: green;
	--red: red;
	--light-green: light-green;
}
 /*----------Global Styling----------*/
body{
	#background-color: pink;
	background-image: rul(../image/bg1.png);
	background-position: center;
}
html{
	scroll-behavior: smooth;
} 
.btn{
	background-color: var(--white-alpha-25);
	border: 2px solid var(--green);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	text-transform: capitalize;
	color: var(--main-color);
	padding: 1rem 1rem;
	border-radius: 1.5rem;
	font-size: 16px;
	cursor: pointer;
	position: relative;
	width: 70%;
	text-align: center;
	font-weight: bold;
	margin: 10px;
}
.btn::before{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 30px;
	background-color: var(--main-color);
	z-index: -1;
	transition: width 0.3s ease;
	text-align: center;
}
.btn:hover::before{
	width: 100%;
}
.btn:hover{
	color: #fff;
	font-weight: bold;
}
.empty{
	background-color: var(--white-alpha-25);
	border: 1px solid var(--green);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	text-transform: capitalize;
	color: var(--main-color);
	padding: 1.5rem;
	text-align: center;
	margin: 2rem 0;
	margin-bottom: 2rem;
	width: 50vw;
	line-height: 2.5;
	border-radius: .5rem;
}
.empty p{
	font-size: 20px;
	padding-bottom: 2rem;
}
input[type='submit']{
	cursor: pointer;
}
input[type='submit']:hover{
	color: var(--main-color);
}
.box-container{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: 1rem;
	align-items: center;
}
.box-container .box{
	border-bottom-left-radius: 2rem;
	border-bottom-right-radius: 2rem;
	background-color: var(--white-alpha-25);
	border: 1px solid seagreen; 
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	margin: 1rem;
}
.heading{
	text-align: center;
	line-break: 1.5;
	font-size: 2rem;
}
.heading h1{
	text-transform: capitalize;
}
.heading span{
	color: var(--main-color);
	text-transform: capitalize;
	font-size: 16px;
}
.heading img{
	margin-top: .5rem;
	width: 150px !important;
}
section,
.post-editor{
	width: 75vw;
	min-height: 100vh;
	padding: 4%;
	margin: 4% 2%;
	margin-bottom: 2%;
}
.flex-btn{
	display: flex;
	justify-content: space-between;
}
.flex-btn .btn{
	margin: .2rem;
}
/*-----------custom scroll bar----------*/
::-webkit-scrollbar{
	width: 5px;
}
::-webkit-scrollbar-thumb{
	-webkit-border-radius: 20px;
	border-radius: 20px;
	height: 40px;
	margin-top: 30px;
	margin-bottom: 30px;
	background-color: var(--green-light);
	position: relative;
}
::-webkit-scrollbar-track{
	background-color: transparent;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	height: 40px;
	margin-top: 30px;
	margin-bottom: 30px;
	margin-right: 10px;
	margin-left: 10px;
}
/*-----------form container----------*/
.form-container{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 70vh;
	padding: 4% 0;
	position: relative;
}
.form-container form{
	background-color: var(--white-alpha-25);
	border: 2px solid var(--white-alpha-40);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	border-radius: 1rem;
	padding: 2rem;
	border: 2px solid green;
}
.form-container form .flex{
	display: flex;
	gap: 2rem;
}
.form-container .flex .col{
	flex: 1 1 100%;
}
.form-container .box{
	width: 100%;
	outline: 1px solid green;
}
.form-container .login{
	width: 50%;
}
.form-container .register{
	width: 100%;
	border: 1px solid gray;
	margin-left: 12%;
}
.form-container .register .img-box{
	text-align: center;
	margin-bottom: 1rem;
}
.form-container .register .img-box img{
	width: 180px;
	height: 180px;
	border-radius: 50%;
	text-align: center;
	padding: 10px;
	background-color: var(--main-color);
}
.form-container form h3{
	text-align: center;
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--main-color);
	text-transform: capitalize;
	font-weight: bold;
}
.form-container form p span{
	color: red;
}
.form-container form p{
	color: black;
	text-transform: capitalize;
	font-size: 20px;
	margin-top: 6px;
}
.form-container form .link{
	padding-bottom: 1rem;
	font-size: 1.2rem;
	text-transform: capitalize;
}
.form-container form .link a{
	color: var(--main-color);
}
.form-container form .link a:hover{
	color: var(--secondary-color);
	text-decoration: underline;
}
.form-container form .box{
	background-color: var(--white-alpha-25);
	border: 2px solid var(--white-alpha-40);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);	
	width: 100%;
	border-radius: .5rem;
	margin: .3rem;
	font-size: 1.3rem;
	padding: .6rem;
}
.form-container form textarea{
	height: 8rem;
	resize: none;
}
.form-container form .btn{
	width: 100%;
	font-size: 1.3rem;
}
.form-container image{
	height: 30rem;
}
.post-editor input[type='submit']{
	width: 49%;
}
.order-container input[type='submit']{
	width: 50%;
	padding: 1rem;
}
/*----------Header section-----------*/
header{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	height: 80px;
	z-index: 151;
	box-shadow: 0px 5px 10px 0px #aaa;
	padding: 0px 18px;
	background-color: var(--background-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header .right{
	display: flex;
}
#user-btn,
.toggle-btn{
	font-size: 2rem;
	padding: .5rem;
	color: var(--main-color);
	cursor: pointer;
	transition: .6s;
}
.toggle-btn{
	margin-left: .5rem;
	display: none;
}
.profile-detail{
	background-color: var(--white-alpha-25);
	border: 2px solid var(--white-alpha-40);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	position: absolute;
	top: 125%;
	right: 2rem;
	border-radius: 0.5rem;
	width: 22rem;
	padding: 1.5rem 0.5rem;
	animation: 0.2s linear fadeIn;
	text-align: center;
	overflow: hidden;
	display: none;
}
@keyframes fadeIn{
	0%{
		transform: translateY(1rem);
	}
	100%{
		transform: translateY(0);
	}
}
.profile-detail.active{
	display: inline-block;
}
.profile-detail p{
	padding-bottom: 0.7rem;
	font-size: 1.5rem;
	text-transform: capitalize;
	color: lightgray;
}
.profile-detail .flex-btn{
	display: flex;
	justify-content: space-evenly;
}
.profile-detail .flex-btn .btn{
	margin: 0.5rem;
}
.main-container{
	display: flex;
}
.sidebar{
	background-color: var(--white-alpha-25);
	backdrop-filter: var(--backdrop-filter);
	padding-top: 3.5rem;
	width: 18vw;
	height: 100vh;
	position: sticky;
	top: 0;
	box-shadow: 0px 5px 10px 0px #aaa;
	overflow-y: auto;
	z-index: 1;
}
.sidebar h5{
	text-transform: uppercase;
	color: var(--main-color);
	padding: 0.5rem 1rem;
	margin: 0.5rem 0;
	font-size: 14pt;
}
.profile{
	margin: 0.5rem auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.sidebar .profile{
	margin: 2.5rem;
}
.profile .logo-img{
	border-radius: 50%;
	padding: 0.2rem;
	border: 2px solid var(--main-color);
}
.sidebar .profile p{
	margin-top: 0.5rem;
	text-transform: uppercase;
	font-weight: bolder;
	color: #000;
	font-size: 1.3rem;
}
.sidebar ul li{
	padding: 1rem;
	background-color: var(--white-alpha-25);
	border: 2px solid var(--white-alpha-40);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	position: relative;
	transition: 0.5s;
	margin: 0.5rem 0;
}
.sidebar ul li::before{
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	height: 0%;
	width: 6px;
	background-color: var(--main-color);
	z-index: 2;
	transition: all 200ms linear;
}
.sidebar ul li:hover::before{
	height: 100%;
}
.sidebar ul li i{
	color: var(--main-color);
	font-size: 20px;
	margin-right: 2rem;
}
.sidebar ul li a{
	text-transform: uppercase;
	color: gray;
	font-size: 12px;
	font-weight: bold;
}
.social-links{
	margin-bottom: 2rem;
}
.social-links i{
	background-color: var(--white-alpha-25);
	border: 2px solid var(--white-alpha-40);
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	cursor: pointer;
	margin: 0.3rem;
	width: 30px;
	height: 30px;
	list-style: 20px;
	text-align: center;
	font-size: 20px;
	transition: 0.5s;
	border-radius: 50%;
	color: var(--main-color);
}
.social-links i:hover{
	background-color: var(--green-opacity);
	border: 2px solid var(--main-color);
}
/*---------Admin Dashboard---------*/
.dashboard .box-container .box{
	text-align: center;
	border-radius: 20px; #.5rem;
	padding: 1.5rem;
	padding-bottom: 3rem;
}
.dashboard .box-container .box h3{
	font-size: 2.7rem;
	margin-bottom: -1rem;
	color: green;
}
.dashboard .box-container .box p{
	padding: 1rem;
	font-size: 1.8rem;
	text-transform: capitalize;
	margin: 1rem 0;
}
.navbar ul li{
	border: 1px solid green;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
	margin-bottom: 15px;
	margin-right: 10px;
	margin-left: 4px;
}
.navbar ul li a{
	font-size: 14pt;
}
.show-post .box-container .box{
	position: relative;
	overflow: hidden;
}
.show-post .box-container .box:hover .image{
	transform: scale(1.1);
}
.show-post .box-container .box .image{
	width: 100%;
	height: 25rem;
	object-fit: cover;
	transition: .5s;
	background-color: var(--green-opacity);
}
.show-post .box-container .box .content{
	position: relative;
	display: block;
	background-color: #fff;
	padding: 40px 10px;
	margin-top: -80px;
	border-top-right-radius: 80px;
	text-align: center;
	line-height: 1.5;
}
.show-post .box-container .box .content .shap{
	position: absolute;
	left: 0;
	top: -80;
	width: 80px;
	height: 80px;
	background-repeat: no-repeat;	
}
.show-post .box-container .box .status{
	position: absolute;
	left: 1%;
	top: 1%;
	text-transform: uppercase;
	font-size: 1rem;
	margin-bottom: 1rem;
	padding: .5rem 1rem;
	border-radius: 5rem;
	display: inline-block;
	background-color: var(--white-alpha-40);	
}
.show-post .box-container .box .price{
	width: 70px;
	height: 70px;
	line-height: 70px;
	text-align: center;
	border-radius: 50%;
	position: absolute;
	right: 5%;
	top: 5%;
	font-size: 1.3rem;
	font-weight: bolder;
	background-color: var(--secondary-color);
	color: #fff;
}
.show-post .box-container .box .content .title{
	font-size: 1.6rem;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 1rem;
}
.show-post .box-container .box .posts-content{
	font-size: 1.3rem;
	line-height: 1.5;
	padding: 1rem;
}
.show-post .box-container .box .btn{
	margin: .2rem;
	padding: .2rem 1.5rem;
	width: 30%;
	text-align: center;
}
.show-post .box-container .box button{
	width: 3%;
}
.post-editor img{
	width: 100%;
} 
.read-post{
	display: flex;
	flex-direction: column;
}
.read-post form{
	width: 100%;
	padding: 2rem;
	position: relative;
}
.read-post form .status{
	border-radius: .5rem;
	padding: .5rem 2rem;
	font-size: 2.1rem;
	display: inline-block;
	text-rransform: uppercase;
}
.read-post form .price{
	position: absolute;
	top: 5%;
	right: 5%;
	font-weight: bolder;
	font-size: 2.2rem;
}
.read-post form .image{
	width: 100%;
	border-radius: .5rem;
	margin-top: 1.5rem;
}
.read-post form .title{
	font-size: 2.5rem;
	font-weight: bolder;
	color: var(--main-color);
	margin-top: 1.5rem;
	text-transform: uppercase;
	text-align: center;
}
.read-post form .content{
	text-align: center;
	line-height: 2;
	font-size: 1.6rem;
	color: gray;
	padding: 1rem 0;
}
.read-post form .flex-btn{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.read-post form .flex-btn .btn{
	flex: 1;
	margin: 6px;
	text-align: center;
	height: 50px;
}
.read-post form .flex-btn a{
	height: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}
/*------------System Users----------*/
.user-container .box-container{
	margin-top: 3rem;
}
.user-container .box-container .box{
	text-align: center;
	padding: 2rem;
	text-transform: capitalize;
	line-height: 2;
	color: gray;
	margin-bottom: 4rem;
}
.user-container .box-container .box span{
	text-transform: none;
}
.user-container .box-container .box img{
	width: 150px;
	height: 150px;
	border-radius: 50%;
	box-shadow: var(--box-shadow);
	padding: 0.5rem;
	background-color: var(--white-alpha-40);
	margin-top: -5rem;
	margin-bottom: 1rem;
}
/*------------Message section----------*/
.message-container .box-container .box{
	line-height: 2;
	padding: 2rem;
}
.message-container .box-container .box .name{
	text-transform: capitalize;
	font-size: 1.5rem;
}
.message-container .box-container .box h4{
	text-transform: capitalize;
	color: var(--main-color);
}
.message-container .box-container .box p{
	margin-bottom: 1rem;
}
/*-----------Admin orders---------*/
.order-container .box-container .box{
	padding: 1rem;
	position: relative;
	border: 1px solid green;
}
.order-container .box-container select{
	font-size: 14pt;
	border: 1px solid green;
}
.order-container .box-container .box .status{
	position: absolute;
	left: -4%;
	top: 1%;
	text-transform: uppercase;
	font-size: 1rem;
	margin-bottom: 1rem;
	border-radius: .5rem;
	box-shadow: var(--box-shadow);
	background-color: var(--white-alpha-40);
	border: 1px solid green;
	display: inline-block;
	padding: .5rem;
	background-color: green;
	color: white;
}
.order-container .box-container .box .details{
	margin-top: 2.5rem;
	line-height: 1.5;
	color: gray;
	text-ransform: capitalize;
	font-size: 16pt;
}
.order-container .box-container .box span{
	text-transform: none;
}
/*----------Profile section--------*/
.seller-profile .details{
	background-color: var(--white-alpha-25);
	border: 1px solid green; #var(--white-alpha-40 );
	backdrop-filter: var(--backdrop-filter);
	box-shadow: var(--box-shadow);
	text-align: center;
	border-radius: 2.5rem;
	padding: 1rem;
}
.seller-profile .details .seller{
	margin-bottom: 2rem;
}
.seller-profile .details .seller img{
	width: 10rem;
	height: 10rem;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: .5rem;
	padding: .5rem;
	background-color: var(--main-color);
}
.seller-profile .details .seller h3{
	font-size: 1.5rem;
	margin: 0.5rem 0;
	text-transform: capitalize;
}
.seller-profile .details .seller span{
	font-size: 1.2rem;
	color: gray;
	display: block;
	margin-bottom: 2rem;
	text-transform: capitalize;
}
.seller-profile .details .flex{
	display: flex;
	gap: 1.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin: 4rem 0;
}
.seller-profile .details .flex .box{
	flex: 1 1 25rem;
	border-radius: .5rem;
	background-color: #cccccc33;
	padding: 2rem;
}
.seller-profile .details .flex .box span{
	color: var(--main-color);
	display: block;
	margin-bottom: .5rem;
	font-size: 2.5rem;
	text-transform: capitalize;
}
.seller-profile .details .flex .box p{
	font-size: 2rem;
	color: #000;
	padding: .5rem 0;
	margin-bottom: 1rem;
}
/*--------age gap----------*/
/* Container styling */
.radio_product_age_group{
		display: flex;
	  flex-wrap: wrap; /* Allows items to break onto multiple lines */
  	gap: 10px;
 	  align-items: center; /* Centers the items horizontally */
	  justify-content: center;

}
/* Hide the default radio buttons completely */
.radio_product_age_group input[type="radio"] {
  	display: none;
}
/* Style the labels to look like buttons */
.radio_product_age_group label {
	  align-items: center;
	  text-align: center;
	  display: inline-block;
	  padding: 8px 10px;
	  font-family: sans-serif;
	  font-size: 14px;
	  cursor: pointer;
	  background-color: transparent;
	  color: #333;
	  border: 2px solid #ccc;
	  border-radius: 4px;
	  transition: all 0.2s ease-in-out;
	  user-select: none; /* Prevents text highlighting on double click */
	  width: 164px;
}
/* Hover effect for unselected buttons */
.radio_product_age_group label:hover {
 	 background-color: lightblue;
  	border-color: #bbb;
}
/* Style the label immediately following the checked radio button */
.radio_product_age_group input[type="radio"]:checked + label {
 	 	background-color: #007bff;
  	color: #fff;
  	border-color: #0056b3;
}
.form-container form .radio_product_age_group{
	margin-top: 10px;
	margin-bottom: 12px;
	display: flex;
	flex-direction: row;
	gap: 12px;
  /* Set your custom dimensions */
}
/* Change this to your preferred color */
input[type="radio"] {
    accent-color: var(--green);
  /* Remove default browser styling */
  width: 24px;
  height: 24px;  
  /* Re-apply basic circular styles */
  cursor: pointer;  
}
/* Changes the text color and background when the radio button is selected */
input[type="radio"]:checked + label {
  color: var(--red);      /* Changes text color */
  font-weight: bold;     /* Optional visual emphasis */
}
.form-container form label{
	font-size: 20px;
}

/*-----------Media Screen----------*/
@media screen and (max-width: 991px){
	.toggle-btn{
		display: block;
	}
	.sidebar{
		padding-top: 4rem;
		position: fixed;
		width: 0;
		transition: .5s;
		z-index: 101;
		top: 7%;
	}
	.sidebar.active{
		width: 270px;
	}
	.sidebar.profile{
		margin-top: .5rem;
	}
	.section{
		width: 100%;
	}
	.heading h1{
		margin-top: 16%;
	}	
}

@media (max-width: 600px) {
  .radio_product_age_group {
    flex-direction: column; /* Forces every radio button onto a new line */
  }

}