/* PUYaari Global CSS - Premium Dark Glassmorphism Theme */

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

:root {
    --bg-dark: #090616;
    --bg-card: rgba(23, 16, 45, 0.65);
    --bg-card-hover: rgba(35, 25, 65, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(244, 63, 94, 0.15);
    
    --primary-color: #f43f5e;
    --primary-hover: #e11d48;
    --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --accent-gold: #fbbf24;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-link: #f43f5e;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-lg: 0 12px 48px 0 rgba(244, 63, 94, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-dark);
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 20%, rgba(244, 63, 94, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(9, 6, 22, 1) 0px, transparent 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

a {
    color: var(--text-link);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md), 0 0 20px var(--glass-glow);
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-full);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-full);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: var(--border-radius-full);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Inputs & Form Controls */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

/* Header & Navigation */
.header {
    background: rgba(9, 6, 22, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-heart {
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.user-badge {
    background: var(--primary-gradient);
    padding: 2px 8px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

/* Layout */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem 1.5rem; /* bottom padding for mobile navigation */
}

/* Mobile Bottom Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(9, 6, 22, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.25rem;
    flex: 1;
    height: 100%;
}

.mobile-nav-item i {
    font-size: 1.3rem;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary-color);
}

/* Home / Posts Feed Layout */
.feed-grid {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 1.5rem;
}

/* Sidebar and Navigation Drawer */
.sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-item-link:hover, .category-item-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Post Styling */
.post-card {
    margin-bottom: 1.5rem;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 2px solid var(--glass-border);
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-lg {
    width: 90px;
    height: 90px;
    border: 3px solid var(--primary-color);
}

.post-author-info h4 {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.verified-badge {
    color: #38bdf8;
    font-size: 0.85rem;
}

.post-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-category-badge {
    background: rgba(244, 63, 94, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 0.5rem;
}

.post-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.post-action-btn:hover {
    color: var(--text-primary);
}

.post-action-btn.liked {
    color: var(--primary-color);
}

/* Comments Section */
.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-input-box {
    display: flex;
    gap: 0.75rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.comment-bubble {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 0.8rem;
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.comment-time {
    font-weight: 400;
    color: var(--text-muted);
}

.comment-body {
    color: var(--text-secondary);
    line-height: 1.4;
}

/* DiscoverSwipe Deck Interface */
.swipe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 500px;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
}

.swipe-card {
    width: 100%;
    height: 480px;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #17102d;
    border: 1px solid var(--glass-border);
}

.swipe-card-img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.swipe-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(9, 6, 22, 1) 0%, rgba(9, 6, 22, 0.9) 70%, rgba(9, 6, 22, 0) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.swipe-card-name {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.swipe-card-vibe-match {
    background: var(--primary-gradient);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    align-self: flex-start;
    margin-top: 0.5rem;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}

.swipe-actions-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.swipe-action-btn {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swipe-action-btn-pass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.swipe-action-btn-pass:hover {
    background: #374151;
    transform: scale(1.1);
}

.swipe-action-btn-like {
    background: rgba(244, 63, 94, 0.1);
    color: var(--primary-color);
    border-color: rgba(244, 63, 94, 0.3);
    font-size: 1.5rem;
}

.swipe-action-btn-like:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.5);
}

.swipe-action-btn-crush {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.swipe-action-btn-crush:hover {
    background: #a855f7;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* Chat Screen Styling */
.chat-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - 160px);
    min-height: 500px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}

.chat-inbox-list {
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-inbox-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.inbox-scroll {
    overflow-y: auto;
    flex: 1;
}

.inbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.2s;
}

.inbox-item:hover, .inbox-item.active {
    background: rgba(255, 255, 255, 0.04);
}

.inbox-item-info {
    flex: 1;
    min-width: 0;
}

.inbox-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inbox-item-time {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.inbox-item-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: var(--border-radius-full);
}

.offline-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: var(--border-radius-full);
}

.chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-window-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-window-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.15);
}

.message-bubble {
    max-width: 65%;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    position: relative;
}

.message-sent {
    background: var(--primary-gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-received {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    margin-top: 0.3rem;
}

.message-received .message-time {
    color: var(--text-muted);
}

.message-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.25rem;
}

.chat-input-bar {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Event Cards Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.event-card {
    overflow: hidden;
    padding: 0;
}

.event-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.event-card-body {
    padding: 1.5rem;
}

.event-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-details-list {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Interests Selections & Tags */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.interest-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s;
    user-select: none;
}

.interest-checkbox-input {
    display: none;
}

.interest-checkbox-input:checked + .interest-checkbox-label {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.interest-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin: 2px;
}

/* Vibe Selector Styles */
.vibe-card-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vibe-option-label {
    cursor: pointer;
    user-select: none;
}

.vibe-option-input {
    display: none;
}

.vibe-option-box {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vibe-option-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.vibe-option-box h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.vibe-option-box span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vibe-option-input:checked + .vibe-option-box {
    border-color: var(--primary-color);
    background: rgba(244, 63, 94, 0.05);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
    transform: translateY(-3px);
}

/* Notifications Badge count */
.notification-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    background: #17102d;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    animation: slideIn 0.3s ease forwards;
}

.toast-msg-error {
    border-left-color: #ef4444;
}

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Dropdown/Menu panel */
.menu-dropdown {
    position: relative;
    display: inline-block;
}

.menu-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #17102d;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    min-width: 150px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.menu-dropdown-content a, .menu-dropdown-content button {
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    display: block;
    font-size: 0.85rem;
    text-align: left;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-dropdown-content a:hover, .menu-dropdown-content button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.menu-dropdown:hover .menu-dropdown-content {
    display: block;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .feed-grid {
        grid-template-columns: 200px 1fr;
    }
    .feed-grid > *:last-child {
        display: none; /* Hide sidebar list on tablets */
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Hide top nav links */
    }
    .mobile-nav {
        display: flex; /* Show bottom nav on phones */
    }
    .feed-grid {
        grid-template-columns: 1fr;
    }
    .feed-grid > *:first-child {
        display: none; /* Hide category left rail, show as list toggle on dashboard */
    }
    .chat-container {
        grid-template-columns: 1fr;
    }
    .chat-container.active-chat .chat-inbox-list {
        display: none;
    }
    .chat-container:not(.active-chat) .chat-window {
        display: none;
    }
    .main-content {
        padding-top: 1rem;
        padding-bottom: 5.5rem;
    }
    .swipe-card {
        height: 420px;
    }
}
