* {
      box-sizing: border-box;
      margin: 0;
      font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
    }
    body {
      background: #f4f7fc;
      padding: 20px;
      min-height: 100vh;
      display: flex;
      justify-content: center;
    }
    .dashboard {
      max-width: 1400px;
      width: 100%;
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 24px;
      align-items: start;
    }
    /* PANELS */
    .panel {
      background: white;
      border-radius: 24px;
      padding: 22px 20px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.04);
      border: 1px solid #e9eef3;
    }
    .admin-panel {
      grid-column: 1;
    }
    .user-panel {
      grid-column: 2;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    h2 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 16px;
      color: #1e293b;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin: 16px 0 8px;
      color: #334155;
    }
    button {
      background: #2563eb;
      color: white;
      border: none;
      padding: 10px 18px;
      border-radius: 40px;
      font-weight: 500;
      font-size: 0.95rem;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(37,99,235,0.15);
      transition: 0.15s;
      border: 1px solid transparent;
    }
    button:hover {
      background: #1d4ed8;
      transform: translateY(-1px);
    }
    button.secondary {
      background: #f1f5f9;
      color: #1e293b;
      box-shadow: none;
      border-color: #cbd5e1;
    }
    button.secondary:hover {
      background: #e2e8f0;
    }
    button.warning {
      background: #ef4444;
    }
    input, select {
      padding: 10px 12px;
      border: 1.5px solid #d1d9e6;
      border-radius: 18px;
      font-size: 0.95rem;
      background: white;
      width: 100%;
    }
    .login-box {
      background: #f8fafc;
      padding: 16px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .flex-row {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }
    .ratio-card {
      background: #f9fbfd;
      border-radius: 18px;
      padding: 16px;
      margin-bottom: 16px;
      border: 1px solid #dee6ed;
    }
    .ratio-title {
      font-weight: 700;
      margin-bottom: 12px;
      color: #0f172a;
    }
    .settings-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px 12px;
    }
    .settings-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .settings-item label {
      font-size: 0.8rem;
      font-weight: 500;
      color: #475569;
    }
    .logo-preview {
      margin: 10px 0;
      background: #eef2f6;
      border-radius: 16px;
      padding: 12px;
      text-align: center;
    }
    .logo-preview img {
      max-height: 60px;
      max-width: 100%;
      object-fit: contain;
      background: white;
      padding: 4px;
      border-radius: 12px;
    }
    .preview-area {
      background: #fafcff;
      border-radius: 20px;
      padding: 18px;
      border: 1px dashed #b9c7da;
    }
    .thumbnails {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 15px 0;
    }
    .thumb-item {
      width: 100px;
      text-align: center;
      font-size: 0.75rem;
    }
    .thumb-item img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 12px;
      border: 2px solid white;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }
    .progress-bar {
      height: 8px;
      background: #e2e8f0;
      border-radius: 20px;
      margin: 12px 0;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      width: 0%;
      background: #2563eb;
      transition: width 0.2s;
    }
    .slider-container {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .note {
      color: #64748b;
      font-size: 0.85rem;
      margin-top: 4px;
    }
    hr {
      margin: 20px 0;
      border: 0;
      height: 1px;
      background: #e2e8f0;
    }
    .admin-only {
      transition: opacity 0.2s;
    }
    .hidden {
      display: none !important;
    }
    .status-badge {
      background: #dbeafe;
      padding: 4px 12px;
      border-radius: 30px;
      font-size: 0.8rem;
      color: #1e4bd2;
    }
    @media (max-width: 900px) {
      .dashboard {
        grid-template-columns: 1fr;
      }
    }