section.banner { position: relative; padding: 0; }
.banner .container { padding: 0 10%; height: 600px; z-index: 3; display: flex; align-items: center; justify-content: center; color: white; }
.banner > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 1; }
.banner:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); z-index: 2; }
.banner .info-wrapper { position: absolute; bottom: -60px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.banner .info-wrapper > div { flex: 1; background: white; height: 120px; color: black; border: 1px solid #ccc; border-radius: 16px; font-weight: 600; }
.banner .info-wrapper > div > div { gap: 20px; max-width: 70%; text-align: left; }
.banner .contents { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }

.description .contents { text-align: left; }
.description .contents:nth-child(1) { padding-right: 100px; }
.description .contents:nth-child(2) { padding-left: 100px; }
.description img { margin: 50px 0; width: 620px; height: 620px; background: rgba(0,0,0,0.1); object-fit: cover; object-position: center center; border-radius: 20px; }

.info-wrapper b { font-weight: normal; }
.info-wrapper u { text-decoration: initial; opacity: 0.3; }

.rating { position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.8); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; user-select: none; }
.rating .box { background: white; border-radius: 20px; width: 900px; height: 580px; border: 2px solid #ccc; box-shadow: 0 0 20px rgba(0,0,0,0.2); position: relative; display: flex; align-items: flex-start; justify-content: center; }
.rating .close { width: 1.1em; height: 1.1em; background: #999; -webkit-mask-image: url("/libraries/Feather/x.svg"); -webkit-mask-repeat: no-repeat; -webkit-mask-position: center center; -webkit-mask-size: cover; position: absolute; top: 24px; right: 24px; cursor: pointer; }
.rating .slides { width: 100%; padding: 100px 100px 0; }
.rating .slides > div:not(.show) { display: none; }
.rating .progress { width: 100%; height: 5px; background: #d0d0d0; position: relative; overflow: hidden; border-radius: 2px; margin-bottom: 30px; }
.rating .progress-bar { position: absolute; left: 0; top: 0; height: 100%; background: var(--green); transition: 0.3s linear; }
.rating .progress-bar[data-slide] { width: calc(100% * (attr(data-slide type(<number>)) / 7)); }
.rating .bottom { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); }
.rating .questions > div:not(.show) { display: none; }
.rating .stars { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.rating .stars span { width: 48px; height: 48px; background: #ddd; -webkit-mask-image: url("/modules/teambuilding/images/star.svg"); -webkit-mask-repeat: no-repeat; -webkit-mask-position: center center; -webkit-mask-size: cover; }
.rating .stars span.filled { background: var(--green); }
.rating .buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 60px; }
.rating .questions .buttons .btn { width: 126px; }
.rating .btn.back { background: #eff8f0; color: var(--green); }
.rating .btn.back:hover, .btn.back:active { background-color: #e3f3e5; border-color: #e3f3e5; }

.rating .checkbox-wrapper { display: flex; align-items: center; justify-content: flex-start; gap: 60px; font-size: 22px; padding: 10px 0 30px; }
.rating .checkbox.green { color: var(--green); }
.rating .checkbox.red { color: #e5224d; }
.rating .checkbox.green input:checked { background-color: var(--green); border-color: var(--green); }
.rating .checkbox.red input:checked { background-color: #e5224d; border-color: #e5224d; }
.rating .checkbox input:focus { box-shadow: 0 0 0 0.25rem rgba(220, 220, 220, 0.5); }

.rating textarea { resize: none; height: 90px; background: #fcfbf7; }
.rating .input-wrapper { display: flex; align-items: center; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.rating .input-wrapper .floating { width: calc(50% - 7px); }


section.ratings { text-align: left; background: white; }
section.ratings .head-wrapper { display: flex; align-items: flex-start; justify-content: space-between; gap: 80px; padding: 0 0 40px; }
section.ratings .head-wrapper > div:nth-child(1) { width: calc(60% - 40px); }
section.ratings .head-wrapper > div:nth-child(2) { width: calc(40% - 40px); }
section.ratings .head-wrapper h3 { font-size: 30px; font-weight: 800; }
section.ratings .head-wrapper .head { background: #eff8f0; height: 220px; padding: 0px 60px; margin: 40px 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
section.ratings .head-wrapper .head .stars { gap: 8px; }
section.ratings .head-wrapper .head .stars span { width: 48px; height: 48px; }
section.ratings .head-wrapper .head-box { display: flex; align-items: center; justify-content: space-between; width: 100%; }
section.ratings .head-wrapper .head-box img { margin: 0 auto 10px; }
section.ratings .head-wrapper .head-box > div { margin: 0 0 0 auto; text-align: center; font-weight: 600; }
section.ratings .head-wrapper b.green { color: var(--green); }
section.ratings .stars { display: flex; align-items: center; justify-content: center; cursor: pointer; }
section.ratings .stars span { background: #ddd; -webkit-mask-image: url("/modules/teambuilding/images/star.svg"); -webkit-mask-repeat: no-repeat; -webkit-mask-position: center center; -webkit-mask-size: cover; }
section.ratings .stars span.filled { background: var(--green); }
section.ratings .overall-rating { font-size: 30px; font-weight: 800; color: var(--green); text-align: center; }
section.ratings .head .stars { padding: 20px 0; }
section.ratings .reviews-count { text-align: center; font-weight: 700; font-size: 18px; }
section.ratings h4 { font-size: 24px; margin-bottom: 24px; }
section.ratings .stars.low { gap: 4px; }
section.ratings .stars.low span { width: 24px; height: 24px; }
.rates { display: flex; align-items: center; justify-content: center; gap: 16px; flex-direction: column; }
.rate-wrapper { display: flex; align-items: center; justify-content: flex-start; width: 100%; font-weight: 800; white-space: nowrap; }
.rate-wrapper .date { flex-grow: 1; }
.rate-wrapper .stars { padding-right: 20px; }
.rate-wrapper .precentage { min-width: 60px; text-align: right; }
.rate-wrapper .count { min-width: 80px; text-align: right; }
.rate-wrapper .rating-progress { flex-grow: 1; width: 100%; height: 5px; background: #d0d0d0; position: relative; overflow: hidden; border-radius: 2px; }
.rate-wrapper .progress-bar { position: absolute; left: 0; top: 0; height: 100%; background: var(--green); transition: 0.3s linear; }
.rate-wrapper .progress-bar[data-id] { width: calc(100% * (attr(data-id type(<number>)) / 100)); }
.review-container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-direction: column; }
.review-container .review { border: 1px solid #ddd; border-radius: 12px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 40px 50px; }
.review .avatar { min-width: 13%; padding-right: 40px; }
.review .avatar .image { width: 130px; height: 130px; border-radius: 100%; background: #eff8f0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.review .avatar .image img { width: 80%; margin: auto; }
.review .title { min-width: 200px; }
.review .title > div { font-weight: 400; font-size: 14px; opacity: 0.6; }
.review p.content { margin: 0; line-height: 150%; flex-grow: 1; }
.review .right { padding-left: 40px; }
.review .created { text-align: right; font-size: 13px; padding-top: 20px; }

@media (max-width: 1440px) { 
.banner .container { height: 500px; }
.banner .info-wrapper { width: calc(100% - 120px); left: 60px; bottom: -55px; }
.banner .info-wrapper > div { height: 110px; }
.description img { margin: 40px 0; width: 540px; height: 540px; }
.rating h2 { font-size: 40px; }
.rating .box { width: 820px; height: 510px; }
.rating .slides { width: 100%; padding: 70px 80px 0; }
.rating .bottom { bottom: 70px; }
section.ratings .head-wrapper h3 { font-size: 26px; }
section.ratings .head-wrapper .head { height: 200px; padding: 0px 40px; margin: 30px 0; }
section.ratings .head-wrapper .head .stars span { width: 40px; height: 40px; }
section.ratings .overall-rating { font-size: 26px; }
section.ratings .reviews-count { font-size: 16px; }
section.ratings .stars.low span { width: 20px; height: 20px; }
.review-container .review { padding: 30px 40px; }
.review .avatar .image { width: 110px; height: 110px; }
}

@media (max-width: 1280px) { 
.banner .container { height: 400px; }
.description img { margin: 60px 0; width: 440px; height: 440px; }
.banner .info-wrapper { width: calc(100% - 80px); left: 40px; }
.banner .info-wrapper > div > div { max-width: 80%; }
.review .avatar { min-width: 14%; padding-right: 40px; }
section.ratings .head-wrapper { flex-wrap: wrap; gap: 16px; }
section.ratings .head-wrapper > div:nth-child(1) { width: 100%; }
section.ratings .head-wrapper > div:nth-child(2) { width: 100%; }

}

@media (max-width: 1024px) { 
section.banner { padding: 40px 0; }
.banner .info-wrapper { flex-wrap: wrap; justify-content: center; position: relative; bottom: initial; padding-top: 40px; }
.banner .info-wrapper > div { min-width: 260px; max-width: 360px; flex: 1; height: 80px; }
.banner .container { height: initial; display: block; }
.banner .info-wrapper > div { justify-content: flex-start; padding-left: 20px; }
.banner .info-wrapper > div > div { max-width: 90%; }
.description .contents { text-align: center; }
.description .contents:nth-child(1) { padding-right: 0px; }
.description .contents:nth-child(2) { padding-left: 0px; }
.description .wrapper { flex-direction: column; gap: 20px; }
.description img { margin: auto; width: 100%; height: initial; }
.description .contents:nth-child(2) { order: 1; }
.description img:nth-child(1) { order: 2; }
.rating { align-items: flex-end; }
.rating .box { width: 100%; height: initial; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rating .slides { padding: 60px 20px 40px 20px; }
.rating h2 { font-size: 20px; padding: 0; }
.rating .bottom { position: relative; bottom: initial; left: initial; transform: initial; padding: 50px 0 0; }
.rating .buttons { margin-top: 40px; }
section.ratings h2 { padding: 0; }
section.ratings .head-wrapper .head { height: initial; padding: 30px 20px; }
section.ratings .head-wrapper .head-box { flex-wrap: wrap; gap: 20px; }
section.ratings .head-wrapper .head-box > div { margin: auto; }
}
