/**
 * Frontend Styles - Booking Reviews.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

.pbr-showcase-container {
    width: 100%;
    max-width: 980px;
    margin: 40px auto;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.pbr-showcase-container * {
    box-sizing: border-box;
}

/* Main Split Card */
.pbr-card {
    display: flex;
    flex-direction: row;
    min-height: 460px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 30, 80, 0.09);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* =========================================
   LEFT COLUMN - Booking.com Score & Brand
   ========================================= */
.pbr-left-col {
    flex: 0 0 35%;
    max-width: 350px;
    background: #003580; /* Official Booking Blue */
    background: linear-gradient(180deg, #003580 0%, #00224f 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 45px 30px;
    position: relative;
    z-index: 2;
}

/* Booking Logo */
.pbr-brand-box {
    margin-bottom: 24px;
}

.pbr-booking-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.pbr-logo-badge {
    background: #ffffff;
    color: #003580;
    font-weight: 900;
    font-size: 16px;
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1;
    display: inline-block;
}

.pbr-logo-text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #ffffff;
}

/* Score */
.pbr-score-box {
    margin-bottom: 16px;
}

.pbr-score-number {
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pbr-score-label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Highlight Text */
.pbr-highlight-box {
    margin-bottom: 28px;
    padding: 0 5px;
}

.pbr-highlight-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 250px;
}

/* CTA Button */
.pbr-cta-box {
    width: 100%;
}

.pbr-cta-button {
    display: inline-block;
    background: #f58220; /* Vibrant Booking Orange */
    background: linear-gradient(180deg, #ff8a00 0%, #e67300 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
    border: none;
    cursor: pointer;
}

.pbr-cta-button:hover {
    background: linear-gradient(180deg, #ff981a 0%, #d96600 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.45);
    color: #ffffff !important;
}

.pbr-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.3);
}

/* =========================================
   RIGHT COLUMN - Testimonials Slider
   ========================================= */
.pbr-right-col {
    flex: 1 1 65%;
    background: #ffffff;
    padding: 40px 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pbr-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Slide Container */
.pbr-slides-container {
    position: relative;
    width: 100%;
    min-height: 270px;
}

.pbr-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-out;
    transform: translateY(8px);
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pbr-slide.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: pbrFadeIn 0.45s ease-out forwards;
}

@keyframes pbrFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sun and Sea Emblem */
.pbr-author-emblem {
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbr-sun-icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

/* Author Name */
.pbr-author-name {
    font-size: 23px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

/* Country / Location */
.pbr-author-meta {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 22px;
}

.pbr-meta-date {
    margin-left: 4px;
    color: #94a3b8;
}

/* Review Quote */
.pbr-comment-wrapper {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 10px;
}

.pbr-comment-text {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    color: #475569;
    font-weight: 400;
    margin: 0;
    padding: 0;
    quotes: "“" "”";
    font-style: normal;
    text-align: center;
}

/* Nav Arrows (Subtle) */
.pbr-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    display: none !important; /* Esconde as setas para ficar igual ao original */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0 !important;
    opacity: 0.4;
    box-shadow: none !important;
}

.pbr-slider-wrapper:hover .pbr-nav-arrow {
    opacity: 0.85;
}

.pbr-nav-arrow:hover {
    opacity: 1 !important;
    background: #003580;
    color: #ffffff;
    border-color: #003580;
    transform: translateY(-50%) scale(1.08);
}

.pbr-nav-prev {
    left: -15px;
}

.pbr-nav-next {
    right: -15px;
}

/* =========================================
   PAGINATION DOTS (Blue Pill style from image)
   ========================================= */
.pbr-pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 25px;
    padding: 6px 0;
}

.pbr-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #90cdf4 !important; /* Light Soft Blue */
    border: none !important;
    padding: 0 !important;
    margin: 0 4px !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.pbr-dot:hover {
    background-color: #4299e1 !important;
}

/* Active Pill Dot from the Reference Image */
.pbr-dot.is-active {
    width: 26px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background-color: #3182ce !important; /* Vivid Active Blue */
}

/* =========================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================= */
@media (max-width: 820px) {
    .pbr-card {
        flex-direction: column;
        min-height: auto;
    }

    .pbr-left-col {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 35px 20px;
    }

    .pbr-score-number {
        font-size: 64px;
    }

    .pbr-right-col {
        flex: 1 1 auto;
        padding: 35px 20px 25px;
    }

    .pbr-nav-arrow {
        display: none; /* Swipe & dots suffice on mobile */
    }

    .pbr-comment-text {
        font-size: 15px;
    }

    .pbr-sun-icon {
        width: 70px;
        height: 70px;
    }
}
