/* ========================================
   SOCIAL ZERO - Minimalistic Dashboard
   Clean, Flat, Focused
   ======================================== */

@import url('variables.css');
@import url('components.css');
@import url('animations.css');

/* ========================================
   RESET
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: var(--sz-font-sans);
    font-size: var(--sz-text-base);
    line-height: 1.5;
    color: var(--sz-text-primary);
    background: var(--sz-bg-body);
    min-height: 100%;
}

a {
    color: var(--sz-text-primary);
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

/* ========================================
   LAYOUT
   ======================================== */

.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--sz-bg-body);
}

.page-content {
    flex: 1;
    padding: var(--sz-space-8);
    max-width: var(--sz-content-max);
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   SIDEBAR - Minimal
   ======================================== */

.sidebar {
    width: var(--sz-sidebar-width);
    min-width: 280px;
    height: 100dvh;
    background: var(--sz-bg-sidebar);
    border-right: 1px solid var(--sz-border-light);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    transition: width var(--sz-transition-base);
}

.sidebar.collapsed {
    width: var(--sz-sidebar-collapsed);
}

.sidebar.collapsed .sidebar-text,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .user-info,
.sidebar.collapsed .sidebar-brand-text {
    display: none;
}

/* Brand */
.sidebar-brand {
    padding: var(--sz-space-4);
    display: flex;
    align-items: center;
    gap: var(--sz-space-3);
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    background: var(--sz-accent);
    border-radius: var(--sz-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sz-text-inverse);
    font-weight: 600;
    font-size: var(--sz-text-sm);
}

.sidebar-brand-name {
    font-size: var(--sz-text-md);
    font-weight: 600;
    color: var(--sz-text-primary);
}

.sidebar-brand-tagline {
    font-size: 10px;
    color: var(--sz-text-muted);
}

/* New Chat */
.sidebar-header {
    padding: 0 var(--sz-space-3) var(--sz-space-3);
}

.new-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sz-space-2);
    width: 100%;
    padding: 10px;
    background: var(--sz-accent);
    border: none;
    border-radius: var(--sz-radius-md);
    color: var(--sz-text-inverse);
    font-size: var(--sz-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: opacity var(--sz-transition-fast);
}

.new-chat-btn:hover {
    opacity: 0.8;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--sz-space-2);
}

/* Sidebar Scrollbar - Thin & Light */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--sz-text-muted);
    border-radius: var(--sz-radius-full);
    transition: background var(--sz-transition-fast);
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--sz-text-tertiary);
}

.nav-section {
    margin-bottom: var(--sz-space-4);
}

.nav-label {
    padding: var(--sz-space-2) var(--sz-space-3);
    font-size: 11px;
    font-weight: 600;
    color: var(--sz-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--sz-space-3);
    padding: 10px var(--sz-space-3);
    border-radius: var(--sz-radius-md);
    color: var(--sz-text-secondary);
    font-size: var(--sz-text-base);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--sz-transition-fast), color var(--sz-transition-fast);
}

.nav-item:hover {
    background: var(--sz-bg-hover);
    color: var(--sz-text-primary);
}

.nav-item.active {
    background: var(--sz-bg-active);
    color: var(--sz-text-primary);
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.nav-item.active i {
    opacity: 1;
}

.sidebar-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-empty {
    padding: var(--sz-space-4);
    color: var(--sz-text-muted);
    font-size: var(--sz-text-xs);
    text-align: center;
}

/* Footer */
.sidebar-footer {
    padding: var(--sz-space-3);
    border-top: 1px solid var(--sz-border-light);
}

.user-btn {
    display: flex;
    align-items: center;
    gap: var(--sz-space-3);
    width: 100%;
    padding: var(--sz-space-2);
    background: none;
    border: none;
    border-radius: var(--sz-radius-md);
    cursor: pointer;
    text-align: left;
}

.user-btn:hover {
    background: var(--sz-bg-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--sz-radius-full);
    background: var(--sz-border-default);
    color: var(--sz-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
}

.user-name {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-primary);
}

.user-timezone {
    font-size: 10px;
    color: var(--sz-text-muted);
}

.sidebar-collapse-btn {
    display: none;
}

/* ========================================
   HEADER - Minimal
   ======================================== */

.app-header {
    height: var(--sz-header-height);
    padding: 0 var(--sz-space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sz-border-light);
}

.header-title {
    font-size: var(--sz-text-md);
    font-weight: 500;
    color: var(--sz-text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sz-space-1);
}

.header-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--sz-radius-md);
    color: var(--sz-text-tertiary);
    cursor: pointer;
}

.header-btn:hover {
    background: var(--sz-bg-hover);
    color: var(--sz-text-primary);
}

/* Mobile Header */
.header-mobile {
    display: none;
    align-items: center;
    padding: var(--sz-space-3) var(--sz-space-4);
    border-bottom: 1px solid var(--sz-border-light);
}

.mobile-menu-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--sz-text-primary);
    cursor: pointer;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    margin-bottom: var(--sz-space-8);
}

.page-title {
    font-family: var(--sz-font-display);
    font-size: var(--sz-text-3xl);
    font-weight: 700;
    color: var(--sz-text-primary);
    letter-spacing: -0.03em;
    line-height: var(--sz-leading-tight);
}

.page-subtitle {
    font-size: var(--sz-text-md);
    color: var(--sz-text-tertiary);
    margin-top: 6px;
    line-height: var(--sz-leading-normal);
}

/* ========================================
   CARDS - Flat & Minimal
   ======================================== */

.saas-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-5);
    margin-bottom: var(--sz-space-4);
}

.saas-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sz-space-4);
}

.saas-card-title {
    font-size: var(--sz-text-sm);
    font-weight: 500;
    color: var(--sz-text-primary);
    display: flex;
    align-items: center;
    gap: var(--sz-space-2);
}

.saas-card-title i {
    color: var(--sz-text-tertiary);
}

.saas-card-body {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-secondary);
    line-height: 1.6;
}

.saas-card-footer {
    margin-top: var(--sz-space-4);
    padding-top: var(--sz-space-4);
    border-top: 1px solid var(--sz-border-light);
    display: flex;
    gap: var(--sz-space-2);
}

/* ========================================
   STATS - Clean numbers
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sz-space-4);
    margin-bottom: var(--sz-space-8);
}

.stat-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-5);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--sz-radius-md);
    background: var(--sz-bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sz-space-4);
    color: var(--sz-text-tertiary);
    font-size: 16px;
}

.stat-value {
    font-size: var(--sz-text-2xl);
    font-weight: 600;
    color: var(--sz-text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--sz-text-xs);
    color: var(--sz-text-muted);
    margin-top: 2px;
}

/* ========================================
   QUICK ACTIONS
   ======================================== */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--sz-space-3);
}

.quick-action-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-4);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--sz-transition-fast);
}

.quick-action-card:hover {
    border-color: var(--sz-border-strong);
}

.quick-action-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--sz-radius-md);
    background: var(--sz-bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sz-space-3);
    color: var(--sz-text-tertiary);
    font-size: 16px;
}

.quick-action-title {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-primary);
}

/* ========================================
   ACCOUNT CARDS
   ======================================== */

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sz-space-4);
    margin-bottom: var(--sz-space-6);
}

.account-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-5);
}

.account-card.active {
    border-color: var(--sz-accent);
}

.account-header {
    display: flex;
    align-items: center;
    gap: var(--sz-space-3);
    margin-bottom: var(--sz-space-3);
}

.account-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--sz-radius-md);
    background: var(--sz-border-default);
    color: var(--sz-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--sz-text-sm);
    font-weight: 500;
}

.account-info h3 {
    font-size: var(--sz-text-md);
    font-weight: 500;
    color: var(--sz-text-primary);
}

.account-info p {
    font-size: var(--sz-text-xs);
    color: var(--sz-text-muted);
}

.account-description {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sz-space-4);
}

.account-actions {
    display: flex;
    gap: var(--sz-space-2);
}

/* ========================================
   INTEGRATION CARDS
   ======================================== */

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sz-space-4);
    margin-bottom: var(--sz-space-6);
}

.integration-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-5);
    text-align: center;
}

.integration-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--sz-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto var(--sz-space-4);
    color: white;
}

.integration-icon.facebook {
    background: #1877f2;
}

.integration-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.integration-icon.twitter {
    background: #000;
}

.integration-icon.linkedin {
    background: #0077b5;
}

.integration-title {
    font-size: var(--sz-text-md);
    font-weight: 500;
    color: var(--sz-text-primary);
}

.integration-description {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-muted);
    margin: var(--sz-space-2) 0 var(--sz-space-4);
}

.integration-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--sz-radius-full);
    font-size: 11px;
    margin-bottom: var(--sz-space-4);
}

.integration-status.connected {
    background: var(--sz-success-light);
    color: var(--sz-success);
}

.integration-status.disconnected {
    background: var(--color-bg-tertiary);
    color: var(--sz-text-muted);
}

/* ========================================
   CONTENT CARDS
   ======================================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sz-space-4);
}

.content-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border-light);
    border-radius: var(--sz-radius-lg);
    padding: var(--sz-space-4);
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--sz-space-2);
}

.content-card-title {
    font-size: var(--sz-text-md);
    font-weight: 500;
    color: var(--sz-text-primary);
}

.content-preview {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--sz-space-3);
}

.content-meta {
    font-size: var(--sz-text-xs);
    color: var(--sz-text-muted);
    margin-bottom: var(--sz-space-3);
}

.content-card-actions {
    display: flex;
    gap: var(--sz-space-2);
    padding-top: var(--sz-space-3);
    border-top: 1px solid var(--sz-border-light);
}

/* ========================================
   BUTTONS - Flat & Simple
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sz-space-2);
    padding: 8px 16px;
    font-size: var(--sz-text-sm);
    font-weight: 500;
    border-radius: var(--sz-radius-md);
    border: none;
    cursor: pointer;
    transition: opacity var(--sz-transition-fast);
}

.btn:hover {
    opacity: 0.8;
}

.btn-sm {
    padding: 6px 12px;
    font-size: var(--sz-text-xs);
}

.btn-primary {
    background: var(--sz-accent);
    color: var(--sz-text-inverse);
}

.btn-secondary {
    background: var(--sz-bg-hover);
    color: var(--sz-text-primary);
}

.btn-success {
    background: var(--sz-success);
    color: white;
}

.btn-danger {
    background: var(--sz-error);
    color: white;
}

.btn-ghost {
    background: none;
    color: var(--sz-text-secondary);
}

.btn-ghost:hover {
    background: var(--sz-bg-hover);
    color: var(--sz-text-primary);
    opacity: 1;
}

.btn-outline-primary {
    background: none;
    border: 1px solid var(--sz-border-default);
    color: var(--sz-text-primary);
}

.btn-outline-primary:hover {
    background: var(--sz-bg-hover);
    opacity: 1;
}

.btn-outline-secondary {
    background: none;
    border: 1px solid var(--sz-border-light);
    color: var(--sz-text-secondary);
}

.btn-outline-danger {
    background: none;
    border: 1px solid var(--sz-error);
    color: var(--sz-error);
}

/* ========================================
   FORMS - Minimal
   ======================================== */

.form-control {
    width: 100%;
    padding: 10px 12px;
    background: var(--sz-bg-input);
    border: 1px solid var(--sz-border-default);
    border-radius: var(--sz-radius-md);
    color: var(--sz-text-primary);
    font-size: var(--sz-text-sm);
    transition: border-color var(--sz-transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--sz-border-strong);
}

.form-control::placeholder {
    color: var(--sz-text-muted);
}

.form-label {
    display: block;
    font-size: var(--sz-text-sm);
    font-weight: 500;
    color: var(--sz-text-primary);
    margin-bottom: var(--sz-space-2);
}

/* ========================================
   BADGES - Simple
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--sz-radius-sm);
}

.bg-success {
    background: var(--sz-success);
    color: white;
}

.bg-primary {
    background: var(--sz-accent);
    color: var(--sz-text-inverse);
}

.bg-warning {
    background: var(--sz-warning);
    color: white;
}

.bg-danger {
    background: var(--sz-error);
    color: white;
}

.bg-secondary {
    background: var(--color-bg-tertiary);
    color: var(--sz-text-secondary);
}

/* ========================================
   STATUS BADGES
   ======================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--sz-radius-full);
}

.status-draft {
    background: var(--color-bg-tertiary);
    color: var(--sz-text-muted);
}

.status-scheduled {
    background: var(--sz-info-light);
    color: var(--sz-info);
}

.status-posted {
    background: var(--sz-success-light);
    color: var(--sz-success);
}

.status-failed {
    background: var(--sz-error-light);
    color: var(--sz-error);
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: var(--sz-space-4);
    border-radius: var(--sz-radius-md);
    font-size: var(--sz-text-sm);
    margin-bottom: var(--sz-space-4);
}

.alert-success {
    background: var(--sz-success-light);
    color: var(--sz-success);
}

.alert-danger {
    background: var(--sz-error-light);
    color: var(--sz-error);
}

.alert-warning {
    background: var(--sz-warning-light);
    color: var(--sz-warning);
}

.alert-info {
    background: var(--sz-info-light);
    color: var(--sz-info);
}

/* ========================================
   DROPDOWN - Clean
   ======================================== */

.dropdown-menu {
    background: var(--sz-bg-elevated) !important;
    border: 1px solid var(--sz-border-default) !important;
    border-radius: var(--sz-radius-lg) !important;
    padding: 4px !important;
    min-width: 160px !important;
}

.dropdown-item {
    padding: 8px 12px !important;
    font-size: var(--sz-text-sm) !important;
    color: var(--sz-text-secondary) !important;
    border-radius: var(--sz-radius-sm) !important;
}

.dropdown-item:hover {
    background: var(--sz-bg-hover) !important;
    color: var(--sz-text-primary) !important;
}

.dropdown-divider {
    border-color: var(--sz-border-light) !important;
    margin: 4px 0 !important;
}

/* Nested Dropend Submenu (Image Model Switcher) */
.dropdown-menu .dropend {
    position: relative;
}

.dropdown-menu .dropend>.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 2px;
    z-index: calc(var(--sz-z-dropdown) + 10);
}

.dropdown-menu .dropend>.dropdown-toggle::after {
    margin-left: auto;
    vertical-align: middle;
}

/* User menu dropend - position adjustment for sidebar footer */
.sidebar-footer .dropdown-menu {
    z-index: var(--sz-z-overlay);
}

.sidebar-footer .dropend>.dropdown-menu {
    z-index: calc(var(--sz-z-overlay) + 10);
}

/* Dropdown item as form button - reset styling */
.dropdown-menu form {
    margin: 0;
}

.dropdown-menu form .dropdown-item {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu form .dropdown-item.active {
    background: var(--sz-bg-active) !important;
    color: var(--sz-text-primary) !important;
}

/* ========================================
   MODAL - Minimal
   ======================================== */

.modal-content {
    background: var(--sz-bg-elevated) !important;
    border: 1px solid var(--sz-border-default) !important;
    border-radius: var(--sz-radius-xl) !important;
}

.modal-header {
    border-bottom: 1px solid var(--sz-border-light) !important;
    padding: var(--sz-space-4) var(--sz-space-5) !important;
}

.modal-title {
    font-size: var(--sz-text-md) !important;
    font-weight: 500 !important;
    color: var(--sz-text-primary) !important;
}

.modal-body {
    padding: var(--sz-space-5) !important;
    color: var(--sz-text-secondary) !important;
}

.modal-footer {
    border-top: 1px solid var(--sz-border-light) !important;
    padding: var(--sz-space-4) var(--sz-space-5) !important;
}

.btn-close {
    filter: invert(0.5) !important;
}

[data-theme="light"] .btn-close {
    filter: none !important;
}

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
    text-align: center;
    padding: var(--sz-space-12) var(--sz-space-6);
}

.empty-icon {
    font-size: 40px;
    color: var(--sz-text-muted);
    margin-bottom: var(--sz-space-4);
}

.empty-title {
    font-size: var(--sz-text-md);
    font-weight: 500;
    color: var(--sz-text-primary);
    margin-bottom: var(--sz-space-2);
}

.empty-description {
    font-size: var(--sz-text-sm);
    color: var(--sz-text-muted);
    max-width: 280px;
    margin: 0 auto var(--sz-space-5);
}

/* ========================================
   UTILITIES
   ======================================== */

.text-muted {
    color: var(--sz-text-muted) !important;
}

.text-primary {
    color: var(--sz-text-primary) !important;
}

.platform-icons {
    display: flex;
    gap: var(--sz-space-2);
}

.platform-icon {
    font-size: 16px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: var(--sz-space-3) !important;
}

.mb-4 {
    margin-bottom: var(--sz-space-4) !important;
}

.mb-5 {
    margin-bottom: var(--sz-space-5) !important;
}

.gap-2 {
    gap: var(--sz-space-2) !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: calc(-1 * var(--sz-sidebar-width));
        z-index: var(--sz-z-overlay);
    }

    .sidebar.show {
        left: 0;
    }

    .header-mobile {
        display: flex;
    }

    .page-content {
        padding: var(--sz-space-4);
    }

    .stats-grid,
    .account-grid,
    .integration-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--sz-bg-overlay);
    z-index: calc(var(--sz-z-overlay) - 1);
}

.sidebar-overlay.show {
    display: block;
}

/* ========================================
   UPGRADE BUTTON
   ======================================== */

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #4F8EF7 0%, #6366f1 50%, #8b5cf6 100%);
    border: none;
    border-radius: var(--sz-radius-full);
    color: white;
    font-size: var(--sz-text-xs);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--sz-transition-fast);
    box-shadow: 0 2px 8px rgba(79, 142, 247, 0.3);
}

.btn-upgrade:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 142, 247, 0.4);
    opacity: 1;
    color: white;
}

.btn-upgrade i {
    font-size: 12px;
}

/* User dropdown upgrade item */
.dropdown-item-upgrade {
    color: var(--sz-accent) !important;
    font-weight: 500;
}

.dropdown-item-upgrade i {
    color: var(--sz-accent);
}

.dropdown-item-upgrade:hover {
    background: var(--sz-accent) !important;
    color: white !important;
}

.dropdown-item-upgrade:hover i {
    color: white;
}

/* Mobile responsive - Hide text, show only icon */
@media (max-width: 576px) {
    .btn-upgrade span {
        display: none;
    }

    .btn-upgrade {
        padding: 8px;
        border-radius: var(--sz-radius-md);
    }
}