/*---------------étoiles form--------------*/

#postbox{
    display: flex;
    padding: 60px 40px;
    gap: 35px;
    background-color: rgb(255, 255, 255, 0.02);
    border-radius: 20px;
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1000px) {
    #postbox{
        display: block !important;
		padding: 60px 20px !important;
    }
}

#tasty-star-form {
	display: inline-block;
	position: relative;
	z-index: 10;
	margin-top: 0;
	margin-bottom: 15px;
}
	#tasty-star-form div{
		width: fit-content;
	}

#tasty-star-form:after {
	content: "";
	display: block;
	clear: both;
}

#tasty-star-form label {
	float: right;
	font-size: 0;
}

#tasty-star-form label:after {
	content: "\b500";
	display: block;
	font-size: 2.5rem;
	font-family: 'icomoon' !important;
	color: rgb(48, 48, 48);
	padding-right: 3px;
}

@media screen and (max-width: 1000px) {
    #tasty-star-form label:after{
	font-size: 1.5rem;
    }
}

#tasty-star-form input {
	display: none;
}

#tasty-star-form:hover label {
	color: black !important;
}

#tasty-star-form label:hover~label:after {
	color: #E0C655 !important;
}

#tasty-star-form label:hover:after {
	color: black !important;
}

#tasty-star-form input:checked~label:after {
	color: #E0C655;
}

/*--------------étoiles post---------*/

.star-zone {
	position: relative;
	height: 30px;
	margin-bottom: 20px;
}

.stars-container {
	position: absolute;
	left: 0px;
	top: 0px;
}

.stars-container.grey svg {
	fill: #4a4e57;
	z-index: 1;
	opacity: 0.1;
}

.stars-container.gold {
	overflow: hidden;
}

.stars-container.gold svg {
	fill: #E0C655;
	z-index: 2;
	width: 150px;
	position: relative;
}


/*-------------- formulaire ---------*/

#new_post{
	display: flex;
    gap: 10px;
	padding: 30px;
    flex-direction: column;
    align-items: stretch;
}

@media screen and (max-width: 1000px) {
    .thumbnail{
        margin-bottom: 30px !important;
    }
}

.group {
    position: relative;
    margin-bottom: 20px;
	gap: 50px !important;
}

.form p {
    padding-bottom: 20px;
    font-size: 54px;
    font-weight: bold;
    letter-spacing: .5px;
    color: white;
}

.container-1 {
    padding-top: 30px;
}

.main-input {
    font-size: 18px;
    padding: 15px 10px 5px 10px; 
    display: block;
    width: 100%;
    border: none !important;
    box-sizing: border-box; 
	border-radius: 10px !important;
    background-color: rgba(37, 37, 37) !important;
}

.lebal-email {
	position: relative;
    font-size: 18px; 
    left: 10px; 
    transition: 0.2s ease all;
    color: white;
}

.submit{
	font-family: "Agency FB";
	letter-spacing: 1.2px;
	font-size: 20px;
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 10px;
    background-color: #E0C655;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 
        background-color 0.3s ease, 
        box-shadow 0.3s ease, 
        transform 0.2s ease; 
}

.submit:hover {
    background-color: #CFA93A; 
    color: white; 
    transform: scale(1.05); 
}

.submit:active {
    transform: scale(1); 
}

.submit span{
	opacity: 0.7;
}

.highlight-span {
    position: absolute;
    height: 60%;
    width: 0px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.main-input:focus ~ .highlight-span {
    animation: input-focus 0.6s ease;
}

@keyframes input-focus {
    from {
        background: #E0C655;
    }

    to {
        width: 100%;
    }
}

.submit {
    margin-top: 1.2rem;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #E0C655;
    color: black;
    border: none;
    cursor: pointer;
}

.rating {
    display: flex;
    justify-content: center; 
    gap: 10px;
    margin-top: 20px;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.rating input[type="radio"]:checked ~ label {
    color: #E0C655;
}

.rating label:hover,
.rating label:hover ~ label {
    color: #E0C655;
}
/*---------------Star--------------*/

.star-rating {
	display: inline-flex;
	position: relative;
	margin-top: 50px;   	
	width: 150px;
	height: 30px;
}

.star-rating .empty-stars {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
}

.star-rating .full-stars {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	display: flex;
	overflow: hidden;
}

.star-rating .star {
	width: 30px;
	height: 30px;
	padding-right: 5px;
}

.star-rating .empty-star {
	width: 30px;
	height: 30px;
	opacity: 0.8;
}

.slick-next:before {
	content: '\ea3c' !important; 
	padding-left: 25px;
	transform: translateX(-50px) !important;
}

.slick-prev:before {
	content: '\ea40' !important;
	display: inline-block;
	transform: translateX(-25px) !important;
}

.slick-prev:before,
.slick-next:before {
	font-family: 'icomoon' !important;
	font-size: 20px;
	line-height: 1;
	opacity: .75;
	color: white;
	-webkit-font-smoothing: antialiased;
}

@media screen and (max-width: 1000px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
}

.inner {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.mt40{
	margin-bottom: 0;
}

.mt40:nth-child(1){
	margin-bottom: 20px;
}
