
/* ============================================
   EXPLOTADAS - Modern Theme 2026
   Design System: Dark Mode Premium
   ============================================ */

/* === DESIGN TOKENS === */
:root {
    /* Primary Colors */
    --color-primary: #E85D04;
    --color-primary-hover: #C44D00;
    --color-primary-light: rgba(232, 93, 4, 0.15);
    --color-primary-gradient: linear-gradient(135deg, #E85D04 0%, #D00000 100%);
    
    /* Accent */
    --color-accent: #F48C06;
    --color-accent-hover: #D97706;
    --color-accent-gradient: linear-gradient(135deg, #F48C06 0%, #E85D04 100%);
    
    /* Success / Warning / Danger */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    /* Dark Surfaces */
    --bg-body: #0c0f14;
    --bg-card: #151922;
    --bg-card-hover: #1a1f2e;
    --bg-elevated: #1e2433;
    --bg-input: #1a1f2e;
    --bg-nav: rgba(12, 15, 20, 0.95);
    
    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-link: #F48C06;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(232, 93, 4, 0.3);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(232, 93, 4, 0.2);
    
    /* Typography */
    --font-body: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-size-base: 15px;
    --line-height-base: 1.6;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
}

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

/* === GLOBAL RESET / BASE === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body) !important;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background-color: var(--bg-body);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

p { color: var(--text-secondary); }

a {
    color: var(--text-link);
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* === NAVIGATION === */
.navbar, nav.navbar {
    background: var(--bg-nav) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: all var(--transition-base);
}

.navbar .navbar-brand img {
    max-height: 36px;
}

.navbar .nav-link,
.navbar a {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-fast);
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
}
.navbar .nav-link:hover,
.navbar a:hover {
    color: var(--text-primary) !important;
    background: rgba(255,255,255,0.05);
}

.navbar .btn-danger,
.navbar .btn-primary,
.topnavi_right .btn {
    background: var(--color-primary-gradient) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #fff !important;
    transition: all var(--transition-base);
    box-shadow: 0 2px 10px rgba(232, 93, 4, 0.3);
}
.navbar .btn-danger:hover,
.navbar .btn-primary:hover,
.topnavi_right .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
}

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    color: var(--text-primary);
}
.card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}
.card-body { color: var(--text-secondary); }
.card-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Shadow override for Bootstrap .shadow */
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* === BUTTONS === */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    transition: all var(--transition-base);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary, .btn-danger {
    background: var(--color-primary-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.25);
}
.btn-primary:hover, .btn-danger:hover {
    background: var(--color-primary-gradient);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
    color: #fff;
}
.btn-primary:focus, .btn-danger:focus {
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.btn-outline-primary, .btn-outline-danger {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.btn-outline-primary:hover, .btn-outline-danger:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-success {
    background: var(--color-success);
    color: #fff;
}

.btn-secondary, .btn-light {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover, .btn-light:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* === FORMS === */
.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], input[type="tel"], textarea, select,
.custom-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    transition: all var(--transition-fast);
}
.form-control:focus, input:focus, textarea:focus, select:focus,
.custom-select:focus {
    background: var(--bg-input);
    border-color: var(--color-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    outline: none;
}
.form-control::placeholder {
    color: var(--text-muted);
}

label, .form-label, .col-form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

/* === DROPDOWNS === */
.dropdown-menu {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}
.dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 14px;
}
.dropdown-item:hover {
    background: var(--color-primary-light);
    color: var(--text-primary);
}

/* === TABLES === */
.table {
    color: var(--text-primary);
}
.table th {
    border-top: none;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
}
.table td {
    border-top: 1px solid var(--border-color);
    padding: 14px 16px;
    vertical-align: middle;
}
.table-hover tbody tr:hover {
    background: var(--bg-card-hover);
}

/* === BADGES === */
.badge {
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
    letter-spacing: 0.03em;
}
.badge-primary, .badge-danger { background: var(--color-primary); }
.badge-success { background: var(--color-success); }
.badge-warning { background: var(--color-warning); color: #000; }

/* === ALERTS === */
.alert {
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    padding: 14px 20px;
}
.alert-danger { background: rgba(239,68,68,0.15); color: #fca5a5; border-left: 4px solid var(--color-danger); }
.alert-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border-left: 4px solid var(--color-success); }
.alert-warning { background: rgba(245,158,11,0.15); color: #fcd34d; border-left: 4px solid var(--color-warning); }
.alert-info { background: rgba(232, 93, 4,0.15); color: #c4b5fd; border-left: 4px solid var(--color-primary); }

/* === PAGINATION === */
.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    margin: 0 3px;
    padding: 8px 14px;
}
.page-link:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* === FOOTER === */
.footer_sec, footer {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}
.footer_sec a, footer a {
    color: var(--text-muted) !important;
    font-size: 13px;
}
.footer_sec a:hover, footer a:hover {
    color: var(--color-primary) !important;
}

/* === MODAL === */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
}
.modal-header {
    border-bottom: 1px solid var(--border-color);
}
.modal-footer {
    border-top: 1px solid var(--border-color);
}
.close {
    color: var(--text-muted);
    text-shadow: none;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* === CREATOR CARDS (Homepage grid) === */
.creatorCard, .card.creatorCard {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}
.creatorCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-color-hover);
}

/* === POST CARDS === */
.postCard, .card.postCard {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

/* === PROFILE PAGE === */
.profileCoverPic {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}
.profileCoverPic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-body) 0%, transparent 100%);
}

/* === DASHBOARD SIDEBAR === */
.dashboardnavi .nav-link, .list-group-item {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: all var(--transition-fast);
}
.dashboardnavi .nav-link:hover, .list-group-item:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}
.dashboardnavi .nav-link.active, .list-group-item.active {
    background: var(--color-primary);
    color: #fff;
}

/* === NOTIFICATION BADGE === */
.notifc {
    background: var(--color-accent) !important;
    border-radius: var(--radius-full);
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
}

/* === SKELETON LOADING === */
@keyframes skeleton-pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}
.skeleton {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-image { width: 100%; height: 200px; border-radius: var(--radius-md); }

/* === UTILITY OVERRIDES === */
.bg-white { background: var(--bg-card) !important; }
.bg-light { background: var(--bg-elevated) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.border { border-color: var(--border-color) !important; }
.border-top { border-top-color: var(--border-color) !important; }
.border-bottom { border-bottom-color: var(--border-color) !important; }

hr {
    border-top-color: var(--border-color);
}

/* === SELECTION === */
::selection {
    background: var(--color-primary);
    color: #fff;
}

/* === MAIN CONTENT WRAPPER === */
#main, #wrap, main[role="main"] {
    background: var(--bg-body);
}

/* Override old container max-width */
.container { max-width: 1200px; }

/* === RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .card {
        border-radius: var(--radius-md);
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .legal-card {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
}

/* === SWEET ALERT OVERRIDE === */
.swal-overlay {
    background: rgba(0, 0, 0, 0.7);
}
.swal-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.swal-title { color: var(--text-primary); }
.swal-text { color: var(--text-secondary); }
.swal-button {
    background: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
}
.swal-button:hover {
    background: var(--color-primary-hover);
}

/* === COOKIE CONSENT OVERRIDE === */
.cc-banner {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-color) !important;
}
.cc-btn {
    background: var(--color-primary) !important;
    border-radius: var(--radius-full) !important;
}

/* === INNER PAGE HEADERS === */
.innerheaders {
    background: var(--color-primary-gradient) !important;
    background-image: none !important;
}

/* === OLD RED OVERRIDES === */
.text-danger { color: var(--color-accent) !important; }
.bg-danger { background: var(--color-accent) !important; }
.btn-link { color: var(--text-link); }


/* ============================================
   POST CARD REDESIGN
   Modern dark card layout
   ============================================ */

/* === POST CARD CONTAINER === */
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.post-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}
.post-card--pinned {
    border-color: rgba(232, 93, 4, 0.35);
    box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.15);
}
.post-card--skeleton {
    pointer-events: none;
}

/* === PINNED BADGE === */
.post-pinned-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 10px 20px 0;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
}
.post-pinned-badge i {
    font-size: 14px;
}

/* === POST HEADER === */
.post-card__header {
    display: flex;
    align-items: flex-start;
    padding: 20px 20px 12px;
    gap: 12px;
}

.post-card__avatar-wrap {
    flex-shrink: 0;
}

.post-card__avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    padding: 2px;
    transition: border-color var(--transition-fast);
}
.post-card__avatar:hover {
    border-color: var(--color-accent);
}
.post-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.post-card__meta {
    flex: 1;
    min-width: 0;
}

.post-card__author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
}
.post-card__name:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.verified-icon {
    flex-shrink: 0;
}

.post-card__handle-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 1px;
}

.post-card__handle {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
}
.post-card__handle:hover {
    color: var(--text-secondary);
    text-decoration: none;
}

.post-card__dot {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1;
}

.post-card__time {
    color: var(--text-muted);
    font-size: 12px;
}
.post-card__time i {
    margin-right: 3px;
}

/* === MORE BUTTON & DROPDOWN === */
.post-card__actions-menu {
    flex-shrink: 0;
}

.post-card__more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted) !important;
    font-size: 16px;
    transition: all var(--transition-fast);
    text-decoration: none !important;
}
.post-card__more-btn::after {
    display: none;
}
.post-card__more-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary) !important;
}

/* === POST CONTENT === */
.post-card__content {
    padding: 0 20px 12px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.post-card__content a {
    color: var(--color-primary);
    text-decoration: none;
}
.post-card__content a:hover {
    text-decoration: underline;
}
.post-card__content--teaser {
    color: var(--text-secondary);
    font-size: 14px;
}

/* === POST MEDIA === */
.post-card__media {
    position: relative;
    overflow: hidden;
}
.post-card__media img {
    display: block;
    width: 100%;
    height: auto;
}
.post-card__media video {
    display: block;
    width: 100%;
}

/* === POST FOOTER / ACTION BAR === */
.post-card__footer {
    padding: 0 20px 16px;
}

.post-card__action-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.post-action {
    display: inline-flex;
    align-items: center;
}

.post-action__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    cursor: pointer;
    line-height: 1;
}
.post-action__btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary) !important;
}

.post-action__btn--like:hover,
.post-action__btn--liked {
    color: var(--color-accent) !important;
}
.post-action__btn--liked:hover {
    background: rgba(232, 93, 4, 0.1);
}

.post-action__btn--comment:hover {
    color: var(--color-primary) !important;
    background: rgba(232, 93, 4, 0.1);
}

.post-action__btn i {
    font-size: 18px;
}

.post-action__btn span {
    font-size: 13px;
}

/* === COMMENT INPUT === */
.post-card__comment-input {
    position: relative;
}
.post-card__comment-input .form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.post-card__comment-input .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.post-card__comment-input .form-control::placeholder {
    color: var(--text-muted);
}

/* === LOAD MORE / NO MORE === */
.post-card__load-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary) !important;
    text-decoration: none !important;
}
.post-card__load-more:hover {
    text-decoration: underline !important;
}

.post-card__no-more {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* === LOCKED / PPV CONTENT === */
.locked-content-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 280px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.locked-content-blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(232, 93, 4,0.08) 0%, rgba(232, 93, 4,0.08) 50%, rgba(232, 93, 4,0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.locked-content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}
.locked-content-overlay .lock-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(232, 93, 4,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--color-primary);
    border: 2px solid rgba(232, 93, 4,0.25);
}
.locked-content-overlay .lock-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
.locked-content-overlay .lock-text i {
    margin-right: 4px;
    color: var(--text-muted);
}
.locked-content-overlay .unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(232, 93, 4,0.3);
    text-decoration: none;
}
.locked-content-overlay .unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 4,0.4);
    color: #fff;
    text-decoration: none;
}

/* === COMMENTS === */
.comment-item-wrap {
    padding: 0;
    margin-bottom: 2px;
}

.comment-item {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.comment-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comment-item__avatar {
    flex-shrink: 0;
}
.comment-item__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.comment-item__body {
    flex: 1;
    min-width: 0;
}

.comment-item__header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.comment-item__name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
}
.comment-item__name:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.comment-item__time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-item__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.comment-item:hover .comment-item__actions {
    opacity: 1;
}

.comment-item__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast);
}
.comment-item__action-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary) !important;
}
.comment-item__action-btn--delete:hover {
    background: rgba(239,68,68,0.12);
    color: var(--color-danger) !important;
}

/* === FEED SKELETON === */
.feed-skeleton .post-card {
    margin-bottom: var(--space-lg);
}
.feed-skeleton .post-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
}
.feed-skeleton .skeleton-avatar {
    width: 48px;
    height: 48px;
}

/* === EMBED CONTAINER (preserved) === */
.embed-container {
    --video--width: 1296;
    --video--height: 540;
    position: relative;
    padding-bottom: calc(var(--video--height) / var(--video--width) * 100%);
    overflow: hidden;
    max-width: 100%;
    background: black;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === LEGACY CLASS COMPAT === */
.text-purple { color: var(--color-primary); }
.border-pinned { border-color: rgba(232, 93, 4, 0.35); }
.noHover { text-decoration: none !important; }
.noHover:hover { text-decoration: none !important; }
.text-333 { color: var(--text-primary); }

/* old profilePicSmall kept for compatibility */
.profilePicSmall img,
.profilePicXS img {
    border-radius: 50%;
    object-fit: cover;
}

/* Tip form inline */
.post-action .sendTip,
.post-action h4 {
    margin: 0;
}
.post-action h4 {
    font-size: 1em;
}
.post-action .noHover.sendTip,
.post-action .noHover {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: all var(--transition-fast);
    line-height: 1;
}
.post-action .noHover:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary) !important;
}
.post-action .noHover .fa-coins {
    font-size: 18px;
}
.post-action .noHover small small {
    font-size: 13px;
}

/* Leave tip dark theme */
.leave-tip .form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
}
.leave-tip .dropdown-toggle {
    color: var(--text-link) !important;
    font-size: 13px;
}

/* === POST CARD RESPONSIVE === */
@media (max-width: 576px) {
    .post-card__header {
        padding: 16px 16px 10px;
    }
    .post-card__content {
        padding: 0 16px 10px;
        font-size: 14px;
    }
    .post-card__footer {
        padding: 0 16px 14px;
    }
    .post-card__avatar {
        width: 42px;
        height: 42px;
    }
    .post-card__name {
        font-size: 14px;
    }
    .post-action__btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    .post-action__btn i {
        font-size: 16px;
    }
    .locked-content-wrapper {
        min-height: 220px;
    }
    .locked-content-overlay .lock-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .comment-item {
        padding: 8px 16px;
    }
    .comment-item__avatar img {
        width: 32px;
        height: 32px;
    }
    .comment-item__actions {
        opacity: 1;
    }
}


/* ============================================
   DASHBOARD LAYOUT - Sidebar + Content
   ============================================ */

/* Layout wrapper */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 70px);
    background: var(--bg-body);
}

/* Sidebar wrapper */
.dashboard-sidebar-wrapper {
    width: 270px;
    min-width: 270px;
    flex-shrink: 0;
    padding: 24px 0 24px 24px;
}

/* Main content area */
.dashboard-content {
    flex: 1;
    min-width: 0;
    padding: 24px 24px 24px 32px;
}

/* Sidebar card container */
.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 0;
    position: sticky;
    top: 90px;
}

/* User section at top */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 18px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.sidebar-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-handle {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation groups */
.sidebar-nav {
    padding: 0;
}

.sidebar-group {
    padding: 6px 0;
}

.sidebar-group + .sidebar-group {
    border-top: 1px solid var(--border-color);
}

.sidebar-group-label {
    display: block;
    padding: 8px 24px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Individual links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: var(--color-primary-light);
    text-decoration: none;
}

.sidebar-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
    font-weight: 600;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    flex-shrink: 0;
    opacity: 0.8;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    opacity: 1;
}

/* Logout link */
.sidebar-link-logout:hover {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Unread badge in sidebar */
.sidebar-link .badge,
.sidebar-link .notifc {
    margin-left: auto;
    font-size: 10px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: #fff;
}

/* Mobile toggle button */
.sidebar-mobile-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    border: none;
    color: #fff;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.sidebar-mobile-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(232, 93, 4, 0.5);
}

/* Mobile overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile sidebar slide-in */
@media (max-width: 767.98px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar-wrapper {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        min-width: 280px;
        height: 100vh;
        z-index: 1040;
        padding: 0;
        background: var(--bg-body);
        transition: left var(--transition-base);
        overflow-y: auto;
    }

    .dashboard-sidebar-wrapper.open {
        left: 0;
    }

    .dashboard-sidebar-wrapper .dashboard-sidebar {
        border-radius: 0;
        border: none;
        min-height: 100vh;
    }

    .dashboard-content {
        padding: 20px 16px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .dashboard-sidebar-wrapper {
        width: 230px;
        min-width: 230px;
        padding: 20px 0 20px 16px;
    }

    .dashboard-content {
        padding: 20px 16px 20px 24px;
    }

    .sidebar-link {
        padding: 8px 18px;
        font-size: 13px;
    }

    .sidebar-group-label {
        padding: 8px 18px 4px;
    }
}

/* White smoke override for dashboard pages */
.dashboard-layout .white-smoke-bg,
.dashboard-content .white-smoke-bg {
    background: transparent;
    height: auto;
}

/* Override old card .add-padding inside dashboard */
.dashboard-content .card.add-padding {
    padding: 24px;
}

/* X icon for social links (replacing Twitter) */
.x-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.x-social-icon svg {
    width: 1em;
    height: 1em;
}


/* ============================================
   PREMIUM POLISH v2 - Glassmorphism & Luxury
   Applied: 2026-03-31
   ============================================ */

/* === ELEVATED DESIGN TOKENS === */
:root {
    /* Glassmorphism */
    --glass-bg: rgba(21, 25, 34, 0.65);
    --glass-bg-heavy: rgba(21, 25, 34, 0.80);
    --glass-blur: blur(16px) saturate(180%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-border-hover: 1px solid rgba(255, 255, 255, 0.14);
    
    /* Elevated Radii */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Premium Shadows */
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow-primary: 0 0 25px rgba(232, 93, 4, 0.25), 0 0 60px rgba(232, 93, 4, 0.08);
    --shadow-glow-accent: 0 0 25px rgba(232, 93, 4, 0.25), 0 0 60px rgba(232, 93, 4, 0.08);
    --shadow-glow-btn: 0 4px 20px rgba(232, 93, 4, 0.35);
    
    /* Spacing Breathing Room */
    --space-breathe: 24px;
}

/* === GLASSMORPHISM CARDS === */
.card,
.post-card,
.postCard {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover,
.post-card:hover,
.postCard:hover {
    border: var(--glass-border-hover);
    box-shadow: var(--shadow-glass), var(--shadow-glow-primary);
    transform: translateY(-2px);
}

/* === GLASSMORPHISM NAVBAR === */
.navbar, nav.navbar {
    background: rgba(12, 15, 20, 0.70) !important;
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* === GLASSMORPHISM DROPDOWNS === */
.dropdown-menu {
    background: var(--glass-bg-heavy);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    padding: 10px;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(232, 93, 4, 0.12);
}

/* === GLASSMORPHISM MODALS === */
.modal-content {
    background: var(--glass-bg-heavy);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass);
}

/* === GLASSMORPHISM SIDEBAR === */
.dashboard-sidebar,
.dashboardnavi .card,
.ep-sidebar-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
}

/* === PREMIUM BUTTONS === */
.btn-primary, .btn-danger {
    background: var(--color-primary-gradient);
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-glow-btn);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary::before, .btn-danger::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before, .btn-danger:hover::before {
    left: 100%;
}
.btn-primary:hover, .btn-danger:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 30px rgba(232, 93, 4, 0.45);
}
.btn-primary:active, .btn-danger:active {
    transform: translateY(0) scale(0.98);
}

/* Accent buttons (subscribe, unlock) */
.btn-accent,
.unlock-btn,
.ep-subscribe-btn {
    background: var(--color-accent-gradient) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #fff !important;
    box-shadow: var(--shadow-glow-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-accent:hover,
.unlock-btn:hover,
.ep-subscribe-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 30px rgba(232, 93, 4, 0.5);
}

/* === PREMIUM LOCKED CONTENT ("The Vault") === */
.locked-content-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 300px;
    background: linear-gradient(135deg, #1a1030 0%, #0f1923 50%, #1a1030 100%);
}
.locked-content-wrapper::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(232, 93, 4,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(232, 93, 4,0.06) 0%, transparent 50%);
    animation: vault-ambient 8s ease-in-out infinite alternate;
}
@keyframes vault-ambient {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, -3%) rotate(3deg); }
}
.locked-content-blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    background: rgba(12, 15, 20, 0.4);
}
.locked-content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 30px;
}
.locked-content-overlay .lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(21, 25, 34, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--color-primary);
    box-shadow: 0 0 40px rgba(232, 93, 4,0.2);
    animation: lock-pulse 3s ease-in-out infinite;
}
@keyframes lock-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(232, 93, 4,0.15); }
    50% { box-shadow: 0 0 40px rgba(232, 93, 4,0.3), 0 0 80px rgba(232, 93, 4,0.1); }
}
.locked-content-overlay .lock-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}
.locked-content-overlay .lock-price {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.locked-content-overlay .unlock-btn {
    background: var(--color-accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow-accent);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}
.locked-content-overlay .unlock-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}
.locked-content-overlay .unlock-btn:hover::before {
    left: 100%;
}
.locked-content-overlay .unlock-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 35px rgba(232, 93, 4, 0.5);
}

/* Media type icons in locked state */
.locked-media-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}
.locked-media-icons span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* === PREMIUM FORMS === */
.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], input[type="tel"], textarea, select,
.custom-select {
    background: rgba(21, 25, 34, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-control:focus, input:focus, textarea:focus, select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.12), 0 0 20px rgba(232, 93, 4, 0.08);
}

/* === PREMIUM TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    letter-spacing: -0.03em;
    font-weight: 800;
}
h1, .h1 { font-size: 2.8rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.5rem; }

p, .text-body {
    line-height: 1.75;
    letter-spacing: 0.01em;
}

/* === PREMIUM AVATAR RING === */
.avatar-ring {
    border: 3px solid transparent;
    background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--color-accent-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 50%;
    padding: 2px;
}

/* === BREATHING ROOM (Extra Padding) === */
.container {
    padding-left: var(--space-breathe);
    padding-right: var(--space-breathe);
}
.card-body, .card .p-3, .card .p-4 {
    padding: var(--space-breathe) !important;
}

/* === PREMIUM SCROLL INDICATOR === */
.progress-bar-scroll {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-accent-gradient);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* === MOBILE BOTTOM NAVIGATION === */
@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(12, 15, 20, 0.85);
        backdrop-filter: blur(24px) saturate(200%);
        -webkit-backdrop-filter: blur(24px) saturate(200%);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1050;
        padding: 0 8px;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.03em;
        padding: 6px 12px;
        border-radius: var(--radius-sm);
        transition: all 0.2s ease;
        position: relative;
    }
    .mobile-bottom-nav .nav-item:hover,
    .mobile-bottom-nav .nav-item.active {
        color: var(--color-primary);
    }
    .mobile-bottom-nav .nav-item.active::after {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: var(--color-primary-gradient);
        border-radius: 0 0 3px 3px;
    }
    .mobile-bottom-nav .nav-item i,
    .mobile-bottom-nav .nav-item svg {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .mobile-bottom-nav .nav-item-create {
        position: relative;
        top: -12px;
    }
    .mobile-bottom-nav .nav-item-create .create-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--color-accent-gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 22px;
        box-shadow: 0 4px 20px rgba(232, 93, 4, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 3px solid var(--bg-body);
    }
    .mobile-bottom-nav .nav-item-create .create-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(232, 93, 4, 0.5);
    }
    
    /* Add bottom padding to body for mobile nav */
    body {
        padding-bottom: 72px;
    }
    
    /* Hide desktop sidebar on mobile */
    .dashboard-sidebar-wrapper {
        display: none;
    }
}

/* Show mobile bottom nav only on mobile */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* === PREMIUM PROFILE SUBSCRIBE CARD === */
.subscribe-card,
.ep-subscribe-card {
    background: linear-gradient(135deg, rgba(21,25,34,0.9) 0%, rgba(30,36,51,0.9) 100%);
    border: 1px solid;
    border-image: var(--color-accent-gradient) 1;
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.subscribe-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-accent-gradient);
}

/* === PREMIUM CREATOR CARDS === */
.creatorCard, .card.creatorCard, .ep-creator-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.creatorCard:hover, .ep-creator-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-primary);
    border-color: rgba(232, 93, 4, 0.2);
}

/* === PREMIUM STATS === */
.stat-card, .ep-stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover, .ep-stat-card:hover {
    border-color: rgba(232, 93, 4, 0.2);
    background: rgba(232, 93, 4, 0.06);
}

/* === PREMIUM POST ACTIONS === */
.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.post-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}
.post-action-btn.liked {
    color: var(--color-accent);
}
.post-action-btn.liked i {
    animation: like-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes like-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* === PREMIUM NOTIFICATION BADGE === */
.notifc, .badge-notification {
    background: var(--color-accent-gradient) !important;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(232, 93, 4, 0.3); }
    50% { box-shadow: 0 2px 16px rgba(232, 93, 4, 0.5); }
}

/* === PREMIUM PAGE TRANSITIONS === */
main[role="main"] {
    animation: page-fade-in 0.4s ease-out;
}
@keyframes page-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === PREMIUM FOOTER === */
.footer_sec, footer, .ep-footer {
    background: rgba(12, 15, 20, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* === SMOOTH SCROLLBAR FOR SIDEBAR === */
.dashboard-sidebar::-webkit-scrollbar { width: 4px; }
.dashboard-sidebar::-webkit-scrollbar-track { background: transparent; }
.dashboard-sidebar::-webkit-scrollbar-thumb { 
    background: rgba(232, 93, 4, 0.3);
    border-radius: 2px;
}

/* === PREMIUM SWEET ALERT === */
.swal-modal {
    background: var(--glass-bg-heavy) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-xl) !important;
}
.swal-button {
    border-radius: var(--radius-full) !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
}

/* === FIX: Ensure dark bg on ALL wrapper elements === */
#wrap, #main, main, .container-fluid, .jscroll-inner {
    background-color: var(--bg-body);
}

/* === FIX: Override any remaining white/light backgrounds === */
.bg-white, .white-smoke-bg, [style*="background: #f5f4f2"],
[style*="background-color: #f5f4f2"], [style*="background: #fff"],
[style*="background-color: white"], .locked-post {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
}


/* === NAVBAR BUTTONS — Orange Palette === */
a.signupButton, .signupButton {
    border: 2px solid #E85D04 !important;
    color: #E85D04 !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.2s ease;
}
a.signupButton:hover, .signupButton:hover {
    background: #E85D04 !important;
    color: #fff !important;
    text-decoration: none;
}
a.loginButton, .loginButton {
    background: #E85D04 !important;
    color: #fff !important;
    border: 2px solid #E85D04 !important;
    font-weight: 600;
    transition: all 0.2s ease;
}
a.loginButton:hover, .loginButton:hover {
    background: #C44D00 !important;
    border-color: #C44D00 !important;
    color: #fff !important;
    text-decoration: none;
}


/* === SLIDER TOOLTIP FIX === */
.simulator-card {
    overflow: visible !important;
}
.range_box {
    position: relative;
    overflow: visible !important;
}
.range_box .setVal {
    position: relative;
    z-index: 2;
}
.mb_slider .mb_slider_handle,
.mb_slider .mb_slider_tip,
.range_box .ui-slider-handle {
    position: absolute;
    z-index: 10;
}


/* === PROFILE COVER PLACEHOLDER DARK === */
.profile-cover, .coverImg, .cover_img,
[class*="cover"] img[src=""], [class*="cover"]:empty {
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d0d 100%) !important;
}
.coverImg[style*="background-image: url()"],
.coverImg[style*="background-image: url('')"],
.cover_sec .coverImg {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0d0d0d 100%) !important;
}


/* === FILE INPUT STYLING === */
.custom-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius-md);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}
.custom-file-upload:hover {
    background: rgba(232, 93, 4, 0.1);
    border-color: var(--color-primary-hover);
}
.custom-file-upload i {
    color: var(--color-primary);
}
input[type="file"].styled-file {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
/* For native file inputs that can't be wrapped */
input[type="file"] {
    color: var(--text-secondary) !important;
    padding: 8px;
}
input[type="file"]::file-selector-button {
    background: var(--bg-card) !important;
    border: 2px solid var(--color-primary) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-right: 12px !important;
    transition: all 0.2s ease !important;
}
input[type="file"]::file-selector-button:hover {
    background: var(--color-primary) !important;
}


/* === NOTIFICATION BADGES — red palette === */
.badge-danger, .badge-pink, .notification-badge,
span.badge[style*="background: #E040FB"],
span.badge[style*="background: #FF3CAC"],
span.badge[style*="background: pink"] {
    background: #D00000 !important;
    color: #fff !important;
}


/* === NAVBAR COMPACT — prevent line-wrapping === */
.navbar-nav.menu_sec > li > a {
    font-size: 13px !important;
    white-space: nowrap !important;
    padding: 15px 8px !important;
}
.navbar-nav.menu_sec > li {
    white-space: nowrap;
}
@media (max-width: 1200px) {
    .navbar-nav.menu_sec > li > a {
        font-size: 12px !important;
        padding: 15px 5px !important;
    }
}

/* === BLOQUE G — Publish button shadow toned down === */
a.btnBlue, .btnBlue {
    box-shadow: 0 2px 8px rgba(232,93,4,0.3) !important;
}
a.btnBlue:hover, .btnBlue:hover {
    box-shadow: 0 4px 12px rgba(232,93,4,0.4) !important;
}

/* === BLOQUE H — Empty feed message lighter === */
.noSubscriptions, .feed-empty, .text-center h4, .white-smoke-bg h4 {
    font-weight: 400 !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
}

/* === BLOQUE I — Select/dropdown in notifications dark === */
.notifications-page select, 
select.form-control,
.white-smoke-bg select {
    background-color: #1a1a2e !important;
    color: #e2e8f0 !important;
    border-color: #2d2d44 !important;
}
select option {
    background-color: #1a1a2e;
    color: #e2e8f0;
}

/* === BLOQUE D — Messages page dark override === */
.white-smoke-bg {
    background: var(--bg-body, #0d0d0d) !important;
}
#vue-messages-app {
    background: transparent !important;
}
/* Vue-rendered message components */
.messagesMainWr, .messages-wrapper, .messages-list, .chat-wrapper,
.conversations-list, .conversation-item, .chat-messages, .chat-input,
[class*="message-"] {
    background-color: transparent !important;
    color: #e2e8f0 !important;
}
.messagesMainWr .sidebar, .conversations-list, .message-sidebar,
.messages-wrapper > div:first-child {
    background-color: #1a1a2e !important;
    border-color: #2d2d44 !important;
}
.conversation-item, .message-user-item {
    border-color: #2d2d44 !important;
    color: #e2e8f0 !important;
}
.conversation-item:hover, .message-user-item:hover,
.conversation-item.active, .message-user-item.active {
    background-color: #252545 !important;
}
/* Chat input */
.chat-input input, .chat-input textarea, .message-input input, .message-input textarea,
.typSms input, .typSms textarea {
    background-color: #1a1a2e !important;
    color: #e2e8f0 !important;
    border-color: #2d2d44 !important;
}
/* Chat bubbles */
.msg-sent, .message-sent, .chtSMSRw.fxrt {
    background-color: #E85D04 !important;
    color: #fff !important;
}
.msg-received, .message-received, .chtSMSRw {
    background-color: #1e1e35 !important;
    color: #e2e8f0 !important;
}
/* Message search */
.messages-search input, .chat-search input {
    background-color: #1a1a2e !important;
    color: #e2e8f0 !important;
    border-color: #2d2d44 !important;
}
/* Any remaining white backgrounds in message area */
.no-padding, .container.no-padding {
    background-color: transparent !important;
}

/* === BLOQUE K — Footer contact button orange outline === */
footer .footer_sec a[href*="contact"] {
    background: transparent !important;
    border: 1px solid #E85D04 !important;
    color: #E85D04 !important;
}
footer .footer_sec a[href*="contact"]:hover {
    background: #E85D04 !important;
    color: #fff !important;
}

/* === BLOQUE M — Social profiles grid in /my-profile === */
.card.add-padding:last-of-type label,
.card.add-padding:last-of-type .form-control {
    margin-bottom: 4px;
}


/* ============================================================
   DARK THEME FIXES — Messages, Tabs, Alerts, Inputs, Misc
   Applied ONLY to frontend (NOT admin)
   ============================================================ */

/* === 1. MESSAGING SYSTEM — Full Dark Theme === */
.messagefulBox {
    background: var(--bg-card, #151922) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
    border: 1px solid var(--border-color) !important;
}

.lechatBox {
    background: var(--bg-card, #151922) !important;
    border-right: 1px solid var(--border-color) !important;
}

.lechatBoxRt {
    background: var(--bg-body, #0c0f14) !important;
}

.smshead {
    background: var(--bg-elevated, #1e2433) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.slctAdb {
    background: var(--bg-elevated, #1e2433) !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.slctAdb h4 {
    color: var(--text-primary, #f1f5f9) !important;
}
.slctAdb a {
    color: var(--text-secondary, #94a3b8) !important;
}

.smscontLft {
    background: transparent !important;
}

.chaTlst {
    background: transparent !important;
}
.chaTlst li {
    border-bottom: 1px solid var(--border-color) !important;
}
.chaTlst li h4 {
    color: var(--text-primary, #f1f5f9) !important;
}
.chaTlst li p {
    color: var(--text-secondary, #94a3b8) !important;
}
.chaTlst li i {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}
.chaTlst li:after {
    background: transparent !important;
}
.chaTlst li.current:after {
    background: rgba(232, 93, 4, 0.08) !important;
}
.chaTlst li:hover:after {
    background: var(--bg-card-hover, #1a1f2e) !important;
}

.tabcontains {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* Chat messages */
.chtSMSRw strong {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-primary, #f1f5f9) !important;
}
.chtSMSRw p {
    color: var(--text-muted, #64748b) !important;
}
.chtSMSRw i {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}
.chtSMSRw.fxrt strong {
    background: var(--color-primary, #E85D04) !important;
    color: #fff !important;
}

/* Chat input */
.typSms {
    background: var(--bg-input, #1a1f2e) !important;
    border-color: var(--border-color) !important;
}
.typSms input[type="text"] {
    color: var(--text-primary, #f1f5f9) !important;
    background: transparent !important;
}
.typSms input[type="text"]::placeholder {
    color: var(--text-muted, #64748b) !important;
}

/* SMS container and search */
.sma a {
    color: var(--text-primary, #f1f5f9) !important;
}

/* === 2. FLOATING "Mensajes" LINK — Hide orphan element === */
.dashboard-sidebar ~ a[href*="messages"],
.sidebar-nav ~ a[href*="messages"],
a.nav-link[style*="position"] {
    display: none !important;
}
/* Generic catch: any stray bare <a> with badge between sidebar sections */
body:not(.admin) .dashboard-sidebar + a {
    display: none !important;
}

/* === 3. BOOTSTRAP .nav-tabs — Dark Theme === */
.nav-tabs {
    border-bottom-color: var(--border-color) !important;
}
.nav-tabs .nav-link {
    color: var(--text-secondary, #94a3b8) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease;
}
.nav-tabs .nav-link:hover {
    color: var(--text-primary, #f1f5f9) !important;
    background: var(--bg-card-hover, #1a1f2e) !important;
    border-color: var(--border-color) !important;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border-color: var(--border-color) var(--border-color) transparent !important;
}
.tab-content {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* === 4. BOOTSTRAP .alert-light and .alert-secondary — Dark Theme === */
.alert-light {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border-color: var(--border-color) !important;
}
.alert-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border-color: var(--border-color) !important;
}

/* === 5. BOOTSTRAP .input-group-text — Dark Theme === */
.input-group-text {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-secondary, #94a3b8) !important;
    border-color: var(--border-color) !important;
}

/* === 6. .profilePicSmall — Dark Theme === */
.profilePicSmall {
    background: transparent !important;
}
.profilePicSmall img {
    border: 2px solid var(--border-color) !important;
}

/* === .text-333 fix for dark theme === */
.text-333, a.text-333 {
    color: var(--text-primary, #f1f5f9) !important;
}
a.text-333:hover {
    color: var(--color-primary, #E85D04) !important;
}


/* === Fix: Livewire unread-messages renders bare <a> inside sidebar-link === */
.sidebar-link [wire\:poll] a,
.sidebar-link div[wire\:id] a,
.sidebar-nav [wire\:poll] a {
    display: none !important;
}
.sidebar-link [wire\:poll] .notifc,
.sidebar-link div[wire\:id] .notifc,
.sidebar-nav [wire\:poll] .notifc {
    display: inline-flex !important;
    background: var(--color-primary, #E85D04);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 0 6px;
}

/* Also fix for the topnavi context where Livewire is used */
.navbar-nav [wire\:poll] > div > a {
    color: var(--text-primary, #f1f5f9) !important;
    text-decoration: none !important;
}
.navbar-nav [wire\:poll] .notifc {
    background: var(--color-primary, #E85D04) !important;
    color: #fff !important;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}


/* ============================================================
   COMPREHENSIVE DARK THEME FIXES v2 — 2026-03-31
   Consolidates all remaining white/light element overrides
   ============================================================ */

/* --- A1: Messages page wrapper --- */
.messagefullbodtysec {
    background: var(--bg-body, #0c0f14) !important;
    padding: 20px 0 40px !important;
}
.messagefulBox {
    background: var(--bg-card, #151922) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
    border: 1px solid var(--border-color) !important;
}
.lechatBox {
    background: var(--bg-card, #151922) !important;
    border-right: 1px solid var(--border-color) !important;
}
.lechatBoxRt {
    background: var(--bg-body, #0c0f14) !important;
}
.smshead {
    background: var(--bg-elevated, #1e2433) !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.slctAdb {
    background: var(--bg-elevated, #1e2433) !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.slctAdb h4,
.slctAdb a,
.sma a {
    color: var(--text-primary, #f1f5f9) !important;
}
.slctAdb .form-control {
    background: var(--bg-input, #1a1f2e) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}
.smscontLft,
.chaTlst,
.tabcontains {
    background: transparent !important;
}
.chaTlst li {
    border-bottom: 1px solid var(--border-color) !important;
}
.chaTlst li h4 { color: var(--text-primary, #f1f5f9) !important; }
.chaTlst li p { color: var(--text-secondary, #94a3b8) !important; }
.chaTlst li i {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}
.chaTlst li:after { background: transparent !important; }
.chaTlst li.current:after { background: rgba(232,93,4,0.08) !important; }
.chaTlst li:hover:after { background: var(--bg-card-hover, #1a1f2e) !important; }
.chtSMSRw strong {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-primary) !important;
}
.chtSMSRw p { color: var(--text-muted, #64748b) !important; }
.chtSMSRw i {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}
.chtSMSRw.fxrt strong {
    background: var(--color-primary, #E85D04) !important;
    color: #fff !important;
}
.typSms {
    background: var(--bg-input, #1a1f2e) !important;
    border-color: var(--border-color) !important;
}
.typSms input[type="text"] {
    color: var(--text-primary) !important;
    background: transparent !important;
}
.typSms input[type="text"]::placeholder {
    color: var(--text-muted) !important;
}
.smscontRtBox { background: transparent !important; }

/* --- A2: Orphan Mensajes link in sidebar --- */
.dashboard-sidebar [wire\:id] > div > a,
.dashboard-sidebar div[wire\:poll] > div > a,
.sidebar-link > div[wire\:id] > div > a {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.sidebar-link [wire\:id] .notifc,
.sidebar-link div[wire\:poll] .notifc {
    display: inline-flex !important;
    position: static !important;
    background: var(--color-primary) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    padding: 0 6px !important;
    line-height: 20px !important;
}

/* --- A3: Pace.js loading bar color --- */
.pace .pace-progress {
    background: var(--color-primary, #E85D04) !important;
}
.pace .pace-activity {
    border-top-color: var(--color-primary, #E85D04) !important;
    border-left-color: var(--color-primary, #E85D04) !important;
}

/* --- A4: Navbar notification badges --- */
.menu_sec li a span.notifc {
    background: var(--color-primary, #E85D04) !important;
    color: #fff !important;
    font-size: 10px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    border-radius: 50% !important;
    right: -12px !important;
    top: 0 !important;
}

/* --- A5: Bootstrap .nav-tabs dark --- */
.nav-tabs {
    border-bottom: 1px solid var(--border-color) !important;
}
.nav-tabs .nav-link {
    color: var(--text-secondary) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}
.nav-tabs .nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(255,255,255,0.03) !important;
    border-color: var(--border-color) !important;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    border-bottom-color: var(--bg-elevated, #1e2433) !important;
}
.tab-content {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* --- A6: All Bootstrap alerts dark --- */
.alert-light {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    border-left: 3px solid var(--color-accent, #F48C06) !important;
}
.alert-secondary {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}
.alert-info:not(.admin *) {
    background: rgba(59,130,246,0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(59,130,246,0.2) !important;
}
.alert-warning:not(.admin *) {
    background: rgba(245,158,11,0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(245,158,11,0.2) !important;
}

/* --- A7: .input-group-text dark --- */
.input-group-text {
    background: var(--bg-elevated, #1e2433) !important;
    color: var(--text-secondary, #94a3b8) !important;
    border-color: var(--border-color) !important;
}

/* --- A8: ALL .form-control consistent dark --- */
.form-control {
    background: var(--bg-input, #1a1f2e) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border-color: var(--border-color) !important;
}
.form-control:focus {
    background: var(--bg-elevated, #1e2433) !important;
    border-color: var(--color-primary, #E85D04) !important;
    box-shadow: 0 0 0 2px rgba(232,93,4,0.15) !important;
    color: var(--text-primary) !important;
}
.form-control::placeholder {
    color: var(--text-muted, #64748b) !important;
}

/* --- A9: Cover photo fallback gradient --- */
.ep-cover-photo {
    background: linear-gradient(135deg, #1a1f2e 0%, #0c0f14 50%, #1e2433 100%) !important;
    background-size: cover !important;
}
/* When user HAS a cover, the inline #epCoverPhoto style overrides this */

/* --- A10: Browse creators filter dropdowns --- */
.creator-filter .btn,
.creator-filter .dropdown-toggle,
.creator-filter select,
form[action*="browse"] .btn,
form[action*="browse"] select,
.browse-filter select,
.browse-filter .btn {
    background: var(--bg-card, #151922) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
}
.dropdown-menu {
    background: var(--bg-card, #151922) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
}
.dropdown-item {
    color: var(--text-secondary) !important;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--bg-card-hover, #1a1f2e) !important;
    color: var(--text-primary) !important;
}

/* --- A11: Feed centering + icon visibility --- */
.feed_left .card.add-padding,
.feed_left .shadow-sm.card {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.ico_actions a, .ico_actions svg,
.post-icons a, .post-icons i {
    color: var(--text-secondary) !important;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.ico_actions a:hover, .ico_actions svg:hover,
.post-icons a:hover, .post-icons i:hover {
    color: var(--color-primary) !important;
    opacity: 1;
}

/* --- A6 extra: .profilePicSmall dark --- */
.profilePicSmall {
    background: transparent !important;
}
.profilePicSmall img {
    border: 2px solid var(--border-color) !important;
}

/* --- .text-333 dark override --- */
.text-333, a.text-333 {
    color: var(--text-primary) !important;
}
a.text-333:hover {
    color: var(--color-primary) !important;
}

/* --- Global select dark (frontend) --- */
select.form-control,
.white-smoke-bg select,
.card select {
    background: var(--bg-input, #1a1f2e) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}
select option {
    background: var(--bg-card, #151922);
    color: var(--text-primary);
}

/* --- .white-smoke-bg override for ALL pages --- */
.white-smoke-bg {
    background: var(--bg-body, #0c0f14) !important;
}


/* ============================================================
   DARK THEME FIXES — Round 3 (2026-03-31)
   ============================================================ */

/* --- 1. Feed centering: push col-md-7 center when sidebar is suggestions-only --- */
.white-smoke-bg .container .row {
    justify-content: center !important;
}
.white-smoke-bg .col-md-7 {
    max-width: 680px !important;
}

/* --- 2. Post uploader SVG icons — make visible on dark bg --- */
.post-uploader-icons {
    filter: brightness(0) invert(0.65) !important;
    transition: filter 0.2s ease !important;
    opacity: 1 !important;
}
a:hover .post-uploader-icons,
.post-uploader-icons:hover {
    filter: brightness(0) invert(0.55) sepia(1) saturate(5) hue-rotate(10deg) !important;
}
/* The lock text next to icons */
a.text-333 {
    color: var(--text-secondary) !important;
}
a.text-333:hover {
    color: var(--color-primary) !important;
}

/* --- 3. Cover photo: subtle orange overlay on default/empty --- */
.ep-cover-photo::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(232,93,4,0.12) 0%, rgba(26,31,46,0.7) 50%, rgba(12,15,20,0.85) 100%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
.ep-cover-gradient {
    z-index: 1 !important;
}

/* --- 4. Creator cards mini-banner dark fallback --- */
.profileCoverSmall,
.creator-card-cover,
.card-cover-creator,
[class*="cover"] img[src*="default-cover"],
.feed_suggest .card img,
.cc-cover {
    background: linear-gradient(135deg, #1a1f2e 0%, #151922 100%) !important;
}

/* --- 5. Browse creators filter dropdowns — compact and dark --- */
.white-smoke-bg form .btn,
.white-smoke-bg form .dropdown-toggle,
.white-smoke-bg form select.form-control,
.white-smoke-bg form .btn-outline-secondary {
    padding: 8px 20px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}
.white-smoke-bg form .btn:hover,
.white-smoke-bg form .dropdown-toggle:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--color-primary) !important;
}

/* --- 6. Messages box — remove double-border effect --- */
.messagefulBox {
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.messagefullbodtysec .container {
    max-width: 1100px !important;
}

/* --- 7. Native selects — custom dark arrow + consistent styling --- */
select.form-control,
select:not([class*="admin"]) {
    background-color: var(--bg-input, #1a1f2e) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border: 1px solid var(--border-color) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
}
select option {
    background: var(--bg-card, #151922);
    color: var(--text-primary, #f1f5f9);
}


/* =============================================
   LAYOUT REFACTOR — Delicado & Simétrico
   ============================================= */

/* --- 1. NAVBAR: Alinear todos los ítems a la misma altura --- */
.nav_top.navbar {
  padding: 0 !important;
  min-height: 52px !important;
}

.nav_top .navbar-brand {
  padding: 10px 16px !important;
  font-size: 20px !important;
}

.navbar-nav.menu_sec > li {
  display: flex !important;
  align-items: center !important;
}

/* Unificar padding/font para TODOS los links del menú (incluidos los que Livewire envuelve en divs) */
.navbar-nav.menu_sec > li > a,
.navbar-nav.menu_sec > li > div a,
.navbar-nav.menu_sec > li > div > div a,
.navbar .navbar-nav.menu_sec li a {
  padding: 16px 10px !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
}

/* Fix divs Livewire (Notificaciones & Mensajes) */
.navbar-nav.menu_sec > li > div,
.navbar-nav.menu_sec > li > div > div {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Badges de notificación: inline, no absolute */
.navbar-nav.menu_sec li a span.notifc,
.navbar .menu_sec li a span.notifc {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  margin-left: 5px !important;
  font-size: 9px !important;
  min-width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Search input compacto */
.navbar-nav.menu_sec input[type="search"],
.navbar input[type="search"] {
  padding: 6px 14px !important;
  font-size: 12px !important;
  height: 32px !important;
  border-radius: 20px !important;
}

.navbar-nav.menu_sec {
  align-items: center !important;
}


/* --- 2. DASHBOARD LAYOUT (Notificaciones, Mi Perfil) --- */
.dashboard-layout {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 20px 16px !important;
}

.dashboard-sidebar-wrapper {
  width: 220px !important;
  min-width: 220px !important;
  flex: 0 0 220px !important;
}

.dashboard-sidebar {
  padding: 14px !important;
}

.dashboard-content {
  padding: 0 16px 16px 24px !important;
  max-width: calc(100% - 220px) !important;
}

.sidebar-user {
  padding: 12px 0 !important;
  margin-bottom: 8px !important;
}

.sidebar-user img {
  width: 40px !important;
  height: 40px !important;
}

.sidebar-nav .sidebar-section-title,
.sidebar-nav h6,
.sidebar-nav .text-uppercase {
  font-size: 10px !important;
  letter-spacing: 1px !important;
  margin-top: 14px !important;
  margin-bottom: 4px !important;
}

.sidebar-nav .sidebar-link,
.sidebar-nav a {
  padding: 7px 10px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  margin-bottom: 1px !important;
}

.dashboard-content .card {
  border-radius: 12px !important;
}

.dashboard-content h3,
.dashboard-content h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.dashboard-content select,
.dashboard-content .bootstrap-select .btn,
.dashboard-content .form-select {
  font-size: 13px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  max-width: 280px !important;
  height: auto !important;
  min-height: 34px !important;
}


/* --- 3. FEED — centrar columnas y fix PUBLICAR --- */
.add-padding > .row {
  justify-content: center !important;
}

.add-padding > .row > .col-md-7 {
  max-width: 600px !important;
}

.add-padding > .row > .col-md-4 {
  max-width: 300px !important;
}

.add-padding > .row > .col-md-7 > .card,
.add-padding > .row > .col-md-4 > .card {
  padding: 16px !important;
  border-radius: 12px !important;
}

.btnBlue {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 25px !important;
  gap: 6px !important;
}

.add-padding .col-md-7 .row {
  align-items: center !important;
}


/* --- 4. MENSAJES — centrar contenedor --- */
.messagefullbodtysec {
  max-width: 900px !important;
  margin: 0 auto !important;
}

.messagefullbodtysec .container {
  max-width: 100% !important;
  padding: 0 !important;
}


/* --- 5. BUSCAR CREADORES — filtros compactos --- */
.browseFilters {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.browseFilters .bootstrap-select {
  margin-bottom: 0 !important;
}

.browseFilters .bootstrap-select .btn,
.browseFilters .bootstrap-select .dropdown-toggle {
  padding: 8px 16px !important;
  font-size: 13px !important;
  height: auto !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  line-height: 1.4 !important;
}

.ep-creators-grid {
  justify-content: center !important;
}

.ep-creator-card {
  border-radius: 14px !important;
}

main > .white-smoke-bg h3.text-center,
main h3.text-center {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}


/* --- 6. PERFIL PÚBLICO — centrar todo --- */
.ep-cover-photo {
  height: 160px !important;
  max-height: 160px !important;
}

.ep-profile-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.ep-avatar-wrapper {
  margin: 0 auto !important;
  width: 90px !important;
  height: 90px !important;
}

.ep-avatar-wrapper img,
.ep-avatar-wrapper .ep-avatar,
.ep-avatar-wrapper > * {
  width: 90px !important;
  height: 90px !important;
}

.ep-profile-identity {
  width: 100% !important;
  text-align: center !important;
  margin-top: 6px !important;
}

.ep-profile-identity h1,
.ep-profile-name {
  font-size: 20px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  text-align: center !important;
}

.ep-profile-identity .ep-handle,
.ep-profile-identity small {
  font-size: 13px !important;
}

.ep-stats-bar {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 14px !important;
}

.ep-stat-card {
  flex: 0 0 auto !important;
  min-width: 120px !important;
  max-width: 170px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  text-align: center !important;
}

.ep-stat-card h4,
.ep-stat-card .ep-stat-number {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.ep-stat-card small,
.ep-stat-card .ep-stat-label {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.ep-profile-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 14px auto !important;
  width: 100% !important;
}

.ep-profile-actions .btn {
  font-size: 13px !important;
  padding: 8px 20px !important;
  border-radius: 10px !important;
}

.ep-profile-content .row {
  justify-content: center !important;
}

.ep-profile-content > .container > .row > .col-md-7 {
  max-width: 560px !important;
}

.ep-profile-content > .container > .row > .col-md-4,
.ep-profile-content > .container > .row > .col-md-5 {
  max-width: 300px !important;
}


/* --- 7. GENERAL — más delicado --- */
body {
  font-size: 14px !important;
}

.card {
  border-radius: 12px !important;
}

.container {
  margin-left: auto !important;
  margin-right: auto !important;
}

footer, .footer_sec {
  font-size: 13px !important;
}

footer h5, .footer_sec h5 {
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* Forms del dashboard más compactos */
.dashboard-content label,
.dashboard-content .form-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.dashboard-content input[type="text"],
.dashboard-content textarea,
.dashboard-content .form-control {
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
}

/* Ocultar nav móvil en desktop */
@media (min-width: 769px) {
  nav.fixed-bottom,
  .bottom-nav,
  .mobile-bottom-nav {
    display: none !important;
  }
}


/* ============================================================
   EXPLOTADAS — ULTRA MINIMAL REDESIGN
   Todo fino, ligero, moderno, fresco, delicado
   ============================================================ */

/* === TIPOGRAFIA GLOBAL: mas delgada y ligera === */
body { font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; -webkit-font-smoothing: antialiased !important; }
h1 { font-size: 18px !important; font-weight: 500 !important; letter-spacing: -0.3px !important; }
h2 { font-size: 16px !important; font-weight: 500 !important; }
h3 { font-size: 15px !important; font-weight: 500 !important; }
h4 { font-size: 14px !important; font-weight: 500 !important; }
h5 { font-size: 13px !important; font-weight: 500 !important; }
h6 { font-size: 11px !important; font-weight: 500 !important; }
strong, b { font-weight: 500 !important; }
p { font-size: 13px !important; line-height: 1.55 !important; }

/* === TODOS LOS BOTONES: slim, no gordos === */
.btn, button, a.btn, input[type="submit"], input[type="button"] {
  font-size: 12px !important; font-weight: 500 !important; padding: 6px 14px !important;
  border-radius: 8px !important; line-height: 1.4 !important;
}

/* === TODOS LOS CARDS: padding reducido === */
.card { border-radius: 10px !important; }
.card.p-4, .card .p-4 { padding: 14px !important; }
.card.p-3, .card .p-3 { padding: 12px !important; }

/* === TODOS LOS INPUTS: slim === */
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="url"], input[type="number"], textarea, select, .form-control, .form-select {
  font-size: 12px !important; padding: 7px 11px !important; border-radius: 8px !important; font-weight: 400 !important;
}
label, .form-label {
  font-size: 10px !important; font-weight: 500 !important; letter-spacing: 0.6px !important;
  text-transform: uppercase !important; color: rgba(148,163,184,0.8) !important;
}

/* === NAVBAR: alineado, slim, uniforme === */
.nav_top.navbar { padding: 0 !important; min-height: 44px !important; }
.nav_top .navbar-brand { padding: 8px 14px !important; font-size: 17px !important; font-weight: 500 !important; letter-spacing: -0.5px !important; }
.navbar-nav.menu_sec > li { display: flex !important; align-items: center !important; }
.navbar-nav.menu_sec > li > a,
.navbar-nav.menu_sec > li > div a,
.navbar-nav.menu_sec > li > div > div a,
.navbar .navbar-nav.menu_sec li a {
  padding: 13px 9px !important; font-size: 11.5px !important; font-weight: 400 !important;
  line-height: 1.2 !important; display: flex !important; align-items: center !important;
  white-space: nowrap !important; letter-spacing: 0.15px !important; opacity: 0.85;
}
.navbar-nav.menu_sec > li > div,
.navbar-nav.menu_sec > li > div > div { display: flex !important; align-items: center !important; height: 100% !important; }
.navbar-nav.menu_sec li a span.notifc,
.navbar .menu_sec li a span.notifc {
  position: relative !important; top: auto !important; right: auto !important; left: auto !important;
  margin-left: 4px !important; font-size: 8px !important; min-width: 14px !important; height: 14px !important;
  line-height: 14px !important; padding: 0 3px !important; display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
}
.navbar-nav.menu_sec input[type="search"],
.navbar input[type="search"] { padding: 5px 12px !important; font-size: 11px !important; height: 28px !important; border-radius: 14px !important; }
.navbar-nav.menu_sec { align-items: center !important; }

/* === DASHBOARD LAYOUT (Notificaciones, Mi Perfil) === */
.dashboard-layout { max-width: 1000px !important; margin: 0 auto !important; padding: 16px 12px !important; }
.dashboard-sidebar-wrapper { width: 190px !important; min-width: 190px !important; flex: 0 0 190px !important; }
.dashboard-sidebar { padding: 10px !important; }
.dashboard-content { padding: 0 12px 12px 18px !important; max-width: calc(100% - 190px) !important; }
.sidebar-user { padding: 8px 0 !important; margin-bottom: 4px !important; }
.sidebar-user img { width: 32px !important; height: 32px !important; }
.sidebar-user-name, .sidebar-user .sidebar-user-name { font-size: 12px !important; font-weight: 500 !important; }
.sidebar-user-handle { font-size: 10px !important; }
.sidebar-group-label, .sidebar-nav h6, .sidebar-nav .text-uppercase, .sidebar-nav .sidebar-section-title {
  font-size: 9px !important; font-weight: 500 !important; letter-spacing: 1.2px !important;
  text-transform: uppercase !important; margin-top: 10px !important; margin-bottom: 2px !important;
  padding: 4px 10px 2px !important; opacity: 0.5;
}
.sidebar-link, .sidebar-nav a, .sidebar-nav .sidebar-link {
  padding: 5px 10px !important; font-size: 12px !important; font-weight: 400 !important;
  border-radius: 6px !important; margin-bottom: 0 !important; line-height: 1.4 !important;
}
.dashboard-content .card { border-radius: 10px !important; padding: 12px !important; }
.dashboard-content h3, .dashboard-content h2 { font-size: 15px !important; font-weight: 500 !important; }
.dashboard-content select, .dashboard-content .bootstrap-select .btn, .dashboard-content .form-select {
  font-size: 11px !important; padding: 5px 10px !important; border-radius: 6px !important;
  max-width: 220px !important; height: auto !important; min-height: 28px !important;
}
.dashboard-content .btn-primary, .dashboard-content .btn-success,
.dashboard-content input[type="submit"], .dashboard-content button[type="submit"] {
  font-size: 12px !important; padding: 8px 20px !important; border-radius: 8px !important;
  font-weight: 500 !important; min-width: 0 !important; width: auto !important; height: auto !important;
}

/* === FEED === */
.add-padding > .row { justify-content: center !important; }
.add-padding > .row > .col-md-7 { max-width: 560px !important; }
.add-padding > .row > .col-md-4 { max-width: 260px !important; }
.add-padding .card.p-4 { padding: 12px !important; }
.btnBlue {
  white-space: nowrap !important; display: inline-flex !important; align-items: center !important;
  justify-content: center !important; padding: 6px 14px !important; font-size: 11px !important;
  border-radius: 8px !important; gap: 4px !important; font-weight: 500 !important;
}
.add-padding .col-md-7 .row { align-items: center !important; }
.add-padding .col-md-7 svg, .add-padding .col-md-7 .svg-inline--fa { font-size: 14px !important; width: 16px !important; height: 16px !important; }
.card.text-center h5, .card.text-center .text-secondary { font-size: 13px !important; font-weight: 400 !important; }

/* === MENSAJES === */
.messagefullbodtysec { max-width: 860px !important; margin: 0 auto !important; }
.messagefullbodtysec .container { max-width: 100% !important; padding: 0 !important; }
.sma a, .messagefullbodtysec h4, .messagefullbodtysec .sma a { font-size: 14px !important; font-weight: 500 !important; }
.chaTlst h4, .chaTlst h4 a { font-size: 12px !important; font-weight: 500 !important; }
.messagefullbodtysec .btn-primary, .messagefullbodtysec a.btn.btn-primary {
  width: 36px !important; height: 36px !important; padding: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 8px !important;
}
.messagefullbodtysec .btn-primary svg { width: 16px !important; height: 16px !important; }
.messagefullbodtysec .btn.text-muted, .messagefullbodtysec .text-muted.btn {
  padding: 4px 8px !important; width: auto !important; height: auto !important; min-width: 0 !important;
}
.messagefullbodtysec .btn.text-muted svg { width: 16px !important; height: 16px !important; }
.sendMessageTextarea { height: 36px !important; min-height: 36px !important; font-size: 12px !important; padding: 8px 12px !important; border-radius: 8px !important; }

/* === BUSCAR CREADORES === */
.browseFilters { display: flex !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; }
.browseFilters .bootstrap-select { margin-bottom: 0 !important; }
.browseFilters .bootstrap-select .btn, .browseFilters .bootstrap-select .dropdown-toggle {
  padding: 6px 14px !important; font-size: 11px !important; height: auto !important;
  min-height: 30px !important; border-radius: 8px !important; line-height: 1.4 !important; font-weight: 400 !important;
}
.ep-creators-grid { justify-content: center !important; }
.ep-creator-card { border-radius: 10px !important; }
.ep-creator-cover-overlay { background: transparent !important; opacity: 0 !important; }
.ep-creator-name { font-size: 13px !important; font-weight: 500 !important; }
.ep-creator-handle { font-size: 10px !important; font-weight: 400 !important; opacity: 0.6; }
.ep-creator-meta span { font-size: 10px !important; padding: 2px 8px !important; border-radius: 6px !important; }
main h3.text-center { font-size: 16px !important; font-weight: 500 !important; margin-bottom: 10px !important; }

/* === PERFIL PUBLICO === */
.ep-cover-photo { height: 140px !important; max-height: 140px !important; }
.ep-profile-header { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
.ep-avatar-wrapper { margin: 0 auto !important; width: 72px !important; height: 72px !important; }
.ep-avatar-wrapper img, .ep-avatar-wrapper > * { width: 72px !important; height: 72px !important; }
.ep-profile-identity { width: 100% !important; text-align: center !important; margin-top: 4px !important; }
.ep-profile-name, .ep-profile-identity h1 { font-size: 17px !important; font-weight: 500 !important; justify-content: center !important; }
.ep-profile-identity .ep-handle, .ep-profile-identity small { font-size: 11px !important; font-weight: 400 !important; opacity: 0.6; }
.ep-stats-bar { display: flex !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; margin-top: 10px !important; }
.ep-stat-card { flex: 0 0 auto !important; min-width: 90px !important; max-width: 130px !important; padding: 8px 10px !important; border-radius: 8px !important; text-align: center !important; }
.ep-stat-card h4, .ep-stat-card .ep-stat-number { font-size: 15px !important; font-weight: 500 !important; margin: 0 !important; }
.ep-stat-card small, .ep-stat-card .ep-stat-label { font-size: 9px !important; font-weight: 400 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; opacity: 0.5; }
.ep-profile-actions { display: flex !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; margin: 10px auto !important; width: 100% !important; }
.ep-profile-actions .btn, .ep-profile-actions a.btn, .ep-profile-actions .dropdown > .btn, .ep-subscribe-dropdown .btn { font-size: 11px !important; padding: 7px 16px !important; border-radius: 8px !important; font-weight: 500 !important; }
.ep-profile-content .row { justify-content: center !important; }
.ep-profile-content > .container > .row > .col-md-7 { max-width: 520px !important; }
.ep-profile-content > .container > .row > .col-md-4, .ep-profile-content > .container > .row > .col-md-5 { max-width: 260px !important; }

/* === FOOTER === */
footer, .footer_sec { font-size: 11px !important; }
footer h5, footer h6, .footer_sec h5, .footer_sec h6 { font-size: 11px !important; font-weight: 500 !important; }
footer a, .footer_sec a { font-size: 11px !important; }
footer .btn, .footer_sec .btn { font-size: 11px !important; padding: 5px 12px !important; }

/* === GENERAL === */
.container { margin-left: auto !important; margin-right: auto !important; }
.notifc { font-size: 8px !important; min-width: 14px !important; height: 14px !important; line-height: 14px !important; }
.dropdown-menu { font-size: 12px !important; border-radius: 8px !important; }
.dropdown-item { font-size: 12px !important; padding: 5px 12px !important; }
.bootstrap-select .btn { height: auto !important; min-height: 28px !important; line-height: 1.4 !important; }

@media (min-width: 769px) { nav.fixed-bottom, .bottom-nav, .mobile-bottom-nav { display: none !important; } }


/* ============================================================
   COMPACT MINIMAL OVERRIDES — Final Polish
   ============================================================ */

/* --- 1d. Sidebar spacing compact --- */
.sidebar-group-label { font-size: 8px !important; letter-spacing: 0.8px !important; padding: 3px 10px 1px !important; margin: 6px 0 1px !important; }
.sidebar-link, .sidebar-nav .sidebar-link { padding: 4px 10px !important; gap: 8px !important; font-size: 11.5px !important; }
.sidebar-link i, .sidebar-link svg { width: 14px !important; height: 14px !important; font-size: 12px !important; }
.sidebar-nav { gap: 0 !important; }
.sidebar-group { padding: 4px 0 !important; }

/* --- 2. Stats bar compact --- */
.ep-stats-bar { gap: 6px !important; }
.ep-stat-card { padding: 4px 6px !important; min-width: auto !important; gap: 3px !important; border-radius: 8px !important; }
.ep-stat-icon { width: 24px !important; height: 24px !important; font-size: 10px !important; border-radius: 6px !important; }
.ep-stat-icon i, .ep-stat-icon svg { width: 10px !important; height: 10px !important; font-size: 10px !important; }
.ep-stat-number { font-size: 13px !important; }
.ep-stat-label { font-size: 7px !important; letter-spacing: 0.4px !important; }

/* --- 3. Premium button compact --- */
.ep-btn-subscribe, #premiumPostsLink { padding: 7px 16px !important; font-size: 11px !important; border-radius: 8px !important; }
.ep-btn-subscribe i, .ep-btn-subscribe svg { width: 11px !important; height: 11px !important; }
.ep-profile-actions { gap: 8px !important; margin-top: 10px !important; }
.ep-profile-actions .btn-secondary, .ep-profile-actions .btn-sm { padding: 6px 12px !important; font-size: 10px !important; }

/* --- 4. Post creation icons + avatar compact --- */
.post-uploader-icons { width: 18px !important; height: 18px !important; }
.post-uploader-icons.video-icon { width: 20px !important; height: 20px !important; }
.profilePicSmall, .profilePicSmall img { width: 40px !important; height: 40px !important; min-width: 40px !important; }
.btnBlue { padding: 5px 12px !important; font-size: 11px !important; border-radius: 6px !important; }

/* --- 5. File inputs compact --- */
input[type="file"] { font-size: 11px !important; }
input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button { padding: 3px 10px !important; font-size: 10px !important; border-radius: 4px !important; }

/* --- 6. Form fields compact --- */
.form-control, .custom-select, select.form-control { font-size: 12px !important; padding: 5px 10px !important; }
textarea.form-control { font-size: 12px !important; padding: 6px 10px !important; }
.form-group label, .col-form-label { font-size: 11px !important; }
.form-group + .form-group { margin-top: 6px !important; }
.form-row, .form-group { margin-bottom: 8px !important; }

/* --- 7. Cover + Avatar sizing --- */
.ep-cover-photo { height: 200px !important; max-height: 200px !important; }
.ep-avatar-ring { width: 90px !important; height: 90px !important; }
.ep-profile-name, .ep-profile-identity h1 { font-size: 16px !important; }
.ep-profile-identity .ep-handle { font-size: 11px !important; }

/* --- 8. Navbar compact --- */
.navbar-nav .nav-link { font-size: 12px !important; padding: 6px 8px !important; }
.badge { font-size: 9px !important; padding: 2px 4px !important; min-width: 14px !important; }

/* --- 9. Hero buttons compact --- */
.btn-hero-primary, .btn-hero-secondary { padding: 10px 22px !important; font-size: 12px !important; border-radius: 8px !important; }
.btn-browse-creators { padding: 9px 20px !important; font-size: 12px !important; border-radius: 8px !important; }

/* --- 10. How-it-works icons compact --- */
.hiw-icon { width: 42px !important; height: 42px !important; }
.hiw-icon i { font-size: 18px !important; }
.hiw-card { padding: 16px !important; }

/* --- 11. Sections + headings compact --- */
section, .section { padding: 25px 0 !important; }

/* --- 12. Buttons global compact --- */
.btn { font-size: 11px !important; padding: 5px 12px !important; border-radius: 6px !important; }
.btn-lg { font-size: 12px !important; padding: 7px 16px !important; }
.btn-sm { font-size: 10px !important; padding: 3px 8px !important; }

/* --- 13. Footer compact --- */
footer, .footer_sec { font-size: 11px !important; }
footer h5, footer h4 { font-size: 12px !important; }

/* --- 14. Creator cards compact --- */
.ep-creator-card { border-radius: 10px !important; }
.ep-creator-card .card-body { padding: 10px !important; }
.ep-creator-avatar, .ep-creator-card img.rounded-circle { width: 60px !important; height: 60px !important; }

/* --- 15. Sidebar info compact --- */
.ep-sidebar { padding: 14px !important; border-radius: 12px !important; }
.ep-sidebar-title { font-size: 10px !important; letter-spacing: 0.6px !important; margin-bottom: 4px !important; }
.ep-sidebar-bio { font-size: 12px !important; }
.ep-sidebar-link { padding: 4px 0 !important; font-size: 11px !important; }

/* --- 16. Body text --- */
p, li { font-size: 13px !important; line-height: 1.5 !important; }

/* --- 17. Mobile bottom nav --- */
.bottom-nav img, .mobile-nav img, .mobile-bottom-nav img { width: 18px !important; height: 18px !important; }


/* ============================================================
   FINAL POLISH — Chat, Badge, Simulator, Footer, Avatar
   ============================================================ */

/* --- 1. Chat design clean --- */
.lechatBox {
    border-right: 1px solid var(--border-color) !important;
}
.messagefullbodtysec .btn-primary svg,
.messagefullbodtysec .btn svg,
.messagefullbodtysec svg.feather {
    width: 16px !important;
    height: 16px !important;
}
/* Chat attach icons compact */
.chat-attach-icons a svg,
.chat-attach-icons a img,
.sendmsgArea svg,
.msgAttach svg {
    width: 18px !important;
    height: 18px !important;
}
/* Chat input area */
.sendMessageTextarea,
.typSms input[type="text"],
textarea.sendMessageTextarea {
    min-height: 36px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
}
/* Send button aligned */
.sendMsgBtn, .typSms input[type="submit"] {
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
}

/* --- 4. Category badge compact --- */
.ep-category-badge,
[class*="category-badge"],
.ep-sidebar .badge,
.ep-sidebar span[style*="border-radius: 9999px"] {
    font-size: 10px !important;
    padding: 3px 10px !important;
    border: 1px solid rgba(232,93,4,0.3) !important;
    border-radius: 6px !important;
    background: rgba(232,93,4,0.1) !important;
    color: #E85D04 !important;
}

/* --- 7. Simulator compact --- */
.per-month-v2 { font-size: 32px !important; }
.per-month-label { font-size: 12px !important; }
.simulatr-result { padding: 15px !important; }
.simulatr-result h3 { font-size: 12px !important; }
.simulator-card, .simulator-section .card { padding: 20px !important; }
.range_box b { font-size: 12px !important; }
.range_box .setVal input.val { width: 50px !important; font-size: 12px !important; }

/* --- 8. Simulator CTA button compact --- */
.simulatr-cta .btn-hero-primary,
.simulator-section .btn-hero-primary {
    font-size: 11px !important;
    padding: 8px 18px !important;
}

/* --- 9. Footer contact = plain link --- */
footer a[href*="contact"],
.footer_sec a[href*="contact"] {
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    background: none !important;
    color: #b8b8d0 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    gap: 0 !important;
}
footer a[href*="contact"]:hover,
.footer_sec a[href*="contact"]:hover {
    color: #E85D04 !important;
    background: none !important;
}
footer a[href*="contact"] i,
footer a[href*="contact"] svg,
.footer_sec a[href*="contact"] i {
    display: none !important;
}

/* --- Avatar ring: no multi-circle effect --- */
.ep-avatar-ring {
    padding: 2px !important;
    background: var(--color-primary, #E85D04) !important;
}
.ep-avatar-img {
    border: 2px solid var(--bg-body, #0c0f14) !important;
}

/* --- Cover photo: clean subtle --- */
.ep-cover-photo {
    height: 180px !important;
    max-height: 180px !important;
}
.ep-cover-photo::after {
    background: linear-gradient(180deg, rgba(232,93,4,0.04) 0%, var(--bg-body) 100%) !important;
}


/* === FIX: Chat textarea dark === */
.sendMessageTextarea,
textarea.sendMessageTextarea {
    background: var(--bg-input, #1a1f2e) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border: 1px solid var(--border-color, rgba(255,255,255,0.08)) !important;
    border-radius: 8px !important;
}
.sendMessageTextarea::placeholder {
    color: var(--text-muted, #64748b) !important;
}

/* === FIX: TinyMCE dark en admin === */
.tox.tox-tinymce {
    border-color: var(--border-color, #2d2d44) !important;
}
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow,
.tox .tox-menubar,
.tox .tox-statusbar {
    background: #1e2433 !important;
    border-color: #2d2d44 !important;
}
.tox .tox-tbtn,
.tox .tox-mbtn {
    color: #e2e8f0 !important;
}
.tox .tox-tbtn:hover,
.tox .tox-mbtn:hover {
    background: #2d2d44 !important;
}
.tox .tox-tbtn svg {
    fill: #e2e8f0 !important;
}
.tox .tox-statusbar__text-container,
.tox .tox-statusbar__wordcount,
.tox .tox-statusbar__path-item {
    color: #64748b !important;
}


/* ============================================================
   BLURRED PREVIEW — Locked/PPV Content (Phase 1.1)
   ============================================================ */

/* Image behind blur */
.locked-content-blur .locked-blur-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: blur(28px) brightness(0.6) saturate(0.8);
    -webkit-filter: blur(28px) brightness(0.6) saturate(0.8);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Video placeholder behind blur */
.locked-blur-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0c0f14 50%, #1e2433 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.locked-blur-placeholder--video i {
    font-size: 48px;
    color: rgba(255,255,255,0.08);
}

/* Prevent right-click / drag on blurred images */
.locked-content-wrapper {
    -webkit-user-select: none;
    user-select: none;
}
.locked-content-wrapper img {
    pointer-events: none;
    -webkit-user-drag: none;
}


/* ============================================================
   HASHTAGS — Clickable links in posts (Phase 1.3)
   ============================================================ */
.hashtag-link {
    color: var(--color-primary, #E85D04) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: opacity 0.15s ease;
}
.hashtag-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
}


/* ============================================================
   POLLS — Voting UI in posts (Phase 3.2)
   ============================================================ */
.poll-vote-btn:hover {
    border-color: var(--color-primary) !important;
    background: rgba(232,93,4,0.05) !important;
}
.poll-result {
    transition: all 0.3s ease;
}
