/* Auth Component Styles */
    .auth-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 20px;
    }
    
    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 4px;
      background: rgba(255,255,255,.4);
      border: 1px solid var(--line);
      border-radius: 12px;
      margin-bottom: 20px;
    }
    
    .auth-tab {
      min-height: 40px;
      border-radius: 8px;
      border: 0;
      background: transparent;
      color: var(--muted);
      font-weight: 700;
      font-size: 14px;
      transition: all .2s ease;
    }
    
    .auth-tab.active {
      background: #fff;
      color: var(--ink);
      box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }
    
    :root[data-theme="dark"] .auth-tab.active {
      background: rgba(255,255,255,.1);
      color: #fff;
    }
    
    .auth-error {
      margin: 0;
      padding: 10px 12px;
      background: rgba(239,68,68,.1);
      border: 1px solid rgba(239,68,68,.2);
      border-radius: 10px;
      color: #dc2626;
      font-size: 13px;
      line-height: 1.5;
    }
    
    .auth-link-btn {
      border: 0;
      background: transparent;
      color: var(--primary);
      font-size: 13px;
      font-weight: 700;
      padding: 8px 0;
      text-align: center;
      width: 100%;
    }
    
    .auth-link-btn:hover {
      text-decoration: underline;
    }
    
    /* Country Code Selector - Shadcn Style */
    .phone-input-group {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 8px;
    }
    
    .country-code-selector {
      position: relative;
    }
    
    .country-code-btn {
      width: 100%;
      height: auto;
      border: 1px solid var(--line);
      background: var(--panel);
      border-radius: 15px;
      padding: 12px 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-weight: 600;
      font-size: 14px;
      color: var(--ink);
      cursor: pointer;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    
    .country-code-btn:hover {
      border-color: var(--primary);
    }
    
    .country-code-btn:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(248,113,113,.1);
    }
    
    .country-flag {
      width: 20px;
      height: 20px;
      border-radius: 3px;
      object-fit: cover;
      flex: 0 0 20px;
      box-shadow: 0 1px 3px rgba(0,0,0,.1);
    }
    
    .country-dial-code {
      font-size: 13px;
      font-weight: 600;
      color: var(--ink);
    }
    
    .country-picker-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      z-index: 100;
      min-width: 280px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: 10px;
      box-shadow: 0 10px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05);
      max-height: 320px;
      display: grid;
      grid-template-rows: auto 1fr;
      overflow: hidden;
      animation: dropdown-in 0.15s ease;
    }
    
    @keyframes dropdown-in {
      from {
        opacity: 0;
        transform: translateY(-8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    [dir="rtl"] .country-picker-dropdown {
      left: auto;
      right: 0;
    }
    
    .country-picker-search {
      padding: 8px;
      border-bottom: 1px solid var(--line);
      background: rgba(255,255,255,.5);
    }
    
    :root[data-theme="dark"] .country-picker-search {
      background: rgba(0,0,0,.2);
    }
    
    .country-picker-search .input {
      min-height: 36px;
      font-size: 13px;
      border-radius: 8px;
      padding: 8px 10px;
    }
    
    .country-picker-list {
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(0,0,0,.2) transparent;
      padding: 4px;
    }
    
    .country-picker-list::-webkit-scrollbar {
      width: 6px;
    }
    
    .country-picker-list::-webkit-scrollbar-track {
      background: transparent;
    }
    
    .country-picker-list::-webkit-scrollbar-thumb {
      background: rgba(0,0,0,.2);
      border-radius: 3px;
    }
    
    .country-picker-item {
      width: 100%;
      min-height: 40px;
      border: 0;
      background: transparent;
      padding: 8px 10px;
      display: flex;
      align-items: center;
      gap: 10px;
      text-align: inherit;
      color: var(--ink);
      cursor: pointer;
      transition: background .15s ease;
      border-radius: 6px;
      margin-bottom: 2px;
    }
    
    .country-picker-item:hover {
      background: rgba(248,113,113,.08);
    }
    
    .country-picker-item:active {
      background: rgba(248,113,113,.12);
    }
    
    .country-picker-item.active {
      background: rgba(248,113,113,.1);
    }
    
    .country-picker-item.active::after {
      content: "✓";
      margin-left: auto;
      color: var(--primary);
      font-weight: 900;
      font-size: 14px;
    }
    
    [dir="rtl"] .country-picker-item.active::after {
      margin-left: 0;
      margin-right: auto;
    }
    
    .country-picker-item .country-flag {
      width: 24px;
      height: 24px;
      border-radius: 4px;
      flex: 0 0 24px;
    }
    
    .country-picker-item .country-name {
      flex: 1;
      font-size: 13px;
      font-weight: 500;
      text-align: start;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: var(--ink);
    }
    
    [dir="rtl"] .country-picker-item .country-name {
      text-align: end;
    }
    
    .country-picker-item .country-dial-code {
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      flex: 0 0 auto;
    }
    
    .country-picker-item.active .country-dial-code {
      color: var(--primary);
    }
    
    .country-picker-item:hover .country-name {
      color: var(--primary);
    }
    .status-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255,255,255,.28);
      padding: 12px;
      display: grid;
      gap: 4px;
    }
    .status-card span, .status-card small { color: var(--muted); }
    .choice {
      width: 100%;
      min-height: 82px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: var(--panel);
      padding: 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: inherit;
    }
    .publish-type { justify-content: flex-start; }
    .publish-type-icon {
      width: 44px;
      height: 44px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      font-weight: 900;
      flex: 0 0 auto;
    }
    .choice.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(248,113,113,.16); }
    .publish-form { display: grid; gap: 14px; }
    .field-group { display: grid; gap: 7px; }
    .field { display: grid; gap: 7px; }
    .field label { color: var(--muted); font-size: 12px; font-weight: 800; }
    .input {
      width: 100%;
      border: 1px solid var(--line);
      background: var(--panel);
      color: var(--ink);
      border-radius: 15px;
      padding: 12px 13px;
      outline: none;
    }
    textarea.input { min-height: 112px; resize: vertical; }
    .media-picker { display: grid; gap: 10px; }
    .upload-zone {
      min-height: 112px;
      border: 1px dashed var(--line);
      border-radius: 18px;
      background: rgba(255,255,255,.28);
      display: grid;
      place-items: center;
      gap: 4px;
      padding: 16px;
      text-align: center;
      cursor: pointer;
    }
    .upload-zone input { display: none; }
    .upload-zone b {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      font-size: 24px;
    }
    .upload-zone small { color: var(--muted); }
    .upload-preview:empty { display: none; }
    .upload-preview img, .upload-preview video {
      width: 100%;
      max-height: 220px;
      object-fit: cover;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: #000;
    }
    .primary-btn, .ghost-btn {
      min-height: 46px;
      border-radius: 16px;
      border: 1px solid transparent;
      padding: 10px 15px;
      font-weight: 900;
    }
    .primary-btn { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
    .ghost-btn { background: var(--panel); border-color: var(--line); color: var(--ink); }
    .danger-text { color: var(--primary); }
    .empty {
      border-radius: 18px;
      border: 1px dashed var(--line);
      background: rgba(255,255,255,.22);
      padding: 22px;
      text-align: center;
      color: var(--muted);
    }
    
    /* Shadcn-style Toast */
    .toast {
      position: fixed;
      top: calc(80px + var(--safe-top));
      left: 50%;
      transform: translateX(-50%);
      z-index: 90;
      min-width: 280px;
      max-width: 420px;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.4;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      box-shadow: 0 10px 40px rgba(0,0,0,.15);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      animation: toast-slide-in 0.2s ease, toast-slide-out 0.2s ease 3s forwards;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .toast::before {
      content: "✓";
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      color: #fff;
      font-size: 12px;
      font-weight: 900;
      flex: 0 0 20px;
    }
    
    @keyframes toast-slide-in {
      from { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-20px); 
      }
      to { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
      }
    }
    
    @keyframes toast-slide-out {
      from { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
      }
      to { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-20px); 
        visibility: hidden;
      }
    }
    
    :root[data-theme="dark"] .toast {
      background: rgba(24,16,18,.95);
      border-color: rgba(248,113,113,.3);
      box-shadow: 0 10px 40px rgba(0,0,0,.4);
    }