/* =============================================
   REVIEW DOKUMEN — Clean UI Styles (No Animation)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --rv-blue: #4F8EF7;
    --rv-blue-deep: #2563EB;
    --rv-blue-soft: #EBF3FE;
    --rv-green: #10b981;
    --rv-bg: #f0f5ff;
    --rv-text: #1a1a2e;
    --rv-muted: #64748b;
    --rv-glass: rgba(255, 255, 255, 0.82);
    --rv-shadow: 0 4px 20px rgba(79, 142, 247, 0.10);
    --rv-border: rgba(255, 255, 255, 0.65);
}

* {
    box-sizing: border-box;
}

/* ────────────────────────────────────────────
   TOPBAR
──────────────────────────────────────────── */
.rv-topbar {
    background: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.rv-topbar a {
    display: flex;
    align-items: center;
    color: var(--rv-blue);
    flex-shrink: 0;
}

.rv-topbar h1 {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    flex: 1;
    font-family: 'Inter', sans-serif;
}


/* ────────────────────────────────────────────
   PAGE WRAPPER
──────────────────────────────────────────── */
.rv-page {
    position: relative;
    background: linear-gradient(160deg, #dbeafe 0%, #f0f7ff 40%, #f0fdf4 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ────────────────────────────────────────────
   HERO BANNER
──────────────────────────────────────────── */
.rv-hero {
    position: relative;
    margin: 16px 14px 0;
}

.rv-hero-card {
    background: #7EACEF;
    border-radius: 28px;
    padding: 26px 20px 28px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 12px 40px rgba(79, 142, 247, 0.25),
        0 4px 16px rgba(79, 142, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
}

/* Decorative orbs inside hero */
.rv-hero-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.rv-hero-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.rv-hero-emoji {
    font-size: 30px;
    margin-bottom: 8px;
    display: block;
}

.rv-hero-title {
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.rv-hero-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    max-width: 210px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

/* Hero CTA button */
.rv-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.22);
    border: 1.5px solid rgba(255, 255, 255, 0.40);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 20px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

/* Static illustration */
.rv-hero-illustration {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.rv-illus-stack {
    position: relative;
    width: 72px;
    height: 90px;
}

.rv-illus-doc {
    position: absolute;
    width: 58px;
    height: 72px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.rv-illus-doc:nth-child(1) {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
    opacity: 0.7;
}

.rv-illus-doc:nth-child(2) {
    top: 4px;
    left: 4px;
    transform: rotate(-3deg);
    z-index: 2;
    opacity: 0.85;
}

.rv-illus-doc:nth-child(3) {
    top: 10px;
    left: 10px;
    transform: rotate(2deg);
    z-index: 3;
}

.rv-illus-line {
    height: 4px;
    border-radius: 2px;
    background: rgba(79, 142, 247, 0.35);
}

.rv-illus-line:nth-child(1) {
    width: 80%;
}

.rv-illus-line:nth-child(2) {
    width: 100%;
}

.rv-illus-line:nth-child(3) {
    width: 65%;
}

.rv-illus-line:nth-child(4) {
    width: 90%;
}

.rv-illus-line:nth-child(5) {
    width: 75%;
}

.rv-illus-checkmark {
    margin-top: auto;
    width: 16px;
    height: 16px;
    background: var(--rv-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero stats */
.rv-hero-stats {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.rv-hero-stat {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 10px 8px;
    text-align: center;
    flex: 1;
}

.rv-hero-stat-val {
    font-size: 18px;
    font-weight: 900;
    color: white;
    display: block;
    line-height: 1;
}

.rv-hero-stat-key {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ────────────────────────────────────────────
   SEARCH SECTION
──────────────────────────────────────────── */
.rv-search-section {
    position: sticky;
    top: 52px;
    z-index: 150;
    padding: 12px 14px 8px;
    background: rgba(240, 245, 255, 0.97);
    border-bottom: 1px solid rgba(79, 142, 247, 0.08);
    box-shadow: 0 2px 10px rgba(79, 142, 247, 0.05);
}

.rv-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 14px;
    padding: 10px 16px;
    border: 1.5px solid rgba(79, 142, 247, 0.12);
    box-shadow: 0 2px 10px rgba(79, 142, 247, 0.06);
}

.rv-search-form:focus-within {
    border-color: var(--rv-blue);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.10);
}

.rv-search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 12.5px;
    background: transparent;
    color: var(--rv-text);
    font-family: 'Inter', sans-serif;
}

.rv-search-form input::placeholder {
    color: #aab4c4;
}

.rv-search-btn {
    background: var(--rv-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(79, 142, 247, 0.25);
}

/* ────────────────────────────────────────────
   FILTER BUBBLES
──────────────────────────────────────────── */
.rv-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px 4px;
    scrollbar-width: none;
    position: relative;
    z-index: 5;
}

.rv-filters::-webkit-scrollbar {
    display: none;
}

.rv-filter-bubble {
    font-size: 11px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    border: 1.5px solid transparent;
}

.rv-filter-bubble.active {
    background: var(--rv-blue);
    color: white;
    box-shadow: 0 3px 12px rgba(79, 142, 247, 0.30);
    border-color: transparent;
}

.rv-filter-bubble.inactive {
    background: white;
    color: var(--rv-muted);
    border-color: rgba(79, 142, 247, 0.13);
    box-shadow: 0 2px 6px rgba(79, 142, 247, 0.06);
}

/* ────────────────────────────────────────────
   BODY / CONTENT AREA
──────────────────────────────────────────── */
.rv-body {
    padding: 14px 14px 130px;
    position: relative;
    z-index: 5;
}

/* Why Section text block */
.rv-why-block {
    background: white;
    border-radius: 20px;
    padding: 18px 18px;
    margin-bottom: 20px;
    border: 1.5px solid rgba(79, 142, 247, 0.10);
    box-shadow: 0 3px 14px rgba(79, 142, 247, 0.07);
    position: relative;
}

.rv-why-block h2 {
    font-size: 15px;
    font-weight: 900;
    color: var(--rv-text);
    margin-bottom: 7px;
    letter-spacing: -0.3px;
}

.rv-why-block p {
    font-size: 12px;
    color: var(--rv-muted);
    line-height: 1.65;
    margin: 0;
}

/* ────────────────────────────────────────────
   SERVICE CARDS
──────────────────────────────────────────── */
.rv-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.rv-service-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(79, 142, 247, 0.08);
    border: 1.5px solid rgba(79, 142, 247, 0.10);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

/* Card thumbnail */
.rv-card-thumb {
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
}

.rv-card-thumb-banner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}

.rv-card-thumb-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #1e4db0 100%);
}

.rv-card-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 850;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3px;
}

.rv-card-thumb-text {
    position: relative;
    z-index: 2;
    padding: 8px 10px 4px;
}

.rv-card-thumb-tag {
    font-size: 8px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.rv-card-thumb-title {
    font-size: 13px;
    font-weight: 900;
    color: #facc15;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.rv-card-mentor-img {
    position: absolute;
    bottom: -10px;
    right: -8px;
    height: 95px;
    width: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
}

/* Card body */
.rv-card-body {
    padding: 11px 12px 12px;
}

.rv-card-type {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--rv-text);
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.rv-card-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.rv-card-price {
    font-size: 11.5px;
    font-weight: 900;
    color: var(--rv-blue-deep);
}

.rv-card-price-strike {
    font-size: 9px;
    color: #cbd5e1;
    text-decoration: line-through;
    font-weight: 500;
}

.rv-card-meta-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--rv-muted);
    margin-bottom: 3px;
}

.rv-card-meta-icon {
    flex-shrink: 0;
}

.rv-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: #f59e0b;
    font-weight: 700;
}

/* ────────────────────────────────────────────
   MULAI REVIEW BUTTON
──────────────────────────────────────────── */
.rv-mulai-btn {
    display: block;
    width: 100%;
    background: var(--rv-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(79, 142, 247, 0.30);
    letter-spacing: 0.3px;
}


/* position context for admin icons */
.rv-service-card,
.rv-why-block,
.rv-hero-card,
.rv-filter-bubble {
    position: relative;
}

.rv-sec-title {
    font-size: 15px;
    font-weight: 900;
    color: var(--rv-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.rv-sec-dot {
    width: 8px;
    height: 8px;
    background: var(--rv-blue);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.rv-sec-sub {
    font-size: 11.5px;
    color: var(--rv-muted);
    margin-bottom: 16px;
    line-height: 1.55;
}

/* ────────────────────────────────────────────
   PAGINATION — anchored
──────────────────────────────────────────── */
.rv-pagination-wrap {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 390px;
    padding: 12px 16px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(79, 142, 247, 0.15);
    z-index: 900;
}

.rv-pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.rv-pagination-wrap .pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rv-pagination-wrap .page-item .page-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(79, 142, 247, 0.15);
    color: var(--rv-muted);
    background: #f8fbff;
    transition: all 0.2s ease;
}

.rv-pagination-wrap .page-item.active .page-link {
    background: var(--rv-blue);
    color: white;
    border-color: var(--rv-blue);
    box-shadow: 0 4px 12px rgba(79, 142, 247, 0.30);
}

.rv-pagination-wrap .page-item:not(.active):not(.disabled) .page-link:hover {
    background: var(--rv-blue-soft);
    color: var(--rv-blue);
    border-color: var(--rv-blue);
}

.rv-pagination-wrap .page-item.disabled .page-link {
    opacity: 0.3;
    pointer-events: none;
}

.rv-page-info {
    text-align: center;
    font-size: 11px;
    color: #aab4c4;
    margin-top: 10px;
}

/* ────────────────────────────────────────────
   UNILIFE FOOTER BANNER — anchored
──────────────────────────────────────────── */
.rv-unilife-banner {
    background: linear-gradient(135deg, var(--rv-blue) 0%, var(--rv-blue-deep) 100%);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    box-shadow: 0 6px 24px rgba(79, 142, 247, 0.22);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.rv-unilife-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.rv-unilife-logo-wrap {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
}

.rv-unilife-text {
    flex: 1;
    min-width: 0;
}

.rv-unilife-text h4 {
    font-size: 13px;
    font-weight: 900;
    color: white;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.rv-unilife-text p {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.80);
}

/* ────────────────────────────────────────────
   TOAST
──────────────────────────────────────────── */
.rv-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 41, 59, 0.92);
    color: white;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rv-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* position context for admin icons */
.rv-service-card,
.rv-why-block,
.rv-hero-card,
.rv-filter-bubble {
    position: relative;
}