@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
    :root {
      --primary: #4f46e5;
      --primary-dark: #4338ca;
      --secondary: #f3f4f6;
      --background: #f9fafb;
      --background-alt: #fff;
      --text-base: #23272f;
      --text-muted: #6b7280;
      --danger: #b91c1c;
      --border: #e5e7eb;
      --shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
      --radius: 12px;
    }
    body {
      background: var(--background);
      color: var(--text-base);
      font-family: 'Inter', 'Roboto', Arial, sans-serif;
      padding: 0;
      margin: 0;
      min-height: 100vh;
    }
    .container {
      max-width: 700px;
      margin: 2.5rem auto;
      background: var(--background-alt);
      padding: 2.5rem 2rem 2rem 2rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }
    h1 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: var(--primary);
      letter-spacing: -1px;
      text-align: center;
    }
    label {
      font-weight: 600;
      margin-bottom: 0.5rem;
      display: block;
      color: var(--text-base);
      letter-spacing: 0.01em;
    }
    label.inline {
      display: inline;
    }
    input[type="text"], textarea, select, input[type="email"], input[type="password"] {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 1.5rem;
      font-size: 1rem;
      background: var(--secondary);
      color: var(--text-base);
      transition: border 0.2s, box-shadow 0.2s;
      box-sizing: border-box;
      font-family: inherit;
    }
    input[type="text"]:focus, textarea:focus, select:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 2px #6366f1aa;
    }
    .textarea {
      min-height: 120px;
      resize: vertical;
    }
    select {
      min-height: 120px;
      background: var(--secondary);
    }
    .app-shell {
      display: flex;
      min-height: 100vh;
      background: var(--background);
    }
    .sidebar {
      width: 220px;
      background: #23272f;
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 2rem 1.5rem 1.5rem 1.5rem;
      min-height: 100vh;
      box-shadow: 2px 0 12px 0 rgba(0,0,0,0.04);
    }
    .sidebar-logo {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 2.5rem;
      letter-spacing: -1px;
      color: #fff;
    }
    .sidebar-logo a {
      color: inherit;
      text-decoration: none;
    }
    .sidebar-links {
      list-style: none;
      padding: 0;
      margin: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      height: calc(100vh - 115px);
    }
    .sidebar-links li {
      margin-bottom: 0;
      transition: background 0.15s;
      cursor: pointer;
      width: calc(100% + 3rem);
      margin-left: -1.5rem;
      border-radius: 0;
    }
    .sidebar-links li.sidebar-link-header {
      font-size: 1.08rem;
      font-weight: lighter;
      color: #fff;
      margin-bottom: 1rem;
      font-variant: small-caps;
      cursor: default;
      padding-left: 1.5rem;
    }
    .sidebar-links li.sidebar-link-spacer {
      display: flex;
      flex: 1;
      pointer-events: none;
    }
    .sidebar-links li.active, .sidebar-links li:not(.sidebar-link-header):hover {
      background: #353a45;
    }
    .sidebar-links li a, .sidebar-links li span {
      display: block;
      padding: 0.7rem 1rem;
      color: #fff;
      font-weight: 500;
      font-size: 1.08rem;
      letter-spacing: 0.01em;
      text-decoration: none;
      white-space: nowrap;
    }
    .sidebar-links li span.badge {
      display: inline-block;
      font-size: .5em;
      padding: 2px 5px;
      background: var(--primary);
      border-radius: 5px;
      vertical-align: middle;
      margin-left: 0;
      font-weight: lighter;
    }
    .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background: var(--background);
    }
    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem 2.5rem 1.2rem 2.5rem;
      background: var(--background-alt);
      border-bottom: 1.5px solid var(--border);
      min-height: 70px;
      box-sizing: border-box;
    }
    .topbar-title {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
    }
    .topbar-title a {
      text-decoration: none;
      color: inherit;
    }
    .topbar-user {
      display: flex;
      align-items: center;
      gap: 0.7rem;
    }
    .user-avatar {
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.01em;
    }
    .user-name {
      font-weight: 500;
      color: var(--text-base);
      font-size: 1.05rem;
    }
    .btn-sign-in {
        color: #fff;
        background: var(--primary);
        padding: .5rem 1rem;
        border-radius: 10px;
        font-weight: lighter;
        font-size: 1rem;
    }

    .topbar-user a:hover {
      opacity: 0.8;
    }
    .content-area {
      flex: 1;
      padding: 2.5rem 2.5rem 2.5rem 2.5rem;
      background: var(--background);
      min-height: 0;
    }
    .container {
      max-width: 650px;
      margin: 0 auto;
      background: var(--background-alt);
      padding: 2.2rem 2rem 2rem 2rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }
    .input {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 1.5rem;
      font-size: 1rem;
      background: var(--secondary);
      color: var(--text-base);
      transition: border 0.2s, box-shadow 0.2s;
      box-sizing: border-box;
      font-family: inherit;
    }
    .input:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 2px #6366f1aa;
    }
    @media (max-width: 1100px) {
      .app-shell {
        flex-direction: column;
      }
      .sidebar {
        flex-direction: row;
        width: 100vw;
        min-height: unset;
        padding: 1rem 0.5rem;
        box-shadow: none;
        overflow-x: auto
      }
      .sidebar-logo {
        margin-bottom: 0;
        margin-right: 2rem;
      }
      .sidebar-links {
        display: flex;
        flex-direction: row;
        gap: 1.2rem;
        height: auto;
      }
      .sidebar-links li {
        margin-bottom: 0;
      }
      .sidebar-links li.sidebar-link-header {
        display: none;
      }
    }
    @media (max-width: 800px) {
      .main-content {
        padding: 0;
      }
      .topbar, .content-area {
        padding: 1rem 0.5rem;
      }
      .container {
        max-width: 98vw;
        padding: 1rem 0.5rem;
      }
      .promo-bar {
        padding: 0.8rem 1rem;
        font-size: .8rem;
      }
      .promo-text {
        font-size: .8rem;
      }
    }

    .global-error-bar {
      box-sizing: border-box;
      padding: 1rem 2.5rem 1rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 600;
      font-size: 1.08rem;
      position: relative;
      z-index: 10;
      background: #fee2e2;
      color: #b91c1c;
      border-bottom: 1.5px solid #fca5a5;
    }
    .promo-bar {
      box-sizing: border-box;
      padding: .8rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 1rem;
      position: relative;
      z-index: 10;
      background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
      color: #fff;
      border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
      text-align: center;
      animation: slideInFromTop 0.6s ease-out;
    }
    
    @keyframes slideInFromTop {
      0% {
        transform: translateY(-100%);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }
    .promo-content {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }
    .promo-text {
      font-size: 1rem;
      letter-spacing: 0.01em;
    }
    .promo-text strong {
      background: rgba(255, 255, 255, 0.2);
      padding: 0.2rem 0.5rem;
      border-radius: 6px;
      font-weight: 700;
      margin-left: 0.3rem;
    }
    .global-message-bar {
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 600;
      font-size: 1.08rem;
      position: relative;
      z-index: 10;
      flex-direction: column;
    }
    .global-message-bar .error {
      background: #fee2e2;
      color: #b91c1c;
      border-bottom: 1.5px solid #fca5a5;
      padding: 1rem 2.5rem 1rem 2.5rem;
      display: flex;
      flex: 1;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
    .global-message-bar .success {
      color: #059669;
      background: #d1fae5;
      border-bottom: 1.5px solid #a7f3d0;
      padding: 1rem 2.5rem 1rem 2.5rem;
      display: flex;
      flex: 1;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
    .global-message-bar .info {
      color: #056996;
      background: #d1e5fa;
      border-bottom: 1.5px solid #a7d0f3;
      padding: 1rem 2.5rem 1rem 2.5rem;
      display: flex;
      flex: 1;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
    .success-message {
      color: #059669;
      background: #d1fae5;
      border: 1px solid #a7f3d0;
      border-radius: var(--radius);
      padding: 0.75rem 1rem;
      margin-bottom: 1.5rem;
      text-align: center;
      font-weight: 600;
    }
    .error-message {
      color: #b91c1c;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: var(--radius);
      padding: 0.75rem 1rem;
      margin-bottom: 1.5rem;
      text-align: center;
      font-weight: 600;
    }
    .error-dismiss {
      background: none;
      border: none;
      color: #b91c1c;
      font-size: 1.5rem;
      font-weight: bold;
      cursor: pointer;
      margin-left: 1.5rem;
      padding: 0 0.5rem;
      line-height: 1;
    }

    /* Christmas Theme - Promo Bar Only */
    .theme-christmas .promo-bar {
      background: linear-gradient(135deg, #dc2626 0%, #16a34a 50%, #dc2626 100%);
      border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
    }
