/* =============================================
   DHIRI APP - COMPLETE STYLESHEET
   Mobile-first, dark theme
   ============================================= */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #000000;
    color: #e0e0e0;
    line-height: 1.5;
    padding-bottom: 75px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #25D366;
    text-decoration: none;
}

/* ===== HEADER ===== */
.app-header {
    background: linear-gradient(135deg, #077a97 0%, #000000 100%);
    color: white;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header h1 {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.header-user span {
    color: #25D366;
    font-weight: 600;
}

.login-btn, .logout-btn {
    background: #25D366;
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.login-btn:hover, .logout-btn:hover {
    transform: scale(1.05);
    background: #128C7E;
}

.logout-btn {
    background: #b8024e;
    color: white;
}

.logout-btn:hover {
    background: #8a013a;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: #1a1a1a;
    padding: 12px 16px;
    position: sticky;
    top: 60px;
    z-index: 99;
    border-bottom: 1px solid #2a2a2a;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 25px;
    background: #2a2a2a;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #25D366;
}

.search-input::placeholder {
    color: #666;
}

.search-btn {
    background: #25D366;
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.02);
    background: #128C7E;
}

/* ===== TABS ===== */
.tabs-container {
    display: flex;
    background: #1a1a1a;
    padding: 0 4px;
    gap: 2px;
    position: sticky;
    top: 115px;
    z-index: 98;
    border-bottom: 1px solid #2a2a2a;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #888;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.tab-btn.active {
    color: #25D366;
    border-bottom-color: #25D366;
}

.tab-btn:hover {
    color: white;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    display: none;
    background: #1a1a1a;
    padding: 8px 12px;
    gap: 6px;
    flex-wrap: wrap;
    position: sticky;
    top: 155px;
    z-index: 97;
    border-bottom: 1px solid #2a2a2a;
}

.category-filter.show {
    display: flex;
}

.cat-btn {
    background: #2a2a2a;
    color: #888;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-btn.active {
    background: #25D366;
    color: #000;
}

.cat-btn:hover {
    background: #3a3a3a;
    color: white;
}

/* ===== FEED CONTAINER ===== */
.feed-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 8px;
}

/* ===== POST CARD ===== */
.post-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.2s;
    position: relative;
}

.post-card:active {
    transform: scale(0.99);
}

.post-category {
    display: inline-block;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-author {
    flex: 1;
}

.author-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.post-date {
    color: #666;
    font-size: 11px;
}

.post-title {
    color: #FFBF00;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.post-content {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ===== POST MEDIA ===== */
.post-image {
    margin: 10px -16px;
    background: #000;
}

.post-image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s;
}

.post-image img:active {
    opacity: 0.8;
}

.post-video {
    margin: 10px -16px;
    background: #000;
}

.post-video video {
    width: 100%;
    max-height: 400px;
    background: #000;
    display: block;
}

/* ===== POST ACTIONS ===== */
.post-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2a2a2a;
    border: none;
    padding: 10px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    color: #ccc;
    font-weight: 600;
    font-size: 13px;
    min-height: 44px;
}

.action-btn i {
    font-size: 16px;
}

.action-btn .count {
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.action-btn:active {
    transform: scale(0.95);
     background: #000000;
}

.action-btn.liked {
    background: #b8024e;
    color: white;
}

.action-btn.liked .count {
    background: rgba(255,255,255,0.2);
}

.action-btn:hover {
    background: #3a3a3a;
    color: white;
}

/* ===== COMMENTS DROPDOWN ===== */
.comments-dropdown {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
    display: none;
}

.comments-dropdown.show {
    display: block;
}

.comments-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.comment-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-body {
    flex: 1;
}

.comment-author {
    color: #25D366;
    font-weight: 600;
    font-size: 13px;
}

.comment-text {
    color: #ccc;
    font-size: 13px;
    margin: 4px 0;
}

.comment-time {
    color: #666;
    font-size: 10px;
}

.no-comments {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 13px;
}

.comment-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.comment-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #333;
    border-radius: 25px;
    background: #2a2a2a;
    color: white;
    font-size: 13px;
    resize: vertical;
    min-height: 44px;
}

.comment-input:focus {
    outline: none;
    border-color: #25D366;
}

.submit-comment {
    background: #25D366;
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
}

.submit-comment:disabled {
    opacity: 0.6;
}

.login-prompt {
    text-align: center;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 12px;
}

.login-prompt a {
    color: #25D366;
    font-weight: 600;
}

/* ===== LOAD MORE ===== */
.load-more {
    text-align: center;
    padding: 16px;
}

#loadMoreBtn {
    background: #2a2a2a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

#loadMoreBtn:hover {
    background: #3a3a3a;
}

#loadMoreBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 15px;
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 6px 0 8px;
    border-top: 1px solid #2a2a2a;
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 10px;
    gap: 2px;
    min-width: 50px;
}

.nav-item i {
    font-size: 22px;
}

.nav-item span {
    font-size: 9px;
    font-weight: 500;
}

.nav-item.active {
    color: #25D366;
}

.nav-item:active {
    transform: scale(0.9);
}

/* ===== AUTH PAGES ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: #000;
}

.auth-card {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 400px;
    width: 100%;
    border: 1px solid #2a2a2a;
}

.auth-card h1 {
    color: #25D366;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #888;
    text-align: center;
    font-size: 14px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #2a2a2a;
    color: white;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #25D366;
}

.form-group input::placeholder {
    color: #666;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-btn:hover {
    transform: scale(1.02);
    background: #25D366;
    color: #000000;
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-error {
    background: #b8024e;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

.auth-success {
    background: #25D366;
    color: #000;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

.auth-link {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 20px;
}

.auth-link a {
    color: #25D366;
    font-weight: 600;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #2a2a2a;
    border-top-color: #25D366;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-comments {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .app-header h1 {
        font-size: 1.1rem;
    }
    
    .post-card {
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 12px;
    }
    
    .post-title {
        font-size: 1rem;
    }
    
    .post-content {
        font-size: 13px;
    }
    
    .action-btn {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 40px;
    }
    
    .action-btn i {
        font-size: 14px;
    }
    
    .bottom-nav {
        padding: 4px 0 6px;
    }
    
    .nav-item i {
        font-size: 20px;
    }
    
    .nav-item span {
        font-size: 8px;
    }
    
    .search-section {
        padding: 10px 12px;
    }
    
    .search-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .tabs-container {
        top: 100px;
    }
    
    .tab-btn {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .category-filter {
        top: 140px;
        padding: 6px 10px;
    }
    
    .cat-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .submit-comment {
        width: 100%;
    }
    
    .auth-card {
        padding: 24px 16px;
    }
}

@media (max-width: 360px) {
    .nav-item i {
        font-size: 18px;
    }
    
    .nav-item span {
        font-size: 7px;
    }
    
    .action-btn {
        font-size: 11px;
        padding: 6px 8px;
        min-height: 36px;
    }
    
    .post-title {
        font-size: 0.95rem;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #128C7E;
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}

.text-muted {
    color: #666;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-8 {
    gap: 8px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.show {
    display: flex;
}

.lightbox-image {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #b8024e;
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}
/* ===== AUDIO PLAYER ===== */
.post-audio {
    margin: 12px -20px;
    padding: 16px 20px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.post-audio audio {
    width: 100%;
    border-radius: 8px;
    height: 40px;
}

.post-audio .audio-label {
    margin-top: 8px;
    font-size: 11px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-audio .audio-label i {
    font-size: 14px;
}

/* ===== VIDEO PREVIEW (during recording) ===== */
.video-preview-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 12px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-preview-container video {
    width: 100%;
    max-height: 400px;
    background: #000000;
    display: block;
}

.video-preview-container .video-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
}
/* ============================================
   SHARE MODAL
   ============================================ */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.share-modal-content {
    position: relative;
    background: #1a1a1a;
    border-radius: 24px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.share-modal-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0a0a0a;
    color: #888888;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.share-option i {
    font-size: 28px;
}

.share-option:active {
    transform: scale(0.95);
}

.share-option:hover {
    background: #1a1a1a;
    border-color: #25D366;
}

.share-url-container {
    display: flex;
    gap: 10px;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.share-url-input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #888888;
    font-size: 12px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.share-url-copy {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #25D366;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.share-url-copy:active {
    transform: scale(0.95);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ============================================
   COMMENT AUDIO & VIDEO
   ============================================ */
.comment-audio {
    margin: 8px 0;
    padding: 8px 12px;
    background: #0a0a0a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.comment-audio audio {
    width: 100%;
    max-width: 200px;
    height: 32px;
    border-radius: 8px;
}

.comment-audio .audio-label {
    font-size: 10px;
    color: #888888;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-video {
    margin: 8px 0;
}

.comment-video video {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    background: #000000;
}

.reply-btn {
    background: none;
    border: none;
    color: #25D366;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    font-family: 'Inter', sans-serif;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - SHARE MODAL
   ============================================ */
@media (max-width: 480px) {
    .share-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .share-option {
        padding: 12px 4px;
        font-size: 10px;
    }
    
    .share-option i {
        font-size: 22px;
    }
    
    .share-modal-content {
        padding: 18px;
        width: 95%;
    }
    
    .toast-notification {
        font-size: 12px;
        padding: 10px 18px;
        bottom: 80px;
    }
}
/* ============================================
   COMMENTS - IMPROVED DISPLAY
   ============================================ */
.comments-dropdown {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comments-dropdown.show {
    display: block;
}

.comments-list {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding-right: 4px;
}

.comments-list::-webkit-scrollbar {
    width: 4px;
}

.comments-list::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 4px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: #0a0a0a;
    border-radius: 12px;
    margin-bottom: 8px;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.comment-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-avatar .avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25D366;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

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

.comment-author {
    font-weight: 600;
    font-size: 13px;
    color: #25D366;
    margin-bottom: 2px;
}

.comment-text {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.5;
    word-wrap: break-word;
    margin: 4px 0;
}

.comment-time {
    font-size: 10px;
    color: #666666;
    margin-top: 4px;
}

/* Comment Audio & Video */
.comment-audio {
    margin: 8px 0;
    padding: 8px 12px;
    background: #000000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.comment-audio audio {
    width: 100%;
    max-width: 200px;
    height: 36px;
    border-radius: 8px;
}

.comment-audio .audio-label {
    font-size: 10px;
    color: #888888;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-video {
    margin: 8px 0;
}

.comment-video video {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    background: #000000;
}

.reply-btn {
    background: none;
    border: none;
    color: #25D366;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    font-family: 'Inter', sans-serif;
    margin-top: 4px;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-recording-status {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    background: #1a1a1a;
    border-radius: 12px;
    font-size: 12px;
    color: #888;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-recording-status.show {
    display: flex;
}

.recording-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse 1s infinite;
    margin-right: 10px;
    flex-shrink: 0;
}

.recording-text {
    flex: 1;
    color: #ffffff;
    font-weight: 500;
}

.recording-timer {
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    margin: 0 12px;
}

.recording-controls {
    display: flex;
    gap: 6px;
}

.recording-controls button {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.recording-controls .stop-record-btn {
    background: #ef4444;
    color: #ffffff;
}

.recording-controls .stop-record-btn:hover {
    background: #dc2626;
}

.recording-controls .cancel-record-btn {
    background: transparent;
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recording-controls .cancel-record-btn:hover {
    background: #2a2a2a;
}

.recording-controls button:active {
    transform: scale(0.95);
}
/* Verified Badge */
.verified-badge {
    display: inline-block;
    margin-left: 4px;
    color: #25D366;
    font-size: 14px;
}

.verified-badge i {
    background: #000;
    border-radius: 50%;
    padding: 1px;
}

.verified-badge-overlay {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #25D366;
    color: #000;
    border-radius: 50%;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.avatar-placeholder {
    position: relative;
}
/* ============================================
   VERIFIED BADGE - Dark with grey outline
   ============================================ */
.verified-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a1a;
    color: #25D366;
    padding: 3px 12px 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #888888;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-left: 4px;
    vertical-align: middle;
    line-height: 1.4;
}

.verified-user-badge span {
    font-size: 14px;
    line-height: 1;
}

/* Verified badge on avatar - Dark with grey outline */
.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #1a1a1a;
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #888888;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1;
}
/* ===== PROFILE AVATAR WITH VERIFIED BADGE ===== */
.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar img,
.profile-avatar .avatar-placeholder {
    display: block;
}

/* Override global verified badge for profile avatar */
.profile-avatar .verified-badge {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    background: #1a1a1a !important;
    color: #25D366 !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #888888 !important;
    font-size: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .profile-avatar .verified-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
        bottom: 1px !important;
        right: 1px !important;
    }
}
.avatar-wrapper {
    position: relative;
    display: inline-block;
}

/* Hover effect */
.verified-user-badge:hover {
    border-color: #25D366;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.verified-badge:hover {
    border-color: #25D366;
    transform: scale(1.1);
    transition: all 0.2s ease;
}
/* Notification icons */
.notification-item .icon.comment { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.notification-item .icon.bid { background: rgba(251, 191, 36, 0.15); color: #f59e0b; }
.notification-item .icon.follow {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}