html {
  height: 100%;
}

body {
    background-color: white;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.foodplan__bg_grey {
    background-color: #F5F5F5;
}

.foodplan_green {
    color: #91B93E;
}

.foodplan__border_green {
    border-color: #91B93E;
}

.foodplan_orange {
    color: #fe9700;
}

.foodplan__card_borderless {
    border: none;
}

.foodplan__shadow {
    border: none;
    box-shadow: 0 0 18px rgb(0 0 0 / 10%);
}

.foodplan__bg_orange {
    background-color: #fe9700;
}

.foodplan__bg_green {
    background-color: #91B93E;
}

.foodplan_selected:checked ~ .img_selected {
    display: block;
}
.foodplan_selected1:hover ~ .img_selected {
    display: block;
    border: none;
    box-shadow: 0 0 30px #91B93E;
}
.foodplan_selected:hover:not(.foodplan_selected:checked)~.img_selected {
    display: block;
    border: none;
    box-shadow: 0 0 15px #91B93E;
}
.img_selected {
    display: none;
    position: absolute;
    width: 86%;
    height: 86%;
    top: 8%;
    left: 8%;
    border-radius: 50%;
    border: #91B93E solid 2px;
    box-shadow: 0 0 30px #91B93E;
}

.foodplan__head_bg {
    background-image: url(/static/img/head-bg.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

.foodplan__head_desc {
    backdrop-filter: saturate(180%) blur(5px);
    background-color: rgba(255, 255, 255, 0.72);
}

.foodplan__mobapp {
    background-image: url(/static/img/phone.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    background-size: contain;
}

.foodplan__backButton {
    position: absolute;
    left: 2rem;
    top: 30%;
    text-decoration: none;
}

.foodplan__backButton :hover {
    color: #91B93E;
}

@media (max-width: 991px) {
    .mob__container {
        width: 100% !important;
    }
}

.foodplan__creator {
    background-image: url(/static/img/avatar.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 576px) {
    .foodplan__head {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }
    .foodplan__head_bg {
        background-image: none;
    }
    .foodplan__story {
        max-width: 91vw;
    }
}

@media (max-width: 768px) {
    .foodplan__mobapp {
        background-image: none;
    }
    .foodplan__mobapp_desc {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }
    .carousel__container {
        width: 100% !important;
    }
    .w-md-50 {
        width: 100% !important;
        text-align: center;
    }
    .w-md-75 {
        width: 100% !important;
    }
}

.w-md-50 {
    width: 50%;
}

.w-md-50 {
    width: 75%;
}

@media (max-width: 992px) {
    .navbar__sideBtns {
        display: none;   
    }
}

.carousel-item__gradient {
    background: linear-gradient(180deg, rgba(0,0,0,0.8),  rgba(0,0,0,0),  rgba(0,0,0,0));
}

.navbar__opacity {
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid lightgray;
}

.carousel__button_prev {
  width: auto;
}

.carousel__button_next {
  width: auto;
}

.foodplan__tab-item {
  border-bottom: #91B93E solid 1px;
}

.foodplan__tab-item .active {
  border-bottom: #91B93E solid 3px !important;
}

.order__col {
    cursor: pointer;
    position: absolute;
    height: 820%;
    width: 100%;
    top: 0;
    left: 0;
}

.foodplan__radio:checked ~ label {
    background-color: #91B93E;
    opacity: 40%;
}

.avatar__plus {
    width: 24px;
    height: 24px;
}

.nav-item__border {
    position: relative;
}

.foodplan__review-btn {
    transition: all 0.3s ease;
}

.foodplan__review-btn:hover {
    background-color: #91B93E;
    color: white !important;
    border-color: #91B93E;
}

.stars {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.star {
    font-size: 2.5rem;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.star:hover ~ .star {
    color: #ddd;
}

.stars .star.active {
    color: #ffc107;
}

.reviews-wrapper {
    position: relative;
    padding: 20px 0;
}

.reviews-scroll-container {
    overflow-x: hidden;
    position: relative;
}

.reviews-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 10px 5px 20px 5px;
}

.reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: #91B93E;
    border-radius: 10px;
}

.reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: #7a9e32;
}

.review-card-wrapper {
    flex: 0 0 300px;
    min-width: 300px;
}

.review-card {
    width: 100%;
    height: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.review-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.review-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star {
    font-size: 1.25rem;
    line-height: 1;
}

.star-filled {
    color: #FFD700;
}

.star-empty {
    color: #ddd;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    overflow-y: auto;
    max-height: 150px;
    padding-right: 5px;
}

.review-text::-webkit-scrollbar {
    width: 4px;
}

.review-text::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.review-text::-webkit-scrollbar-thumb {
    background: #91B93E;
    border-radius: 10px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    color: #91B93E;
}

.scroll-btn:hover {
    background: #91B93E;
    color: white;
    box-shadow: 0 4px 15px rgba(145, 185, 62, 0.3);
}

.scroll-btn-left {
    left: -20px;
}

.scroll-btn-right {
    right: -20px;
}

@media (min-width: 768px) {
    .nav-item__border:hover:before {
        content: "";
        position: absolute;
        width: 100%;
        bottom: 0;
        height: 4px;
        color: #91B93E;
        background-color: #91B93E;
    }
}

@media (max-width: 576px) {
  .carousel__button_prev {
    left: -24px;
  }
  .carousel__button_next {
    right: -24px;
  }
}

@media (min-width: 577px) {
  .carousel__button_prev {
    left: -36px;
  }
  .carousel__svg_prev {
      width: 32px;
      height: 32px;
  }
  .carousel__button_next {
    right: -36px;
  }
  .carousel__svg_next {
      width: 32px;
      height: 32px;
  }
}
