:root {
	--feedback-color: #6F6F6F;
}

.reviews_container{
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.review-accordion h1 {
	font-size: 20px;
}

.review-accordion{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 33px;
}


.review__documents{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	min-width:  214px;
	width: 214px;
	max-width: 214px;
	height: 297px;
	max-height: 297px;
	border: 1px solid rgba(139, 139, 139, 0.411);
	border-radius: 25px;
}

.review__documents img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header {
	text-align: center;
	margin-bottom: 20px;
}

.header-number {
	font-size: 18px;
	font-weight: bold;
	text-align: right;
	margin-bottom: 30px;
}

.review__content {
	font-size: 16px;
	text-align: justify;
	margin-bottom: 25px;
	margin-top: 16px;
}

.review__signature {
	text-align: left;
}

.review__author {
}

.review__position {
	font-style: italic;
	margin-top: 5px;
}
.review__body{
	display: flex;
	flex-direction: column;
	background-color: #F5F5F5;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 17px;
	padding-bottom: 17px;
	border-radius: 25px;
	max-width: 856px;
}
.stars{
	display: flex;
	flex-direction: row;
	gap:9px;
}
.review__meta{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.review__meta .review__date{
	font-weight: 500;
}

.review{
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	gap: 11px;
}
.review__logo{
	max-width: 159px;
	max-height: 56px;
	overflow: hidden;
}

.review__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.review__company{
	width: 100%;
	display: flex;
	flex-direction: column;
	min-width: 179px;
	max-width: 179px;
	max-height: 179px;
	padding: 10px;
	background-color: #F5F5F5;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-radius: 25px;
	gap: 13px;
}
.review__company p{
	font-weight: 500;
}

@media (max-width: 700px) {
	.review__company{
		max-width: 100%;
		width: 100%;
	}
	.review{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.review__meta {
		flex-direction: column;
		gap: 19px
	}
}

/* ////////// */


.open-feedback-button {
	display: block;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 12px 37px;
	max-height: 41px;
	font-size: 14px;
	background-color: var(--main_color);
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-transform: uppercase;
	transition: background-color 0.3s;
}

.open-feedback-button:hover {
	background-color: var(--main_color);
}

.popup-overlay--review {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	backdrop-filter: blur(8px);
	justify-content: center;
	align-items: center;
}

.popup-overlay--active {
	display: flex;
}

.feedback-popup {
	overflow: overlay;
	position: relative;
	max-height: 878px;
	width: 100%;
	max-width: 585px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	/* overflow: hidden; */
	animation: popupAppear 0.3s ease-out;
}

@keyframes popupAppear {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.feedback-popup__header {
	color: white;
	padding: 20px;
	text-align: center;
}

.feedback-popup__title {
	font-weight: 700;
	color: var(--feedback-color);
	font-size: 24px;
	margin-bottom: 5px;
}

.feedback-popup__subtitle {
	color: var(--feedback-color);
	font-size: 16px;
}

.feedback-popup__body {
	padding: 25px;
}

.feedback-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.feedback-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}


.feedback-form__field--required::before {
	content: "*";
	color: #ff4444;
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	font-size: 16px;
}

.feedback-form__input {
	padding-left: 20px !important;
}

.feedback-form__field {
	position: relative;
}

.feedback-form__textarea::placeholder ,
.feedback-form__input::placeholder {
	color: #161616
}


.feedback-form__input,
.feedback-form__textarea {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.feedback-form__input:focus,
.feedback-form__textarea:focus {
	outline: none;
	border-color: var(--main_color);
}

.feedback-form__textarea {
	resize: vertical;
	max-height: 170px;
    min-height: 100px;
    height: auto;
}

.feedback-form__note {
	text-align: center;
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}

.feedback-form__file-section {
	margin-top: 10px;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.feedback-form__file-label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
	color: var(--feedback-color);
}

.feedback-form__file-input-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.feedback-form__file-input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.feedback-form__file-button {
	text-align: center;
	font-family: 'Montserrat', 'Helvetica', arial, sans-serif;
	letter-spacing: 0;
	text-transform: uppercase;
	min-width: 162px;
	display: inline-block;
	padding: 12px 17px;
	background-color: #C8C8C8;
	border: 1px solid #ddd;
	border-radius: 1000px;
	cursor: pointer;
	color: white;
	font-weight: 600;
	font-size: 14px;
	transition: background-color 0.3s;
}

.feedback-form__file-button:hover {
	background-color: #e0e0e0;
}

.feedback-form__file-name {
	padding-left: 20px;
	font-size: 14px;
	color:var(--feedback-color);
	font-style: italic;
}

.feedback-form__file-requirements {
	font-size: 14px;
	color: var(--feedback-color);
	line-height: 1;
	font-weight: 400;
}

.feedback-popup__footer {
	/* padding: 0 25px 25px; */
}

.feedback-form__submit-button {
	padding: 15px;
	background-color: var(--main_color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
	width: 100%;
}

.feedback-form__submit-button:hover {
	background-color: #a82d2d;
}

.feedback-form__submit-button:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
}

.feedback-form__agreement {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 15px;
}

.feedback-form__checkbox {
	margin-top: 3px;
}

.feedback-form__agreement-text {
	font-size: 14px;
	color: #666;
	line-height: 1.4;
}
.feedback-form__agreement-text a{
	color: #a82d2d;
}

.feedback-form__agreement-text a:hover{
	color: #c94343;
}
.feedback-popup__close-button {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 60px;
	color: rgb(0, 0, 0);
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.3s;
}

.feedback-popup__close-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.feedback-form__stars {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}


.rating-stars {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	cursor: pointer;
}


.rating-stars .star {
	width: 56px;
	height: 56px;
	transition: transform 0.2s ease;
}


.rating-stars:hover .star {
	opacity: 0.8;
}


.rating-stars .star:active {
	transform: scale(0.95);
}

@media (max-width: 768px) {
	.review-accordion{
		gap: 25px;
		flex-direction: column;
	}
	.open-feedback-button{
		width: 100%;
	}
}


@media (max-width: 600px) {
	.rating-stars .star {
		width: 46px;
		height: 46px;
		transition: transform 0.2s ease;
	}

	.feedback-popup {
		/* max-height: 975px; */
		max-height: 90vh;
		margin: 20px;
		max-width: calc(100% - 40px);
		/* margin-top: 160px;
		margin-bottom: 160px; */
	}

	.feedback-popup__body {
		padding: 20px;
	}

	.feedback-popup__footer {
	}
}


.zoom-btn {
	border: 1px solid rgba(75, 75, 75, 0.250);
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
}

.zoom-btn:hover {
	transform: scale(1.1);
}

.zoom-btn svg {
	width: 18px;
	height: 18px;
}


.popup-overlay_certificates {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(12px);
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.popup-container {
	position: relative;
	max-width: 70%;
	max-height: 70%;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

.popup-close {
	position: absolute;
	top: -30px;
	right: -30px;
	width: 50px;
	height: 50px;
	background: transparent;
	border: 2px solid rgb(0, 0, 0);
	color: rgb(10, 10, 10);
	font-size: 36px;
	font-weight: 300;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}


.popup-close:hover {
	background-color: white;
	color: black;
}

.popup-image{
	background-color: white;
}

.popup-image img {
	max-width: 100%;
	max-height: 70vh;
	display: block;
	border-radius: 4px;
}

@media (max-width: 768px) {
	.popup-close {
		top: -50px;
		right: 0;
	}

	.popup-container {
		max-width: 95%;
	}
}


@media (max-width: 700px) {
	.review__company{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.reviews_container{
		gap: 100px;
	}
}