/* =======================================
   TRUSTBOOST – COMPATIBLE RESPONSIVE UI
   ======================================= */

/* ===== 1. RESET & COMPATIBILITY ===== */
/* Töröld a plugin inline CSS konfliktusait */
.cx-approved-row,
.cx-pending-row,
.cx-status-accepted,
.cx-status-pending,
.cx-click-stats .button {
    all: unset; /* Reset minden inline tulajdonságot */
}

/* ===== 2. ÁLTALÁNOS KÁRTYÁK ===== */
.cx-card,
.cx-section,
.cx-wrap,
.cx-user-social-profile,
.cx-click-section,
.cx-click-stats {
    max-width: 1100px;
    width: 100% !important;
    margin: 24px auto;
    padding: 26px 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

/* ===== 3. KOMPATIBILIS SZÍNES CSÍKOK ===== */
.cx-card-main { 
    border-top: 6px solid #1e88e5;
    position: relative;
}
.cx-card-warning { 
    border-top: 6px solid #ff9800;
    position: relative;
}
.cx-card-green { 
    border-top: 6px solid #43a047;
    position: relative;
}

/* ===== 4. FELÜLÍRÓ STÁTUSZ SZÍNEK ===== */
/* A plugin inline CSS-t felülírjuk erősebb szelektorral */
body .cx-status-accepted,
.cx-card .cx-status-accepted,
div.cx-status-accepted {
    color: #0a8a1e !important;
    font-weight: 700 !important;
}

body .cx-status-pending,
.cx-card .cx-status-pending,
div.cx-status-pending {
    color: #b88600 !important;
    font-weight: 700 !important;
}

/* ===== 5. KOMPATIBILIS SOR STÍLUSOK ===== */
/* Mindkét class-re működjön (régi és új) */
.cx-approved-row,
.cx-user-row.accepted {
    background: #E8F9EE !important;
    border-left: 4px solid #1FA650 !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    margin: 5px 0 !important;
}

.cx-pending-row,
.cx-user-row.pending {
    background: #FFF8E6 !important;
    border-left: 4px solid #D97706 !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    margin: 5px 0 !important;
}

/* ===== 6. PARTNER SOROK UNIVERZÁLIS ===== */
.cx-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px !important;
    margin: 5px 0 !important;
    line-height: 1.3 !important;
    border-radius: 8px;
    background: #fdfdfd;
    border-left: 3px solid transparent;
    flex-wrap: wrap;
}

/* ===== 7. GOMBOK KOMPATIBILITÁS ===== */
/* Plugin .button és mi .cx-btn együtt */
.cx-btn,
button.button,
.cx-click-stats .button,
.cx-wrap .button {
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
    background: #1e88e5 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.1s !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.cx-btn:hover,
button.button:hover,
.cx-click-stats .button:hover,
.cx-wrap .button:hover {
    background: #166dc0 !important;
    transform: translateY(-1px) !important;
}

/* Plugin specifikus zöld gomb felülírása */
.cx-click-stats .button {
    background: #28a745 !important;
}
.cx-click-stats .button:hover {
    background: #218838 !important;
}

/* ===== 8. INPUT MEZŐK ===== */
#google_review_link,
input[name='google_review_link'],
.cx-social-form input[type='url'],
.cx-social-form input[type='text'] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border: 1px solid #ccc !important;
    box-sizing: border-box !important;
    background: #f8f9fa !important;
    margin-bottom: 10px !important;
}

/* ===== 9. FEJLÉC IKON ===== */
.cx-card-title {
    position: relative;
    padding-left: 48px;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 15px !important;
    line-height: 1.3;
}
.cx-card-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.cx-card-main .cx-card-icon     { background:#1e88e5; }
.cx-card-green .cx-card-icon    { background:#43a047; }
.cx-card-warning .cx-card-icon  { background:#ff9800; }

/* ===== 10. STATISZTIKA ===== */
.cx-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.cx-stat {
    background: #f7f9fc;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #dae1ec;
    text-align: center;
}
.cx-stat-label {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    color: #6c7a89;
    display: block;
    margin-bottom: 5px;
}
.cx-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    display: block;
}

/* ===== 11. GOOGLE REVIEW GOMB ===== */
.cx-review-btn,
.cx-review-btn a,
.cx-review-btn button {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: #2575fc !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s;
}
.cx-review-btn:hover,
.cx-review-btn a:hover,
.cx-review-btn button:hover {
    background: #1c68e8 !important;
}

/* ===== 12. MOBIL OPTIMALIZÁLÁS ===== */
@media (max-width: 768px) {
    .cx-card, .cx-wrap, .cx-click-stats, .cx-user-social-profile {
        padding: 18px !important;
        margin: 16px auto !important;
        border-radius: 12px !important;
    }
    
    .cx-card-title {
        font-size: 19px !important;
        padding-left: 42px !important;
    }
    
    .cx-user-row,
    .cx-approved-row,
    .cx-pending-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px !important;
    }
    
    .cx-stat-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cx-btn,
    button.button,
    .cx-click-stats .button {
        width: 100% !important;
        text-align: center !important;
        padding: 14px !important;
    }
}

/* ===== 13. EXTRA KIS KÉPERNYŐK ===== */
@media (max-width: 480px) {
    .cx-card-title {
        font-size: 18px !important;
        padding-left: 38px !important;
    }
    
    .cx-review-btn,
    .cx-review-btn a,
    .cx-review-btn button {
        font-size: 13px !important;
        padding: 10px 14px !important;
    }
    
    .cx-stat-value {
        font-size: 18px !important;
    }
}

/* ===== 14. FIX: NE LÓGJANAK KI A SZÖVEGEK ===== */
.cx-card,
.cx-card * {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}
/* ===========================================
   REVIEWBOOSTER MY ACCOUNT - MODERN DESIGN
   =========================================== */

/* Reset WooCommerce default styles */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.woocommerce-MyAccount-navigation {
    display: none !important;
}

/* Main Container */
.rb-myaccount-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Sidebar Navigation */
.rb-sidebar {
    background: linear-gradient(135deg, #1a1f36 0%, #2d3748 100%);
    border-radius: 16px;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: fit-content;
    position: sticky;
    top: 30px;
}

.rb-user-profile {
    text-align: center;
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.rb-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
}

.rb-user-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.rb-user-email {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.rb-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rb-nav-item {
    margin: 2px 20px;
}

.rb-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.rb-nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}

.rb-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.rb-nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.rb-logout {
    margin-top: 30px;
    padding: 20px 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.rb-logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f87171;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.rb-logout-btn:hover {
    background: rgba(248, 113, 113, 0.2);
    color: #ef4444;
}

/* Main Content Area */
.rb-main-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

/* Dashboard Header */
.rb-dashboard-header {
    margin-bottom: 40px;
}

.rb-dashboard-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rb-dashboard-subtitle {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

/* Stats Cards */
.rb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rb-stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rb-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.rb-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rb-stat-icon {
    font-size: 24px;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-stat-icon.tokens { background: #fef3c7; color: #d97706; }
.rb-stat-icon.clicks { background: #dbeafe; color: #1d4ed8; }
.rb-stat-icon.trust { background: #dcfce7; color: #15803d; }
.rb-stat-icon.partners { background: #f3e8ff; color: #7c3aed; }

.rb-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 5px;
}

.rb-stat-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* Quick Actions */
.rb-quick-actions {
    margin-bottom: 40px;
}

.rb-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rb-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.rb-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
}

.rb-action-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.rb-action-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rb-action-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1f36;
}

.rb-action-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Review Menu Banner */
.rb-review-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 16px;
    padding: 40px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.rb-review-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, -30px) rotate(360deg); }
}

.rb-review-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.rb-review-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.rb-review-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rb-review-banner-btn {
    display: inline-block;
    background: white;
    color: #d97706;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.rb-review-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    color: #b45309;
}

/* Social Links Form Styling */
.rb-social-form-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    margin-top: 40px;
}

.rb-form-header {
    margin-bottom: 30px;
}

.rb-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 10px;
}

.rb-form-subtitle {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.rb-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.rb-form-group {
    margin-bottom: 0;
}

.rb-form-label {
    display: block;
    color: #475569;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rb-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.rb-form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.rb-form-input[type="file"] {
    padding: 12px;
    background: white;
    border: 2px dashed #cbd5e0;
}

.rb-form-input[type="file"]:hover {
    border-color: #667eea;
}

.rb-avatar-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.rb-avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rb-form-hint {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 8px;
}

.rb-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.rb-btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rb-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.rb-btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.rb-btn-secondary:hover {
    border-color: #cbd5e0;
    background: #f8fafc;
}

/* Footer */
.rb-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rb-myaccount-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rb-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .rb-main-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .rb-myaccount-container {
        padding: 15px;
    }
    
    .rb-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .rb-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .rb-review-banner {
        padding: 30px 20px;
    }
    
    .rb-review-banner h2 {
        font-size: 28px;
    }
    
    .rb-social-form-container {
        padding: 25px;
    }
    
    .rb-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for page load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.rb-main-content {
    animation: fadeIn 0.5s ease-out;
}

/* Status indicators */
.rb-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.rb-status-active {
    background: #dcfce7;
    color: #15803d;
}

.rb-status-pending {
    background: #fef3c7;
    color: #d97706;
}

.rb-status-inactive {
    background: #f1f5f9;
    color: #64748b;
}

