/* Facebook-Style UI CSS */
body {
    background-color: #f0f2f5 !important;
    font-family: Helvetica, Arial, sans-serif;
    color: #050505;
}

/* Card styling */
.card {
    margin: 0 0 16px 0 !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transform: translateY(-1px);
}

.card-style {
    padding: 16px !important;
}

/* Top bar styling - FULL WHITE */
.facebook-topbar {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    min-height: 60px;
    border-bottom: none !important;
}

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

.mobile-logo {
    height: 32px !important;
    width: auto;
    max-width: 120px;
}

/* Enhanced notification styling */
.facebook-notification a,
.facebook-message a {
    display: block;
    position: relative;
    transition: all 0.2s ease;
}

.facebook-notification a:hover,
.facebook-message a:hover {
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #e41e3f;
    color: white;
    font-size: 9px;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Login/Signup buttons */
.btn-login, 
.btn-signup {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-login {
    background-color: #1877f2;
    color: #fff;
}

.btn-signup {
    background-color: #42b72a;
    color: #fff;
}

.btn-login:hover, 
.btn-signup:hover {
    opacity: 0.9;
}

/* Icons styling */
.facebook-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.facebook-icon:hover {
    background-color: #e4e6eb;
}

.facebook-profile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e4e6eb;
}

.facebook-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tabs styling - FULL WHITE */
.facebook-tabs {
    border-top: 1px solid #e4e6ea;
    padding: 0;
    background: #ffffff !important;
}

.facebook-tab {
    padding: 8px 4px;
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
    min-width: 48px;
    background: transparent !important;
}

.facebook-tab:hover {
    background: rgba(24, 119, 242, 0.05) !important;
}

.facebook-tab:hover .facebook-tab-icon {
    color: #1877f2;
}

.facebook-tab-active {
    background: rgba(24, 119, 242, 0.1) !important;
}

.facebook-tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1877f2;
}

.facebook-tab-icon {
    font-size: 20px;
    color: #65676b;
    margin-bottom: 0;
}

.facebook-tab-active .facebook-tab-icon {
    color: #1877f2;
}

.tab-label {
    font-size: 11px;
    color: #65676b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: none;
}

.facebook-tab-active .tab-label {
    color: #1877f2;
    font-weight: 600;
}

@media (min-width: 576px) {
    .tab-label {
        display: block;
    }
}

.facebook-tab-active .tab-label {
    color: #1877f2;
    font-weight: 600;
}

.create-tab .facebook-tab-icon {
    color: #1877f2;
}

/* Quick access styling */
.facebook-quick-access {
    background: white;
    overflow-x: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.facebook-quick-access::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

.quick-access-wrapper {
    padding: 0 4px;
    gap: 8px;
}

.quick-access-item {
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.quick-access-item:hover {
    background-color: #f0f2f5;
}

.quick-access-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #18a6f2, #186cf2);
    color: white;
}

.quick-access-label {
    font-size: 12px;
    color: #65676b;
    text-align: center;
}

/* Mobile categories styling */
.mobile-categories {
    background: white;
    position: relative;
}

.mobile-categories-wrapper {
    position: relative;
    overflow: hidden;
}

.mobile-categories-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    position: relative;
    gap: 8px;
}

.mobile-categories-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-category-item {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f0f2f5;
    border-radius: 16px;
    margin-right: 8px;
    color: #050505;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-category-item.active {
    background-color: #1877f2;
    color: white;
}

.scroll-indicator-left,
.scroll-indicator-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    z-index: 1;
    cursor: pointer;
    font-size: 12px;
    color: #65676b;
}

.scroll-indicator-left {
    left: 4px;
    display: none;
}

.scroll-indicator-right {
    right: 4px;
}

/* Mobile bottom navigation */
.mobile-bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 5px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: #65676b;
    font-size: 22px;
    position: relative;
    flex: 1;
    text-decoration: none;
}

.mobile-nav-active {
    color: #1877f2;
}

.mobile-nav-create {
    background-color: #1877f2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    margin-top: -15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mobile-nav-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 12px);
    background-color: #e41e3f;
    color: white;
    font-size: 10px;
    font-weight: bold;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-profile {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
}

.mobile-nav-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topbar-spacer {
    height: 110px;
}

@media (min-width: 768px) {
    .topbar-spacer {
        height: 140px;
    }
}

/* Story section styling */
.story-section {
    margin: 16px 0;
    padding: 0 0 10px;
    background-color: transparent;
}

.stories-header {
    padding: 12px 0 5px;
    border-bottom: 1px solid #e4e6eb;
}

.story-action-link {
    font-size: 14px;
    color: #65676b;
    text-decoration: none;
    font-weight: 500;
}

.story-action-link:hover {
    text-decoration: underline;
}

.story-slider {
    padding: 12px 0 5px;
    margin: 0 -5px;
}

.story-card {
    height: 180px;
    width: 110px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    margin: 0 auto;
}

.story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.story-card-top {
    height: 130px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #e4e6eb;
}

@media (max-width: 575px) {
    .story-card {
        width: 100%;
        height: 200px;
    }
    
    .story-card-top {
        height: 150px;
    }
}

.story-background {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.story-add-icon {
    width: 36px;
    height: 36px;
    background-color: #1877f2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid white;
}

.user-story-info {
    height: 50px;
    background-color: white;
    position: relative;
    padding: 12px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-user-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #1877f2;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background-color: white;
}

.my-story-img {
    border-color: #e4e6eb;
}

.story-user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-author {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin: 16px auto 0;
    font-weight: 500;
    color: #65676b;
    font-size: 12px;
    text-align: center;
}

/* Create post section styling */
.create-post {
    padding: 12px;
    margin-bottom: 16px;
}

.create-post-input {
    background-color: #f0f2f5;
    border-radius: 20px;
    padding: 10px 16px;
    border: none;
    color: #65676b;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
}

.create-post-input::placeholder {
    color: #65676b;
}

.create-post-actions {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e4e6eb;
}

.create-post-action {
    font-weight: 500;
    color: #65676b;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.create-post-action:hover {
    background-color: #f0f2f5;
}

.create-post-action i {
    margin-right: 8px;
}

/* Search styling */
.facebook-search {
    background-color: #f0f2f5;
    border-radius: 50px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.facebook-search input {
    border: none;
    background: transparent;
    outline: none;
    padding-left: 8px;
    color: #050505;
    width: 100%;
}

/* Post item styling */
.post-item {
    margin-bottom: 16px;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.post-user-info {
    margin-left: 10px;
}

.post-username {
    font-weight: 600;
    font-size: 15px;
    color: #050505;
    margin-bottom: 2px;
}

.post-time {
    font-size: 12px;
    color: #65676b;
}

.post-content {
    padding: 0 16px 16px;
    font-size: 15px;
    line-height: 1.5;
}

.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-actions {
    display: flex;
    border-top: 1px solid #e4e6eb;
    padding: 4px 0;
}

.post-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    font-weight: 500;
    color: #65676b;
    cursor: pointer;
    transition: background-color 0.2s;
}

.post-action:hover {
    background-color: #f0f2f5;
    border-radius: 4px;
}

.post-action i {
    margin-right: 6px;
}
.facebook-search {
    background-color: #f0f2f5;
    border-radius: 20px;
    border: none;
    box-shadow: none;
}

/* Content colors */
.fb-text-primary {
    color: #1877f2 !important;
}

.fb-text-secondary {
    color: #65676b !important;
}

.fb-bg-light {
    background-color: #f0f2f5 !important;
}

/* Facebook-specific border colors */
.fb-border {
    border-color: #e4e6eb !important;
}

/* Fix for content not being hidden under fixed headers */
.spacer-for-fixed-header {
    height: 110px;
}

/* Advanced Animations and Effects */
@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes wobble {
    0% { transform: translateX(0%); }
    15% { transform: translateX(-25%) rotate(-5deg); }
    30% { transform: translateX(20%) rotate(3deg); }
    45% { transform: translateX(-15%) rotate(-3deg); }
    60% { transform: translateX(10%) rotate(2deg); }
    75% { transform: translateX(-5%) rotate(-1deg); }
    100% { transform: translateX(0%); }
}

/* Interactive Elements */
.interactive-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-interactive {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-interactive: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.5s;
}

.btn-interactive:hover:before {
    left: 100%;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Micro-interactions */
.micro-bounce {
    transition: transform 0.2s ease;
}

.micro-bounce:active {
    transform: scale(0.95);
}

.like-button {
    transition: all 0.3s ease;
}

.like-button.liked {
    color: #e74c3c;
    animation: pulse-heart 0.6s ease;
}

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

/* Accessibility improvements */
.focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .facebook-topbar {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }
    
    .card {
        background-color: #2c2c2c;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .loading-shimmer {
        background: linear-gradient(90deg, #2c2c2c 25%, #404040 50%, #2c2c2c 75%);
        background-size: 200% 100%;
    }
}

/* Performance optimizations */
.gpu-accelerated {
    will-change: transform;
    transform: translateZ(0);
}

/* Advanced hover states */
.premium-hover {
    position: relative;
    overflow: hidden;
}

.premium-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.premium-hover:hover::before {
    transform: translateX(100%);
}

/* Smooth page transitions */
.page-transition {
    animation: fade-in 0.5s ease-in-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 COMPREHENSIVE RESPONSIVE DESIGN FOR FACEBOOK-STYLE UI */

/* 📱 MOBILE-FIRST BASE STYLES (320px+) */
/* Touch-friendly targets - minimum 44px */
.facebook-icon,
.facebook-profile,
.btn-login,
.btn-signup,
.facebook-tab {
    min-height: 44px;
    min-width: 44px;
}

/* Safe areas for notch devices */
.facebook-topbar .content {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

/* Base mobile styles */
.facebook-topbar {
    height: 60px;
    min-height: 60px;
}

.facebook-icon {
    width: 36px;
    height: 36px;
}

.facebook-profile {
    width: 36px;
    height: 36px;
}

.mobile-logo {
    height: 32px;
    max-width: 120px;
}

.btn-login,
.btn-signup {
    padding: 4px 10px;
    font-size: 13px;
    margin: 0 2px;
}

/* 📱 TABLET OPTIMIZATION (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .facebook-topbar {
        height: 64px;
        min-height: 64px;
    }

    .facebook-topbar .content {
        padding: 8px 20px;
    }

    .facebook-icon {
        width: 40px;
        height: 40px;
    }

    .facebook-profile {
        width: 40px;
        height: 40px;
    }

    .mobile-logo {
        height: 36px;
        max-width: 140px;
    }

    .btn-login,
    .btn-signup {
        padding: 6px 12px;
        font-size: 14px;
        margin: 0 4px;
    }

    .notification-badge {
        top: -8px;
        right: -8px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
    }

    .facebook-tab {
        padding: 10px 6px;
    }

    .facebook-tab-icon {
        font-size: 22px;
    }

    .tab-label {
        font-size: 12px;
    }

    .quick-access-icon {
        width: 40px;
        height: 40px;
    }

    .quick-access-label {
        font-size: 13px;
    }

    .mobile-category-item {
        padding: 6px 14px;
        font-size: 14px;
        margin-right: 10px;
    }
}

/* 💻 DESKTOP LAYOUT (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .facebook-topbar {
        height: 68px;
        min-height: 68px;
    }

    .facebook-topbar .content {
        padding: 10px 24px;
        max-width: 1140px;
        margin: 0 auto;
    }

    .facebook-icon {
        width: 42px;
        height: 42px;
    }

    .facebook-profile {
        width: 42px;
        height: 42px;
    }

    .mobile-logo {
        height: 38px;
        max-width: 150px;
    }

    .btn-login,
    .btn-signup {
        padding: 8px 14px;
        font-size: 15px;
        margin: 0 6px;
    }

    .notification-badge {
        top: -10px;
        right: -10px;
        font-size: 11px;
        min-width: 18px;
        height: 18px;
        border-radius: 9px;
    }

    .facebook-tab {
        padding: 12px 8px;
    }

    .facebook-tab-icon {
        font-size: 24px;
    }

    .tab-label {
        font-size: 13px;
    }

    .quick-access-icon {
        width: 44px;
        height: 44px;
    }

    .quick-access-label {
        font-size: 14px;
    }

    .mobile-category-item {
        padding: 8px 16px;
        font-size: 15px;
        margin-right: 12px;
    }
}

/* 🖥️ LARGE DESKTOP (1200px+) */
@media (min-width: 1200px) {
    .facebook-topbar {
        height: 72px;
        min-height: 72px;
    }

    .facebook-topbar .content {
        padding: 12px 28px;
        max-width: 1320px;
        margin: 0 auto;
    }

    .facebook-icon {
        width: 44px;
        height: 44px;
    }

    .facebook-profile {
        width: 44px;
        height: 44px;
    }

    .mobile-logo {
        height: 40px;
        max-width: 160px;
    }

    .btn-login,
    .btn-signup {
        padding: 10px 16px;
        font-size: 16px;
        margin: 0 8px;
        border-radius: 6px;
    }

    .notification-badge {
        top: -12px;
        right: -12px;
        font-size: 12px;
        min-width: 20px;
        height: 20px;
        border-radius: 10px;
    }

    .facebook-tab {
        padding: 14px 10px;
    }

    .facebook-tab-icon {
        font-size: 26px;
    }

    .tab-label {
        font-size: 14px;
    }

    .quick-access-icon {
        width: 48px;
        height: 48px;
    }

    .quick-access-label {
        font-size: 15px;
    }

    .mobile-category-item {
        padding: 10px 18px;
        font-size: 16px;
        margin-right: 14px;
        border-radius: 20px;
    }
}

/* 📱 SMALL MOBILE ENHANCEMENTS (320px - 480px) */
@media (max-width: 480px) {
    .facebook-topbar {
        height: 56px;
        min-height: 56px;
    }

    .facebook-topbar .content {
        padding: 6px 12px;
    }

    .facebook-icon {
        width: 34px;
        height: 34px;
    }

    .facebook-profile {
        width: 34px;
        height: 34px;
    }

    .mobile-logo {
        height: 28px;
        max-width: 100px;
    }

    .btn-login,
    .btn-signup {
        padding: 3px 8px;
        font-size: 12px;
        margin: 0 1px;
        min-height: 32px;
    }

    .notification-badge {
        top: -5px;
        right: -5px;
        font-size: 8px;
        min-width: 12px;
        height: 12px;
        border-radius: 6px;
    }

    .facebook-tab {
        padding: 6px 3px;
        min-width: 40px;
    }

    .facebook-tab-icon {
        font-size: 18px;
    }

    .tab-label {
        font-size: 10px;
    }

    .quick-access-icon {
        width: 32px;
        height: 32px;
    }

    .quick-access-label {
        font-size: 11px;
    }

    .mobile-category-item {
        padding: 4px 10px;
        font-size: 12px;
        margin-right: 6px;
    }
}

/* 📱 EXTRA SMALL MOBILE (320px - 375px) */
@media (max-width: 375px) {
    .facebook-topbar {
        height: 52px;
        min-height: 52px;
    }

    .facebook-topbar .content {
        padding: 4px 8px;
    }

    .facebook-icon {
        width: 32px;
        height: 32px;
    }

    .facebook-profile {
        width: 32px;
        height: 32px;
    }

    .mobile-logo {
        height: 24px;
        max-width: 80px;
    }

    .btn-login,
    .btn-signup {
        padding: 2px 6px;
        font-size: 11px;
        margin: 0 1px;
        min-height: 28px;
    }

    .notification-badge {
        top: -4px;
        right: -4px;
        font-size: 7px;
        min-width: 10px;
        height: 10px;
        border-radius: 5px;
    }

    .facebook-tab {
        padding: 4px 2px;
        min-width: 36px;
    }

    .facebook-tab-icon {
        font-size: 16px;
    }

    .tab-label {
        font-size: 9px;
    }

    .quick-access-icon {
        width: 28px;
        height: 28px;
    }

    .quick-access-label {
        font-size: 10px;
    }

    .mobile-category-item {
        padding: 3px 8px;
        font-size: 11px;
        margin-right: 4px;
    }
}

/* 🌙 DARK MODE SUPPORT (Optional) */
@media (prefers-color-scheme: dark) {
    .facebook-topbar {
        background: #242526 !important;
        border-bottom-color: #3a3b3c;
    }

    .facebook-icon {
        background-color: #3a3b3c;
    }

    .facebook-icon:hover {
        background-color: #4e4f50;
    }

    .notification-badge {
        border-color: #242526;
    }
}

/* ♿ ACCESSIBILITY ENHANCEMENTS */
@media (prefers-reduced-motion: reduce) {
    .facebook-icon,
    .btn-login,
    .btn-signup,
    .facebook-tab,
    .quick-access-item,
    .mobile-category-item {
        transition: none;
    }

    .facebook-topbar {
        animation: none;
    }
}

/* 🔍 HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .facebook-topbar {
        border-bottom: 2px solid #000;
    }

    .facebook-icon {
        border: 1px solid #000;
    }

    .notification-badge {
        border: 2px solid #000;
    }
}
