body.br-lock-scroll {
  overflow: hidden;
  touch-action: none;
  position: relative;
  height: 100vh;
}

/* ====================== BADGE ====================== */
.br-google-review-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    width: 180px;
    text-align: center;
}

.br-google-review-logo {
    width: 35px;
    height: 35px;
    margin: 5px auto;
}

.br-google-review-rating {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
}

.br-google-review-label {
    font-size: 12px;
    color: gray;
    text-decoration: underline;
}

.br-google-review-stars {
    color: #ffc107;
    margin: 5px 0;
}

.br-google-review-mobile-info {
    display: none;
}

/* ====================== DRAWER ====================== */
.br-google-review-banner {
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 300px;
    margin: auto;
}

.br-google-review-banner h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.br-google-review-banner .brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.br-google-review-banner span {
    font-weight: bolder;
    font-size: 17px;
}

.br-google-review-banner .brand-logo {
    width: 80px;
}

.br-google-review-banner-stars{
    color: #ffc107;
    font-weight: bolder;
    font-size: 25px !important;
}

.br-google-review-banner-average-rating{
    font-size: 20px !important;
}

.br-google-review-banner-review-count{
    font-size: 15px !important;
    font-weight: normal !important;
}

.br-google-review-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE dan Edge */
}


.br-google-review-drawer::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.br-google-review-drawer.open {
    transform: translateX(0);
}

.br-google-review-drawer-close {
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
    font-size: 25px;
}

.br-google-review-card {
    background: #faf9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.br-google-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
}

.br-google-review-avatar {
    background: #1976d2;
    color: #fff;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin-right: 10px;
}

.br-google-review-meta strong {
    display: block;
    font-size: 14px;
}

.br-google-review-meta span {
    font-size: 12px;
    color: #888;
}

.br-google-review-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.br-google-review-read-more {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
}

.br-google-review-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}
.br-google-review-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
}
.br-google-review-overlay.open {
  display: block;
}


/* ====================== MOBILE ADAPTATION ====================== */
@media (max-width: 768px) {
    .br-google-review-drawer{
        width: 320px;
    }
    .br-google-review-badge {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 10px 15px;
    gap: 8px;
    }
    .br-google-review-desktop-info,
    .br-google-review-rating,
    .br-google-review-label {
    display: none;
    }

    .br-google-review-logo {
    width: 39px;
    height: 39px;
    margin: 0;
    }

    .br-google-review-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    }

    .br-google-review-mobile-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 2px;
    }

    .br-google-review-stars {
    font-size: 20px;
    margin: 0;
    }
}

@media (max-width: 400px) {
    .br-google-review-stars{
        font-size: 14px;
        margin-bottom: 0 !important;
    }
    .br-google-review-mobile-title {
        font-size: 14px;
        margin-bottom: 0 !important;
    }
    .br-google-review-badge{
        padding: 2px 13px;
    }
    
    .br-google-review-drawer{
        width: 80%;
    }
}

@media (max-width: 350px) {
    .br-google-review-logo{
        width: 25px;
        height: 25px;
    }
    .br-google-review-stars{
        font-size: 12px;
        margin-bottom: 0 !important;
    }
    .br-google-review-mobile-title {
        font-size: 13px;
        margin-bottom: 0 !important;
    }
    .br-google-review-badge{
        padding: 1px 7px;
    }
    
    .br-google-review-drawer{
        width: 80%;
    }
}