@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* ========== DESIGN SYSTEM ========== */
:root {
  --color-bg-primary: #303030;
  --color-bg-secondary: #3a3a3a;
  --color-bg-card: #242424;
  --color-bg-input: #1e1e1e;

  --color-accent-green: #92EAAD;
  --color-accent-teal: #52DBD7;
  --color-accent-purple: #98B5FF;

  --color-text-primary: #FFFFFF;
  --color-text-secondary: #FFFFFF;
  --color-text-muted: #E0E0E0;
  --color-text-placeholder: #6E6E6E;

  --color-border-default: #444444;
  --color-border-focus: #92EAAD;

  --radius: 12px;
  --radius-full: 9999px;

  /* Legacy aliases for backward compatibility if needed, but encouraged to move to new tokens */
  --bg: var(--color-bg-primary);
  --bg-card: var(--color-bg-card);
  --bg-card2: var(--color-bg-secondary);
  --bg-input: var(--color-bg-input);
  --bg-secondary: var(--color-bg-secondary);
  --border: var(--color-border-default);
  --fg: var(--color-text-primary);
  --fg-muted: var(--color-text-secondary);
  --primary: var(--color-accent-green);
  --primary2: var(--color-accent-teal);
  --blue: var(--color-accent-purple);
  --error: #ff8080;
  --accent-green: var(--color-accent-green);
  /* Fonts & Sizes */
  --font-main: 'Poppins', 'Fredoka', sans-serif;
  --font-heading: 'Varela Round', 'Fredoka', sans-serif;

  --fs-h1: 28px;
  --fs-h2: 22px;
  --fs-h3: 18px;
  --fs-body: 15px;
  --fs-small: 14px;
  --fs-label: 14px;

  --fw-bold: 600;
  --fw-semibold: 400;
  --fw-medium: 400;
  --fw-regular: 400;

  /* Aliases for components */
  --bg: var(--color-bg-primary);
  --bg-secondary: var(--color-bg-secondary);
  --bg-card: var(--color-bg-card);
  --bg-input: var(--color-bg-input);
  --fg: var(--color-text-primary);
  --fg-muted: var(--color-text-secondary);
  --border: var(--color-border-default);

  /* Glass Effects */
  --glass-02: rgba(255, 255, 255, 0.02);
  --glass-05: rgba(255, 255, 255, 0.05);
  --glass-08: rgba(255, 255, 255, 0.08);
  --glass-10: rgba(255, 255, 255, 0.1);
  --glass-15: rgba(255, 255, 255, 0.15);
  --glass-30: rgba(255, 255, 255, 0.3);
  --dropdown-bg: rgba(40, 40, 40, 0.95);
}

/* ========== LIGHT MODE VARIABLES ========== */
body.light-mode {
  --color-bg-primary: #f8f9fa;
  --color-bg-secondary: #ffffff;
  --color-bg-card: #e5e7eb;
  --color-bg-input: #ffffff;

  /* Text & Border */
  --color-text-primary: #111827;
  --color-text-secondary: #374151;
  --color-text-muted: #6b7280;
  --color-text-placeholder: #9ca3af;

  --color-border-default: #d1d5db;
  --color-border-focus: #059669;
  --error: #ef4444;

  /* Specific Aliases used by UserViewPage */
  --color-accent-green: #059669;
  --color-accent-purple: #6B4DE6;
  --primary: var(--color-accent-green);
  --accent-green: var(--color-accent-green);
  --bg: var(--color-bg-primary);
  --bg-secondary: var(--color-bg-secondary);
  --bg-card: var(--color-bg-card);
  --bg-card2: var(--color-bg-secondary);
  --bg-input: var(--color-bg-input);
  --fg: var(--color-text-primary);
  --fg-muted: var(--color-text-secondary);
  --border: var(--color-border-default);

  /* Glass Effects Light Mode */
  --glass-02: rgba(0, 0, 0, 0.02);
  --glass-05: rgba(0, 0, 0, 0.05);
  --glass-08: rgba(0, 0, 0, 0.08);
  --glass-10: rgba(0, 0, 0, 0.1);
  --glass-15: rgba(0, 0, 0, 0.15);
  --glass-30: rgba(0, 0, 0, 0.3);
  --dropdown-bg: rgba(255, 255, 255, 0.98);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--fg);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: -0.01em;
  height: 100%;
  direction: ltr;
}



#app {
  height: 100%;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
}

p {
  text-wrap: pretty;
  max-width: 65ch;
}

p,
span,
div,
li,
input,
textarea {
  font-family: var(--font-main);
}


/* ========== LAYOUT ========== */
.sino-layout {
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.sino-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sino-scroll {
  flex: 1;
  overflow-y: auto;
}

/* ========== SIDEBAR ========== */
.sino-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--color-bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sino-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 20px;
  margin-bottom: 12px;
  position: relative;
}

.sino-sidebar-logo-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sino-sidebar-logo span {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  letter-spacing: 0.5px;
}


.sino-sidebar-logout {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  margin-left: auto;
  padding: 6px;
  border-radius: 8px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sino-sidebar-logout:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.sino-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  font-family: var(--font-heading);
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  transition: all .2s;
}

.sino-nav-item:hover {
  background: rgba(146, 234, 173, 0.08);
  color: var(--color-accent-green);
  transform: translateX(4px);
}

.sino-nav-item.active {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #1a1a1a;
  font-weight: var(--fw-semibold);
}

.sino-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color .2s;
}

.sino-sidebar-switch {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 99px;
  background: linear-gradient(135deg, #98B5FF, #52DBD7);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}

.sino-sidebar-switch:hover {
  opacity: .95;
  transform: translateY(-1px);
}

.sino-sidebar-switch svg {
  width: 16px;
  height: 16px;
}

/* ========== PAGE HEADER ========== */
.sino-page-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px;
  flex-shrink: 0;
}

.sino-page-header h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--fg);
}

.sino-page-header p {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.sino-page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(146, 234, 173, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(146, 234, 173, 0.4);
  color: #0a0a0a !important;
}

.btn-primary:disabled {
  background: #3a3a3a !important;
  color: #747474 !important;
  border: 1.5px solid #444444 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}

.btn-primary-sm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #0a0a0a !important;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--fg);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all .2s;
}

.btn-outline:hover {
  border-color: rgba(146, 234, 173, 0.4);
  color: var(--primary);
}

.btn-outline:disabled {
  background: transparent !important;
  color: #4a4a4a !important;
  border-color: #333333 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.4 !important;
}

.btn-icon-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1.5px solid rgba(255, 107, 107, 0.3);
  cursor: pointer;
  transition: all .2s;
}

.btn-icon-danger:hover {
  background: rgba(255, 107, 107, 0.22);
  border-color: #ff6b6b;
}

.btn-icon-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-indigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  border: none;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-indigo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  opacity: 0.95;
}

/* ========== WIZARD STICKY LAYOUT ========== */
.sino-wizard-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.sino-wizard-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.sino-wizard-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
}

.sino-wizard-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.btn-ghost {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  font-size: var(--fs-small);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: all .2s;
}

.btn-ghost:hover {
  color: var(--fg);
  background: var(--bg-secondary);
}

/* ========== SPINNER ========== */
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 10, 10, .3);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

.spinner-light {
  border-color: rgba(255, 255, 255, .2);
  border-top-color: var(--fg);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== FORMS (shared auth + app) ========== */
.sino-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.sino-input::placeholder {
  color: var(--color-text-placeholder);
}

.sino-input:focus {
  border-color: var(--primary);
}

.sino-input:-webkit-autofill,
.sino-input:-webkit-autofill:hover,
.sino-input:-webkit-autofill:focus,
.sino-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
  -webkit-text-fill-color: var(--fg) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.sino-label {
  display: block;
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  font-weight: var(--fw-semibold);
  font-family: var(--font-heading);
}

.sino-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sino-validation {
  font-size: 14px;
  color: var(--error);
  margin-top: 4px;
}

.sino-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sino-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ========== AUTH PAGES ========== */
.sino-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.sino-split-layout {
  display: flex;
  width: 100%;
  max-width: 1100px;
  min-height: 500px;
  z-index: 1;
  position: relative;
  gap: 60px;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

@media (max-width: 768px) {
  .sino-split-layout {
    flex-direction: column;
    padding: 20px;
  }

  .sino-split-info {
    display: none !important;
  }
}

.sino-split-login {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .sino-split-login {
    justify-content: center;
    width: 100%;
  }
}

.sino-split-info {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--fg);
  text-align: left;
  direction: ltr;
}

.sino-split-info h1 {
  font-size: 48px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.sino-split-info p {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.9;
}

.sino-split-info ul {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.sino-split-info li {
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sino-split-info li svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.sino-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .1;
  pointer-events: none;
  animation: blobFloat 9s ease-in-out infinite;
}

.sino-blob-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #92EAAD, transparent);
  top: -100px;
  right: -80px;
}

.sino-blob-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #52DBD7, transparent);
  bottom: -80px;
  left: -60px;
  animation-delay: -3s;
}

.sino-blob-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #98B5FF, transparent);
  top: 40%;
  left: 35%;
  animation-delay: -5s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(12px, -16px) scale(1.04);
  }

  66% {
    transform: translate(-8px, 8px) scale(.97);
  }
}

.sino-auth-card {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  background: rgba(31, 31, 31, .9);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5), 0 0 0 1px rgba(146, 234, 173, .04);
  animation: cardIn .45s cubic-bezier(.34, 1.56, .64, 1) both;
}

body.light-mode .sino-auth-card {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .05);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sino-auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.sino-auth-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(146, 234, 173, .12), rgba(82, 219, 215, .12));
  border: 1.5px solid rgba(146, 234, 173, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(146, 234, 173, .15);
}

.sino-auth-brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--fg);
  margin-top: 10px;
  letter-spacing: .06em;
}

.sino-auth-subtitle {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.sino-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--fg);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.sino-social-btn:hover {
  border-color: rgba(146, 234, 173, .4);
  background: var(--bg-secondary);
  color: var(--fg);
}

.sino-social-icon {
  width: 20px;
  height: 20px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.sino-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sino-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sino-divider-text {
  font-size: 14px;
  color: var(--fg-muted);
}

.sino-submit-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  border: none;
  border-radius: var(--radius-full);
  color: #0a0a0a;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 18px rgba(146, 234, 173, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  margin-top: 4px;
}

.sino-submit-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 22px rgba(146, 234, 173, .45);
  color: #0a0a0a !important;
}

.sino-submit-btn:disabled {
  background: #3a3a3a !important;
  color: #747474 !important;
  border: 1.5px solid #444444 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

body.light-mode .sino-submit-btn:disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  border: 1.5px solid #d1d5db !important;
}

.sino-outline-btn-auth {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.sino-outline-btn-auth:hover {
  border-color: rgba(146, 234, 173, .4);
  color: var(--primary);
}

.sino-auth-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.sino-link {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
  background: none;
  border: none;
}

.sino-link:hover {
  color: var(--primary);
}

.sino-link-em {
  font-weight: var(--fw-semibold);
  color: var(--fg);
}

.sino-link-em:hover {
  color: var(--primary);
}

.sino-auth-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sino-muted {
  font-size: 14px;
  color: var(--fg-muted);
}

.sino-error-box {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #fca5a5;
  text-align: center;
}

.sino-success-box {
  background: rgba(146, 234, 173, .08);
  border: 1px solid rgba(146, 234, 173, .25);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.sino-success-box .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.sino-success-box p {
  font-size: 14px;
  color: var(--fg);
}

.sino-success-box .email {
  color: var(--primary);
  font-weight: var(--fw-semibold);
  margin-top: 4px;
}

.sino-info-box {
  background: rgba(152, 181, 255, .08);
  border: 1px solid rgba(152, 181, 255, .2);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.sino-info-box .icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.sino-pending-box {
  text-align: center;
  padding: 4px 0 12px;
}

.sino-pending-box h2 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--fg);
  margin: 8px 0 6px;
}

.sino-pending-box p {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 4px 0;
}

/* ========== STATUS / WARNING BADGES ========== */
.sino-warning {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #fca5a5;
  margin-top: 10px;
  text-align: center;
}

/* ========== 404 ========== */
.sino-404 {
  text-align: center;
  padding: 40px 20px;
}

.sino-404-num {
  font-size: 72px;
  font-weight: 800;
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.sino-404 h2 {
  font-size: 18px;
  color: var(--fg);
  margin: 8px 0 6px;
}

.sino-404 p {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

/* ========== APP PAGES: My Sinos ========== */
.sino-content-area {
  padding: 24px 28px;
}

.sino-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
}

.sino-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  background: none;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all .2s;
}

.sino-tab.active {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
  font-weight: var(--fw-semibold);
}

.sino-tab:not(.active):hover {
  color: var(--fg);
  background: var(--bg-secondary);
}

.sino-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.sino-filter-select {
  padding: 6px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.sino-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.sino-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: all .2s;
  cursor: default;
}

.sino-card:hover {
  border-color: rgba(146, 234, 173, .3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.sino-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(146, 234, 173, .15), rgba(82, 219, 215, .15));
  border: 1px solid rgba(146, 234, 173, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.sino-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--fg);
  margin: 10px 0 6px;
}

.sino-card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.sino-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.sino-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.sino-badge-active {
  background: rgba(146, 234, 173, .12);
  color: var(--primary);
  border: 1px solid rgba(146, 234, 173, .25);
}

.sino-badge-inactive {
  background: rgba(156, 163, 175, .1);
  color: var(--fg-muted);
  border: 1px solid rgba(156, 163, 175, .2);
}

.sino-badge-dept {
  background: rgba(152, 181, 255, .1);
  color: var(--blue);
  border: 1px solid rgba(152, 181, 255, .2);
}

.sino-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.sino-card-btn {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--fg);
  cursor: pointer;
  transition: all .2s;
}

.sino-card-btn:hover {
  border-color: rgba(146, 234, 173, .4);
  color: var(--primary);
}

.sino-card-btn.primary {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
  border-color: transparent;
}

.sino-card-btn.primary:hover {
  opacity: .9;
}

.sino-card-menu-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  padding: 4px;
  border-radius: 6px;
  transition: all .2s;
}

.sino-card-menu-btn:hover {
  color: var(--fg);
  background: var(--bg-secondary);
}

.sino-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 20px;
}

.sino-empty svg {
  opacity: .4;
}

.sino-empty p {
  font-size: 14px;
  color: var(--fg-muted);
}

.sino-empty small {
  font-size: 14px;
  color: var(--fg-muted);
  opacity: .7;
}

/* ========== ADMIN TABLE ========== */
.sino-admin-tabs {
  display: flex;
  gap: 6px;
}

.sino-admin-tab {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all .2s;
}

.sino-admin-tab.active {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
  border-color: transparent;
}

.sino-admin-tab:not(.active):hover {
  color: var(--fg);
  border-color: rgba(146, 234, 173, .3);
}

.sino-add-form {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.sino-add-form h3 {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  margin-bottom: 14px;
}

.sino-message {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 14px;
}

.sino-message.success {
  background: rgba(146, 234, 173, .08);
  border: 1px solid rgba(146, 234, 173, .2);
  color: var(--primary);
}

.sino-message.error {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .2);
  color: #fca5a5;
}

.sino-table-wrap {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.sino-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sino-table th {
  background: var(--bg-secondary);
  color: var(--fg-muted);
  font-weight: 500;
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 14px;
}

.sino-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(51, 51, 51, .6);
  color: var(--fg);
  vertical-align: middle;
}

.sino-table tr:last-child td {
  border-bottom: none;
}

.sino-table tr:hover td {
  background: rgba(255, 255, 255, .02);
}

.sino-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.sino-toggle input {
  display: none;
}

.sino-toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: all .25s;
}

.sino-toggle-track::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--fg-muted);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all .25s;
}

.sino-toggle input:checked+.sino-toggle-track {
  background: rgba(146, 234, 173, .15);
  border-color: rgba(146, 234, 173, .4);
}

.sino-toggle input:checked+.sino-toggle-track::before {
  background: var(--primary);
  left: 18px;
}

.sino-toggle input:disabled+.sino-toggle-track {
  opacity: 0.4;
  cursor: not-allowed;
}

.sino-toggle:has(input:disabled) {
  cursor: not-allowed;
}

/* ========== CHAT ========== */
.sino-chat-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sino-chat-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sino-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #98B5FF, #52DBD7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: #0a0a0a;
  flex-shrink: 0;
}

.sino-chat-info h3 {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--fg);
}

.sino-chat-info p {
  font-size: 14px;
  color: var(--blue);
}

.sino-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sino-message-row {
  display: flex;
}

.sino-message-row.user {
  justify-content: flex-end;
}

.sino-bubble {
  width: fit-content;
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: 0.01em;
  white-space: pre-wrap;
  word-break: break-word;
}

.sino-bubble p {
  margin: 0 0 6px 0;
  text-align: inherit;
}

.sino-bubble p:last-child {
  margin-bottom: 0;
}

.sino-bubble ul,
.sino-bubble ol {
  margin: 0 0 10px 0;
  padding-inline-start: 24px;
  list-style-position: outside;
  text-align: inherit;
}

.sino-bubble ul:last-child,
.sino-bubble ol:last-child {
  margin-bottom: 0;
}

.sino-bubble li {
  margin-bottom: 4px;
  text-align: inherit;
}

.sino-bubble li>p {
  margin: 0;
  display: inline;
}

.sino-bubble h1,
.sino-bubble h2,
.sino-bubble h3,
.sino-bubble h4,
.sino-bubble h5,
.sino-bubble h6 {
  margin: 12px 0 8px 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  text-align: inherit;
}

.sino-bubble h1 {
  font-size: 1.3em;
}

.sino-bubble h2 {
  font-size: 1.2em;
}

.sino-bubble h3 {
  font-size: 1.1em;
}

.sino-bubble h4,
.sino-bubble h5,
.sino-bubble h6 {
  font-size: 1.05em;
}

.sino-bubble strong,
.sino-bubble b {
  font-weight: 700;
  color: var(--fg);
}

.sino-bubble h1:first-child,
.sino-bubble h2:first-child,
.sino-bubble h3:first-child,
.sino-bubble h4:first-child,
.sino-bubble h5:first-child,
.sino-bubble h6:first-child {
  margin-top: 0;
}

.sino-bubble.assistant {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.sino-bubble.user {
  background: linear-gradient(135deg, rgba(146, 234, 173, .15), rgba(82, 219, 215, .15));
  border: 1.5px solid rgba(146, 234, 173, .3);
  color: var(--fg);
  border-bottom-right-radius: 4px;
}

.sino-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.sino-qq-btn {
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.sino-qq-btn:hover {
  border-color: rgba(146, 234, 173, .4);
  color: var(--primary);
}

.sino-chat-input-area {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.sino-chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.sino-chat-input {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--fg);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  resize: none;
  min-height: 48px;
  max-height: 200px;
  overflow-y: auto;
  transition: border-color .2s;
}

.sino-chat-input:focus {
  border-color: var(--primary);
}

.sino-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}

.sino-chat-send:hover {
  transform: scale(1.05);
}

.sino-chat-send:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ========== USER VIEW ========== */
.sino-user-layout {
  display: flex;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
}

.sino-user-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-card2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.sino-user-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sino-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 12px;
}

.sino-search-box input {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 14px;
  outline: none;
  flex: 1;
  font-family: inherit;
}

.sino-search-box input::placeholder {
  color: var(--color-text-placeholder);
}

.sino-user-sinos-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.sino-user-sino-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
}

.sino-user-sino-item:hover {
  background: var(--bg-secondary);
  border-color: rgba(146, 234, 173, .2);
}

.sino-user-sino-item.active {
  background: rgba(146, 234, 173, .08);
  border-color: rgba(146, 234, 173, .3);
}

.sino-user-sino-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(146, 234, 173, .2), rgba(82, 219, 215, .2));
  border: 1px solid rgba(146, 234, 173, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--primary);
  flex-shrink: 0;
}

.sino-user-sino-info h4 {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--fg);
}

.sino-user-sino-info p {
  font-size: 14px;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.sino-user-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sino-user-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.sino-user-welcome h2 {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--fg);
}

.sino-user-welcome p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 360px;
}

/* ========== SYSTEM SETTINGS ========== */
.sino-settings-grid {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.sino-settings-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.sino-settings-card h2 {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sino-settings-card h2 svg {
  width: 16px;
  height: 16px;
}

/* ========== USAGE & COSTS ========== */
.sino-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.sino-stat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.sino-stat-card .label {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sino-stat-card .value {
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--fg);
  margin-top: 8px;
}

.sino-stat-card .delta {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ========== AUTHORIZING ========== */
.sino-authorizing {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 14px;
}

/* ===== WIZARD ===== */
.sino-wizard-footer {
  height: 60px;
  min-height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  box-sizing: border-box;
}

.sino-wizard-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.sino-stepper {
  display: flex;
  align-items: center;
  gap: 0;
}

.sino-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.sino-step.sino-step-active {
  color: var(--fg);
  font-weight: var(--fw-semibold);
}

.sino-step.sino-step-done {
  color: var(--primary);
}

.sino-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--bg-secondary);
  color: var(--fg-muted);
  flex-shrink: 0;
}

.sino-step-active .sino-step-circle {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(146, 234, 173, .1);
}

.sino-step-done .sino-step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #0a0a0a;
}

.sino-step-line {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
}

.sino-step-line-done {
  background: var(--primary);
}

/* Style selector buttons */
.sino-style-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--fg);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.sino-style-btn:hover {
  border-color: rgba(146, 234, 173, .4);
}

.sino-style-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #0a0a0a;
}

/* Preview panel */
.sino-preview-panel {
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-card2);
  border: 1.5px solid var(--color-accent-green);
  border-radius: 14px;
  margin: 24px 24px 24px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sino-preview-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sino-preview-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.sino-preview-chat {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sino-preview-bot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sino-preview-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sino-preview-input {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  font-size: 14px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

/* Drop zone */
.sino-dropzone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 36px 20px;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sino-dropzone:hover,
.sino-dropzone-active {
  border-color: var(--primary);
  background: rgba(146, 234, 173, .04);
}

/* File row */
.sino-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.sino-file-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Slider */
.sino-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
  height: 4px;
  border-radius: 99px;
}

/* ===== ACCORDION ===== */
.sino-accordion {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card2);
  overflow: visible;
  transition: border-color .2s;
  flex-shrink: 0;
}

.sino-accordion.open {
  border-color: var(--primary);
  background: rgba(146, 234, 173, .03);
}

.sino-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  font-family: inherit;
  text-align: left;
}

.sino-accordion-header:hover {
  background: rgba(255, 255, 255, .02);
}

.sino-accordion-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--fg);
}

.sino-accordion-body {
  padding: 0 20px 18px;
}

.sino-completed-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-green);
  width: 24px;
  height: 24px;
}

/* ===== ROLE CARDS ===== */
.sino-role-card {
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-align: left;
}

.sino-role-card:hover {
  border-color: rgba(146, 234, 173, .4);
  background: rgba(146, 234, 173, .04);
}

.sino-role-card.selected {
  border-color: var(--primary);
  background: rgba(146, 234, 173, .08);
}

/* ===== COMMUNICATION STYLE CARDS ===== */
.sino-style-card {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-align: left;
}

.sino-style-card:hover {
  border-color: rgba(146, 234, 173, .4);
  background: rgba(146, 234, 173, .04);
}

.sino-style-card.selected {
  border-color: var(--primary);
  background: rgba(146, 234, 173, .08);
}

.sino-create-option:hover {
  border-color: rgba(146, 234, 173, .4) !important;
  background: rgba(146, 234, 173, .05) !important;
}

/* ========== MANAGE ACCESS MODAL ========== */
.sino-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sino-modal {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}

.sino-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sino-modal-header h2 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--fg);
}

.sino-modal-header p {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.modal-close-btn {
  background: transparent !important;
  border: 1.5px solid var(--border) !important;
  color: var(--fg-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  appearance: none;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}

.sino-access-section {
  margin-top: 24px;
}

.sino-access-section-title {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  margin-bottom: 12px;
}

.sino-access-type-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 12px;
}

.sino-access-type-card.selected {
  border-color: var(--primary);
  background: rgba(146, 234, 173, 0.05);
}

.sino-access-type-card:hover:not(.selected) {
  border-color: rgba(255, 255, 255, .1);
}

.sino-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sino-access-type-card.selected .sino-radio-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.sino-radio-check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
}

.sino-dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.sino-dept-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
}

.sino-dept-card.selected {
  border-color: var(--primary);
  background: rgba(146, 234, 173, 0.05);
}

.sino-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sino-dept-card.selected .sino-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.sino-dept-info h4 {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--fg);
}

.sino-dept-info p {
  font-size: 14px;
  color: var(--fg-muted);
}

.sino-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

/* ========== UPDATED SINO CARD ========== */
.sino-card-v2 {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 20px 20px 16px 20px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-height: 175px;
}

.sino-card-v2:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.sino-card-v2.menu-open {
  z-index: 9999 !important;
}

.sino-card-v2-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  position: relative;
}

.sino-card-v2-title {
  font-family: var(--font-heading) !important;
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--fg);
  letter-spacing: -0.01em;
}

.sino-card-v2-separator {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.sino-card-v2-menu-circle {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-secondary);
}

.sino-card-v2-menu-circle:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
}

/* ========== CREATE NEW SINO CARD ========== */
.sino-card-create {
  background: transparent;
  border: 1.5px dashed #444;
  border-radius: 20px;
  padding: 20px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 175px;
}

.sino-card-create:hover {
  border-color: #666;
  background: rgba(255, 255, 255, 0.02);
}

.sino-card-create .plus-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(146, 234, 173, 0.4);
}

.sino-card-create span {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  opacity: 0.9;
}

.sino-card-v2-dropdown {
  position: absolute;
  top: 56px;
  right: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  z-index: 10000;
  width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sino-dropdown-item svg {
  flex-shrink: 0;
}

.sino-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0);
  cursor: default;
}

.menu-open {
  z-index: 9999 !important;
}

.sino-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.sino-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sino-dropdown-item.delete {
  color: var(--error);
}

.sino-dropdown-item.delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

/* ========== UPDATED SINO CARD STATUS BUTTON ========== */
.sino-status-btn-v2 {
  width: 100%;
  padding: 10px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  font-family: var(--font-heading);
  outline: none;
}

.sino-status-btn-v2.active {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 12px rgba(146, 234, 173, 0.25);
}

.sino-status-btn-v2.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(146, 234, 173, 0.35);
}

.sino-status-btn-v2.inactive {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg-muted);
}

.sino-status-btn-v2.inactive:hover {
  border-color: rgba(146, 234, 173, 0.4);
  color: var(--fg);
}

/* ========== MODALS ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeInOverlay 0.2s ease-out;
}

.modal-content {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: var(--fg);
  position: relative;
  overflow: hidden;
  animation: modalFadeInContent 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalFadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalFadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== FILTER TABS V2 ========== */
.sino-tab-v2 {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  background: var(--bg-secondary);
  color: var(--fg-muted);
  border: 1.5px solid var(--border);
  cursor: pointer;
}

.sino-tab-v2:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sino-tab-v2.active {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  color: #1a1a1a;
  border: none;
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 12px rgba(146, 234, 173, 0.2);
}

/* ========== CUSTOM DROPDOWN (SinoDropdown) ========== */
.sino-dropdown {
  position: relative;
  display: inline-block;
  min-width: 140px;
  outline: none;
  z-index: 10;
}

.sino-dropdown.menu-open {
  z-index: 20;
}

.sino-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.sino-dropdown-trigger:hover {
  border-color: var(--fg-muted);
  background-color: var(--glass-05);
  transform: translateY(-1px);
}

.sino-dropdown:focus .sino-dropdown-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.sino-dropdown-trigger .chevron {
  transition: transform 0.2s;
  color: var(--fg-muted);
}

.sino-dropdown-trigger .chevron.open {
  transform: rotate(180deg);
}

.sino-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 180px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--dropdown-bg);
  border: 1px solid var(--glass-10);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 1100;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top left;
}

.sino-dropdown-menu.sino-dropdown-right {
  left: auto;
  right: 0;
  transform-origin: top right;
}

/* Custom scrollbar for dropdown menus */
.sino-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.sino-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.sino-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--glass-15);
  border-radius: 3px;
}

.sino-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--glass-30);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sino-dropdown-menu.sino-dropdown-up {
  top: auto;
  bottom: calc(100% + 10px);
  transform-origin: bottom left;
  animation: dropdownFadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sino-dropdown-menu .sino-dropdown-item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 10px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.sino-dropdown-menu .sino-dropdown-item:last-child {
  margin-bottom: 0;
}

.sino-dropdown-menu .sino-dropdown-item:hover {
  background: var(--glass-08);
  color: var(--fg);
}

.sino-dropdown-menu .sino-dropdown-item.selected {
  background: linear-gradient(135deg, rgba(146, 234, 173, 0.2), rgba(82, 219, 215, 0.2));
  color: var(--primary);
  font-weight: var(--fw-semibold);
}




.sino-filter-clear {
  padding: 8px 16px;
  background: var(--glass-05);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.sino-filter-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--error);
}

.sino-input-disclaimer {
  text-align: center;
  color: var(--fg-muted);
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.7;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1024px) {
  .sino-layout {
    flex-direction: column;
  }

  .sino-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .sino-sidebar.mobile-open {
    left: 0;
  }

  .sino-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
  }

  .sino-sidebar-overlay.visible {
    display: block;
  }

  .sino-mobile-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 900;
    height: 60px;
  }

  .sino-main {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }

  .sino-fields-row {
    grid-template-columns: 1fr;
  }

  .sino-cards-grid {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }

  .sino-page-header {
    padding: 16px 20px;
  }

  .sino-page-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sino-content-area {
    padding: 12px 16px;
  }

  /* User View Page Specific */
  .sino-user-layout {
    flex-direction: column;
  }

  .sino-user-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 280px !important;
    height: 100dvh !important;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s ease !important;
    display: flex !important;
  }

  .sino-user-sidebar.open {
    transform: translateX(0) !important;
  }

  .ask-anything-box {
    width: calc(100% - 32px) !important;
    padding: 20px !important;
    margin: 0 16px !important;
  }

  .gallery-container {
    padding: 0 16px 20px !important;
    justify-content: center;
    gap: 12px;
  }

  .sino-card-v3 {
    width: 100% !important;
    max-width: 100%;
  }

  .sino-chat-header {
    padding: 10px 16px;
  }

  .sino-chat-info h3 {
    font-size: 14px;
  }

  .sino-bubble {
    max-width: 90%;
  }

  .sino-nav-item {
    padding: 16px 20px !important;
    font-size: 16px !important;
  }

  .sino-sidebar-logo span {
    font-size: 20px !important;
  }

  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    padding: 12px 24px !important;
    font-size: 16px !important;
  }

  .sino-chat-send {
    width: 50px !important;
    height: 50px !important;
  }
}

.sino-mobile-header {
  display: none;
}



/* ========== CENTERING WRAPPER ========== */
.sino-chat-centering-wrapper {
  max-width: 850px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== FLOATING INPUT PILL ========== */
.sino-floating-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.sino-floating-pill:focus-within {
  border-color: rgba(146, 234, 173, 0.4);
  box-shadow: 0 10px 30px rgba(146, 234, 173, 0.05);
}

.sino-ghost-textarea {
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  resize: none;
  width: 100%;
  min-height: 24px;
  max-height: 400px;
  padding: 0;
  line-height: 1.5;
  overflow: hidden;
  unicode-bidi: plaintext;
  text-align: start;
}

.sino-pill-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-icon-pill {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.sino-send-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #98B5FF, #52DBD7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.sino-send-pill:hover {
  transform: scale(1.08);
}

.sino-send-pill:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========== ABOUT NAV ITEM CUSTOM STYLING ========== */
.sino-nav-item-about {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  font-family: var(--font-heading);
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  transition: all .2s;
  border: none;
}

.sino-nav-item-about:hover {
  background: var(--glass-05) !important;
  color: var(--color-text-primary) !important;
  transform: translateX(4px);
}

.sino-nav-item-about.active {
  background: rgba(146, 234, 173, 0.08) !important;
  color: var(--color-accent-green) !important;
  font-weight: var(--fw-semibold);
  transform: none !important;
}

.sino-nav-item-about:hover svg {
  stroke: var(--color-text-primary) !important;
}

.sino-nav-item-about.active svg {
  stroke: var(--color-accent-green) !important;
}

.sino-nav-item-about svg {
  flex-shrink: 0;
}

/* Theme Toggle Switch Visuals */
.theme-toggle-switch {
  width: 38px;
  height: 22px;
  background-color: var(--color-bg-card, #242424);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--color-border-default, #444);
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.theme-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: var(--color-text-secondary, #A0A0A0);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-toggle-switch.light {
  background: linear-gradient(135deg, #92EAAD, #52DBD7);
  border-color: transparent;
}

.theme-toggle-switch.light::after {
  transform: translateX(16px);
  background-color: #1a1a1a;
}

/* ========== CLEAN ABOUT MODAL CLOSE BUTTON ========== */
.about-modal-close-btn {
  background: transparent !important;
  border: none !important;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.8;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.about-modal-close-btn:hover {
  color: var(--color-text-primary) !important;
  background: transparent !important;
  opacity: 1 !important;
}

.sino-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--fg);
  cursor: pointer;
  font-size: 14px;
  margin-left: 8px;
}

.sino-filters-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .sino-mobile-filter-btn {
    display: flex;
  }

  .sino-filters-wrapper {
    display: none;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .sino-filters-wrapper.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hide-on-mobile {
    display: none !important;
  }
}

/* ========== SINO COST TOOLTIP ========== */
.sino-tooltip-container {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  flex-shrink: 0;
}

.sino-tooltip-container.static {
  position: static !important;
}

.sino-tooltip-fullwidth {
  width: 100% !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  top: calc(100% + 4px) !important;
  bottom: auto !important;
  padding: 12px !important;
}

.sino-tooltip-fullwidth::before {
  display: none !important;
  /* Hide the little triangle */
}

.sino-tooltip-content {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: -10px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  /* Trigger UI update */
  width: max-content;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  pointer-events: none;
  color: var(--fg);
}

.sino-tooltip-bottom {
  bottom: auto;
  top: calc(100% + 8px);
}

.sino-tooltip-left {
  left: auto;
  right: -10px;
}

.sino-tooltip-container:hover .sino-tooltip-content {
  display: block !important;
}

.sino-tooltip-content::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 13px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--bg-card) transparent transparent transparent;
}


.sino-info-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent-purple);
  background: transparent;
  color: var(--color-accent-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: all 0.2s;
  flex-shrink: 0;
  vertical-align: middle;
}

.sino-info-btn:hover {
  .sino-nav-item-about svg {
    flex-shrink: 0;
  }

  /* Theme Toggle Switch Visuals */
  .theme-toggle-switch {
    width: 38px;
    height: 22px;
    background-color: var(--color-bg-card, #242424);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--color-border-default, #444);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
  }

  .theme-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: var(--color-text-secondary, #A0A0A0);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .theme-toggle-switch.light {
    background: linear-gradient(135deg, #92EAAD, #52DBD7);
    border-color: transparent;
  }

  .theme-toggle-switch.light::after {
    transform: translateX(16px);
    background-color: #1a1a1a;
  }

  /* ========== CLEAN ABOUT MODAL CLOSE BUTTON ========== */
  .about-modal-close-btn {
    background: transparent !important;
    border: none !important;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.8;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .about-modal-close-btn:hover {
    color: var(--color-text-primary) !important;
    background: transparent !important;
    opacity: 1 !important;
  }

  .sino-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--fg);
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
  }

  .sino-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: 8px;
  }

  @media (max-width: 768px) {
    .sino-mobile-filter-btn {
      display: flex;
    }

    .sino-filters-wrapper {
      display: none;
      width: 100%;
      margin-left: 0;
      margin-top: 12px;
      flex-direction: column;
      align-items: stretch;
    }

    .sino-filters-wrapper.show {
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    .hide-on-mobile {
      display: none !important;
    }
  }

  /* ========== SINO COST TOOLTIP ========== */
  .sino-tooltip-container {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    flex-shrink: 0;
  }

  .sino-tooltip-container.static {
    position: static !important;
  }

  .sino-tooltip-fullwidth {
    width: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    top: calc(100% + 4px) !important;
    bottom: auto !important;
    padding: 12px !important;
  }

  .sino-tooltip-fullwidth::before {
    display: none !important;
    /* Hide the little triangle */
  }

  .sino-tooltip-content {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: -10px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    /* Trigger UI update */
    width: max-content;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    pointer-events: none;
    color: var(--fg);
  }

  .sino-tooltip-bottom {
    bottom: auto;
    top: calc(100% + 8px);
  }

  .sino-tooltip-left {
    left: auto;
    right: -10px;
  }

  .sino-tooltip-container:hover .sino-tooltip-content {
    display: block !important;
  }

  .sino-tooltip-content::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 13px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--bg-card) transparent transparent transparent;
  }


  .sino-info-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--color-accent-purple);
    background: transparent;
    color: var(--color-accent-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: all 0.2s;
    flex-shrink: 0;
    vertical-align: middle;
  }

  .sino-info-btn:hover {
    background: rgba(152, 181, 255, 0.15);
    border-color: var(--color-accent-purple);
    color: var(--color-accent-purple);
  }

  @media (max-width: 1024px) {
    .sino-chat-centering-wrapper {
      gap: 8px !important;
    }

    .sino-input-disclaimer {
      font-size: 8.5px !important;
      letter-spacing: -0.2px;
      white-space: nowrap !important;
      margin-top: -2px;
      margin-bottom: 6px;
    }
  }
}