/* === NEW HERO PROFILE DESIGN === */
.member-hero-container {
    width: 100%;
    position: relative;
    z-index: 10;
}

.member-hero-glass {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.member-hero-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(162, 53, 219, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.member-hero-content {
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    gap: 40px;
    align-items: center;
}

/* Avatar Styling */
.member-hero-avatar {
    position: relative;
    display: flex;
    justify-content: center;
}

.avatar-render-wrapper {
    position: relative;
    z-index: 2;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-render-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
}

.member-hero-avatar:hover .avatar-render-wrapper {
    transform: translateY(-10px) scale(1.05);
}

.avatar-shadow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 15px;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(10px);
    border-radius: 50%;
    z-index: 1;
}

/* Info Section */
.hero-label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.hero-name {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Trust Score */
.trust-score-section {
    max-width: 350px;
    margin-bottom: 30px;
}

.trust-score-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.trust-percent {
    color: #2ecc71;
    font-size: 18px;
    font-weight: 800;
}

.trust-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.trust-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
    border-radius: 10px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-hero {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #FFA500;
    color: #000;
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.2);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.4);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-status-tag {
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.status-locked {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Quick Stats */
.member-hero-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
}

.hero-stat-item {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    align-items: center;
    gap: 10px;
}

.h-stat-icon { font-size: 16px; }
.hero-stat-item.positive .h-stat-icon { color: #2ecc71; }
.hero-stat-item.neutral .h-stat-icon { color: #f1c40f; }
.hero-stat-item.negative .h-stat-icon { color: #e74c3c; }

.h-stat-value { font-size: 18px; font-weight: 800; color: #fff; }
.h-stat-label { font-size: 11px; color: #64748b; text-transform: uppercase; font-weight: 700; }

/* Compact Header */
.compact-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 25, 0.4);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-back-minimal {
    color: #64748b;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.header-mid { text-align: center; }
.header-mid h2 { font-size: 18px; color: #fff; margin: 0; }
.header-mid span { font-size: 11px; color: #64748b; text-transform: uppercase; }

@media (max-width: 1100px) {
    .member-hero-content { grid-template-columns: 150px 1fr; }
    .member-hero-stats { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .member-hero-glass { padding: 25px 20px; }
    .member-hero-content { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .member-hero-avatar { margin: 0 auto 10px auto; max-width: 160px; }
    .hero-name { font-size: 32px; margin-bottom: 15px; }
    .trust-score-section { margin: 0 auto 25px; }
    .hero-actions { justify-content: center; flex-direction: column; width: 100%; gap: 10px; }
    .hero-actions .btn-hero, .hero-actions .hero-status-tag { width: 100%; justify-content: center; }
    .member-hero-stats { grid-template-columns: 1fr; grid-template-rows: auto; gap: 15px; }
    .hero-stat-item { padding: 5px 20px; }
}

/* === MODERNIZED REVIEW CARDS === */
.reviews-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    align-items: start;
}

.review-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 25px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 200px;
}

/* Rating Icon Colors */
.text-success { color: #2ecc71 !important; }
.text-warning { color: #f1c40f !important; }
.text-danger { color: #e74c3c !important; }

.review-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.review-time {
    font-size: 11px;
    color: #64748b;
    display: block;
}

.review-rating-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 16px;
}

.review-content {
    position: relative;
    overflow: hidden;
}

.is-long-review .review-content {
    padding-bottom: 25px; /* Added space so the show more button doesn't get cut off */
}

.review-content p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.3s;
}

.review-card-modern:hover .review-content p {
    -webkit-line-clamp: unset;
    display: block;
}

/* Show More Overlay - NO GRADIENT, CLEAN CUT */
.show-more-overlay {
    position: absolute;
    bottom: 0px; /* Reset bottom since we have padding now */
    left: 0;
    width: 100%;
    height: 30px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    pointer-events: none;
    z-index: 10;
}

.show-more-text {
    color: #FFA500;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.review-card-modern:hover .show-more-overlay {
    opacity: 0;
    visibility: hidden;
}

/* Hide reply button for long reviews initially */
.is-long-review .reply-container {
    display: none;
}

.is-long-review:hover .reply-container {
    display: block;
    animation: fadeIn 0.4s ease;
}

.show-more-overlay i {
    margin-left: 6px;
    animation: bounce 2s infinite;
    font-size: 10px;
}

.review-card-modern:hover .show-more-overlay {
    opacity: 0;
    visibility: hidden;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.review-card-modern:hover .show-more-overlay {
    opacity: 0;
}

.show-more-overlay i {
    margin-left: 5px;
    animation: bounce 2s infinite;
}

.review-card-modern:hover .show-more-overlay {
    opacity: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

/* Admin Reply Bubble */
.reply-chat-layout {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    animation: slideInUp 0.4s ease;
}

.admin-head-wrapper {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.admin-head-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.reply-chat-bubble {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.15);
    padding: 12px 18px;
    border-radius: 4px 18px 18px 18px;
    position: relative;
    flex-grow: 1;
}

.bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bubble-author {
    font-size: 12px;
    font-weight: 800;
    color: #FFA500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bubble-author::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
    color: #2ecc71;
}

.bubble-message {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Button Reveal Reply */
.btn-reveal-reply {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-reveal-reply:hover {
    background: #FFA500;
    color: #000;
}

.fade-in-reply {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .reviews-grid-modern { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .reviews-grid-modern { grid-template-columns: 1fr; }
}


.empty-state-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    color: #444;
}

.empty-state-reviews i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.5;
}


/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-decoration: none;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--col-primary);
    color: #000;
    border-color: var(--col-primary);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.pagination-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}


/* === LOGIN MODAL === */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.login-modal-overlay.active .login-modal {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal-btn:hover {
    color: #fff;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.login-header p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

.login-form-premium {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group-premium {
    position: relative;
}

.input-group-premium i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-group-premium input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 15px 15px 50px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

.input-group-premium input:focus {
    border-color: var(--col-primary);
    background: rgba(255, 255, 255, 0.08);
    /* fixed from .08 */
    outline: none;
}

.btn-login-submit {
    background: var(--col-primary);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-login-submit:hover {
    background: #fff;
    color: var(--col-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}



/* Responsive */
@media (max-width: 900px) {
    .rating-stats-grid {
        grid-template-columns: 1fr;
    }

    .rating-header-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .page-count-modern {
        position: static;
        transform: none;
        padding: 20px 0;
    }

    .reviews-grid-modern {
        grid-template-columns: 1fr;
    }

    .review-card-modern {
        height: auto;
        min-height: auto;
    }

    /* Disable fancy hover on mobile */
    .review-card-modern .review-content-wrapper {
        height: auto;
        position: static;
        border-color: rgba(255, 255, 255, 0.05);
        background: #111;
        /* Reset bg */
    }

    .review-card-modern:hover {
        transform: none;
        box-shadow: none;
        height: auto;
        z-index: 1;
    }

    .review-card-modern:hover .review-content-wrapper {
        position: static;
        width: auto;
        height: auto;
        border: 1px solid rgba(255, 255, 255, 0.05);
        /* Reset border */
        box-shadow: none;
    }

    .show-more-overlay {
        display: none;
        /* Hide interactive overlay on mobile, show full text always or use simple clamp */
    }

    .review-content p {
        -webkit-line-clamp: unset;
    }
}

.mt-100 {
    margin-top: 100px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* REVIEW MODAL PREMIUM STYLES */
.textarea-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: #eee;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s;
}

.textarea-group textarea:focus {
    outline: none;
    border-color: #3f87f5;
    /* Blue focus */
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(63, 135, 245, 0.2);
}

.input-label {
    display: block;
    color: #bbb;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.custom-select-premium {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    outline: none;
    cursor: pointer;
}

.custom-select-premium option {
    background: #222;
    color: #fff;
    padding: 10px;
}

/* Blue Button Variant */
.btn-blue-glow {
    background: linear-gradient(135deg, #3f87f5 0%, #2a5caa 100%);
    box-shadow: 0 10px 25px rgba(63, 135, 245, 0.3);
    margin-top: 25px;
}

.btn-blue-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(63, 135, 245, 0.4);
}

/* Modal Animation */
.modal-animate {
    animation: modalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.header-line {
    width: 50px;
    height: 3px;
    background: #3f87f5;
    margin: 10px auto 0;
    border-radius: 2px;
}


/* Type Selector Styles */
.rating-type-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* === EXPANDED CARD LOGIC FOR JS TOGGLE === */
.review-card-modern.expanded-card {
    height: auto !important;
    min-height: 220px;
    z-index: 10 !important;
}

.review-card-modern.expanded-card .review-content-wrapper {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    background: #111;
    border-color: var(--col-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 11;
    overflow: visible !important;
}

.review-card-modern.expanded-card .review-content p {
    -webkit-line-clamp: unset !important;
    color: #fff;
}

.review-card-modern.expanded-card .show-more-overlay {
    display: none !important;
}


.type-option {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #888;
}

.type-option i {
    font-size: 20px;
    transition: all 0.3s;
}

.type-option span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effects */
.type-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Selected States */
.type-option.selected {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.option-positive.selected {
    background: rgba(46, 204, 113, 0.15) !important;
    border-color: #2ecc71 !important;
    color: #2ecc71 !important;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2) !important;
}

.option-neutral.selected {
    background: rgba(241, 196, 15, 0.15) !important;
    border-color: #f1c40f !important;
    color: #f1c40f !important;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.2) !important;
}

.option-negative.selected {
    background: rgba(231, 76, 60, 0.15) !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.2) !important;
}

/* Specific Icon Colors on Hover */
.option-positive:hover i {
    color: #2ecc71;
}

.option-neutral:hover i {
    color: #f1c40f;
}

.option-negative:hover i {
    color: #e74c3c;
}

/* ADJUST MODAL WIDTH */
.login-modal {
    max-width: 500px !important;
    /* WIDER */
    width: 90% !important;
}

.char-count-indicator {
    text-align: right;
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    font-weight: 600;
}


/* Admin Delete Button */
.btn-delete-review {
    background: rgba(231, 76, 60, 0.1);
    /* Subtle red bg */
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-delete-review:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
    transform: scale(1.1);
}

/* ADMIN REPLY STYLES */
.btn-reply-action {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-reply-action:hover {
    background: var(--col-primary);
    color: #fff;
    transform: rotate(15deg);
}

/* REDESIGNED ADMIN REPLY (INTERACTIVE) */
.interactive-reply-wrapper {
    margin-top: 15px;
    transition: all 0.3s ease;
}



/* Hidden Content Layout */
.hidden-reply-content {
    margin-top: 30px;
    /* Increased from 20px */
    padding-left: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    /* Increased from 20px */
}

.fade-in-reply {
    animation: fadeIn 0.4s ease-out;
}

.reply-chat-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.admin-head-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.2);
    /* Subtle Gold Border */
}

.admin-head-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reply-chat-bubble {
    background: #181818;
    border-radius: 0 15px 15px 15px;
    /* Bubble shape */
    padding: 20px;
    flex: 1;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Bubble Triange */
.reply-chat-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 15px solid #181818;
    border-left: 15px solid transparent;
}

.bubble-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bubble-author {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.bubble-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.bubble-message {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dynamic Premium Reveal Button */
.btn-reveal-reply {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-reveal-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
    border-radius: 50px;
}

.btn-reveal-reply:hover {
    color: #fff;
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.1);
    letter-spacing: 4px;
}

.btn-reveal-reply:hover::before {
    width: 100%;
}

.btn-reveal-reply i {
    transition: 0.4s;
}

.btn-reveal-reply:hover i {
    color: #FFD700;
    transform: rotate(180deg);
}

/* Logic for reveal-on-hover */
.interactive-reply-wrapper.reveal-on-hover .btn-reveal-reply {
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
}

.review-card-modern:hover .interactive-reply-wrapper.reveal-on-hover .btn-reveal-reply,
.interactive-reply-wrapper.reveal-on-hover.reply-open .btn-reveal-reply {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Delete Reply Button in Bubble */
.btn-delete-reply-bubble {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 11px;
    padding: 4px;
    transition: 0.3s;
    opacity: 0.6;
}

.btn-delete-reply-bubble:hover {
    color: #ff0000;
    opacity: 1;
    transform: scale(1.1);
}