/* ============================================
   PROJETO REDE SOCIAL HÍBRIDA - MAIN CSS
   Fase: A1.2 - X.com Style Design
   Clean, Modern, Professional
   ============================================ */

/* CSS VARIABLES */
:root {
    /* CORES PRINCIPAIS */
    --primary: #1DA1F2;
    --primary-hover: #1A91DA;
    --secondary: #536471;
    --accent: #1DA1F2;
    --success: #00BA7C;
    --error: #F4212E;
    --warning: #FFD400;
    --info: #1DA1F2;
    
    /* BACKGROUNDS */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F9FA;
    --bg-tertiary: #EFF3F4;
    --bg-hover: #F7F9FA;
    
    /* TEXTO */
    --text-primary: #0F1419;
    --text-secondary: #536471;
    --text-muted: #8B98A5;
    --text-light: #6E767D;
    --text-white: #FFFFFF;
    
    /* BORDAS */
    --border-light: #EFF3F4;
    --border-medium: #CFD9DE;
    --border-dark: #8B98A5;
    
    /* SOMBRAS */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* BORDAS ARREDONDADAS */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* ESPAÇAMENTOS */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* TIPOGRAFIA */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-lg: 17px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    
    /* TRANSIÇÕES */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* BREAKPOINTS */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
}

/* DARK THEME */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #16181C;
    --bg-tertiary: #1C1F23;
    --bg-hover: #1C1F23;
    
    --text-primary: #E7E9EA;
    --text-secondary: #71767B;
    --text-muted: #565656;
    --text-light: #3E4144;
    
    --border-light: #2F3336;
    --border-medium: #3E4144;
    --border-dark: #565656;
}

/* RESET E BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CONTAINER SYSTEM */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* THEME TOGGLE */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.theme-toggle i {
    width: 20px;
    height: 20px;
}

/* HEADER PRINCIPAL */
.main-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .main-header {
    background-color: rgba(0, 0, 0, 0.85);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: var(--space-lg);
}

/* LOGO */
.main-header .logo a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-xl);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-normal);
}

.main-header .logo a:hover {
    color: var(--primary);
}

/* SEARCH BAR */
.search-container {
    flex: 1;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    transition: var(--transition-normal);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* USER MENU */
.user-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
}

.compose-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.compose-btn:hover {
    background: var(--primary-hover);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.user-profile:hover {
    background: var(--bg-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.user-handle {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-normal);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: var(--text-base);
}

.dropdown-item:hover {
    background: var(--bg-hover);
}

.dropdown-item i {
    width: 16px;
    height: 16px;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 4px 0;
}

/* MAIN LAYOUT */
.main-container {
    min-height: calc(100vh - 64px);
}

.layout {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* SIDEBAR */
.sidebar {
    padding: var(--space-lg) 0;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    font-size: var(--text-xl);
    font-weight: 400;
}

.nav-item:hover {
    background: var(--bg-hover);
}

.nav-item.active {
    font-weight: 700;
}

.nav-item i {
    width: 24px;
    height: 24px;
}

.user-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.user-card:hover {
    background: var(--bg-hover);
}

.user-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.user-card-info h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.user-card-info p {
    font-size: var(--text-sm);
    margin: 0;
    color: var(--text-secondary);
}

.user-card-menu {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    color: var(--text-muted);
}

.user-card-menu:hover {
    background: var(--bg-hover);
}

/* MAIN CONTENT */
.main-content {
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    min-height: calc(100vh - 64px);
}

/* COMPOSE SECTION */
.compose-section {
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-lg);
}

.compose-header h2 {
    font-size: var(--text-xl);
    font-weight: 800;
    margin: 0 0 var(--space-lg);
    color: var(--text-primary);
}

.compose-body {
    display: flex;
    gap: var(--space-md);
}

.compose-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

.compose-input-area {
    flex: 1;
}

.compose-textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    outline: none;
    resize: none;
    font-size: var(--text-xl);
    font-family: inherit;
    background: transparent;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.compose-textarea::placeholder {
    color: var(--text-muted);
}

.compose-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compose-actions {
    display: flex;
    gap: var(--space-sm);
}

.tool-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    color: var(--primary);
}

.tool-btn:hover {
    background: rgba(29, 161, 242, 0.1);
}

.tool-btn i {
    width: 20px;
    height: 20px;
}

.compose-submit {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.char-counter {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.post-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
}

.post-btn:hover:not(:disabled) {
    background: var(--primary-hover);
}

.post-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* FEED SECTION */
.feed-header {
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 64px;
    background: var(--bg-primary);
    z-index: 10;
}

.feed-tabs {
    display: flex;
}

.feed-tab {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-normal);
}

.feed-tab:hover {
    background: var(--bg-hover);
}

.feed-tab.active {
    color: var(--text-primary);
    font-weight: 700;
}

.feed-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* POSTS */
.post {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
    cursor: pointer;
}

.post:hover {
    background: var(--bg-hover);
}

.post-avatar img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.post-content {
    flex: 1;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.post-user-name {
    font-weight: 700;
    color: var(--text-primary);
}

.post-user-handle,
.post-time {
    color: var(--text-secondary);
}

.post-user-handle::before,
.post-time::before {
    content: '·';
    margin: 0 4px;
}

.post-user-handle:first-child::before,
.post-time:first-of-type::before {
    display: none;
}

.post-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    color: var(--text-muted);
}

.post-menu-btn:hover {
    background: rgba(15, 20, 25, 0.1);
}

.post-text {
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
    line-height: 1.4;
    color: var(--text-primary);
}

.post-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.action-btn:hover {
    background: rgba(15, 20, 25, 0.1);
}

.action-btn i {
    width: 16px;
    height: 16px;
}

.reply-btn:hover {
    color: var(--primary);
    background: rgba(29, 161, 242, 0.1);
}

.repost-btn:hover {
    color: #00BA7C;
    background: rgba(0, 186, 124, 0.1);
}

.like-btn:hover {
    color: #F91880;
    background: rgba(249, 24, 128, 0.1);
}

.share-btn:hover {
    color: var(--primary);
    background: rgba(29, 161, 242, 0.1);
}

/* EMPTY FEED */
.empty-feed {
    text-align: center;
    padding: var(--space-2xl);
}

.empty-feed i {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.empty-feed h3 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.empty-feed p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* RIGHT SIDEBAR */
.right-sidebar {
    padding: var(--space-lg) 0;
}

.widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.widget-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.widget-header h3 {
    font-size: var(--text-xl);
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.widget-content {
    padding: var(--space-sm) 0;
}

.trend-item,
.suggestion-item,
.stat-row {
    padding: 12px var(--space-lg);
    transition: var(--transition-normal);
}

.trend-item:hover,
.suggestion-item:hover {
    background: var(--bg-hover);
    cursor: pointer;
}

.trend-category {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    display: block;
}

.trend-topic {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.trend-count {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.suggestion-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.suggestion-handle {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    display: block;
}

.follow-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
}

.follow-btn:hover {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-row span {
    color: var(--text-secondary);
}

.stat-row strong {
    color: var(--text-primary);
    font-weight: 700;
}

.widget-footer {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--primary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: var(--transition-normal);
}

.widget-footer:hover {
    background: var(--bg-hover);
    text-decoration: underline;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* FORM ELEMENTS */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-normal);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ALERTS */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
}

.alert-success {
    background: #F0FDF4;
    color: #166534;
    border-color: var(--success);
}

.alert-error {
    background: #FEF2F2;
    color: #DC2626;
    border-color: var(--error);
}

.alert-warning {
    background: #FFFBEB;
    color: #D97706;
    border-color: var(--warning);
}

.alert-info {
    background: #EFF6FF;
    color: #2563EB;
    border-color: var(--info);
}

/* FLASH MESSAGES */
.flash-message {
    position: fixed;
    top: 80px;
    right: var(--space-lg);
    max-width: 400px;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out, fadeOut 0.3s ease-in 4.7s forwards;
    box-shadow: var(--shadow-xl);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* UTILITY CLASSES */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }

.border { border: 1px solid var(--border-light) !important; }
.border-0 { border: 0 !important; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.m-0 { margin: 0 !important; }
.mt-1 { margin-top: var(--space-xs) !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mt-2 { margin-top: var(--space-sm) !important; }
.mb-2 { margin-bottom: var(--space-sm) !important; }
.mt-3 { margin-top: var(--space-md) !important; }
.mb-3 { margin-bottom: var(--space-md) !important; }
.mt-4 { margin-top: var(--space-lg) !important; }
.mb-4 { margin-bottom: var(--space-lg) !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-xs) !important; }
.p-2 { padding: var(--space-sm) !important; }
.p-3 { padding: var(--space-md) !important; }
.p-4 { padding: var(--space-lg) !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 200px 1fr 240px;
        gap: var(--space-md);
    }
    
    .nav-item {
        font-size: var(--text-lg);
        padding: 8px 12px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item i {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sidebar,
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        border-left: none;
        border-right: none;
    }
    
    .header-content {
        flex-wrap: wrap;
        min-height: auto;
        padding: var(--space-sm) 0;
    }
    
    .search-container {
        order: 3;
        flex-basis: 100%;
        margin-top: var(--space-sm);
    }
    
    .user-menu {
        gap: var(--space-sm);
    }
    
    .compose-btn span,
    .user-info {
        display: none;
    }
    
    .compose-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }
    
    .compose-section {
        padding: var(--space-md);
    }
    
    .post {
        padding: var(--space-md);
    }
    
    .post-actions {
        max-width: none;
        padding: 0 var(--space-md);
    }
    
    .theme-toggle {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .compose-section,
    .post {
        padding: var(--space-sm);
    }
    
    .compose-textarea {
        font-size: var(--text-lg);
    }
    
    .post-text {
        font-size: var(--text-sm);
    }
    
    .flash-message {
        left: var(--space-sm);
        right: var(--space-sm);
        max-width: none;
    }
    
    .dropdown-menu {
        left: 0;
        right: 0;
    }
}