  <style>
    /* --- Core Reset & Variables --- */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --font-headline: 'Poppins', sans-serif;
      --font-body: 'Public Sans', sans-serif;
      --primary-color: #5d66f3;
      --primary-hover: #4b52d1;
      --text-main: #1a1c23;
      --text-muted: #6b7280;
      --border-color: #e5e7eb;
      --bg-card: #ffffff;
    }

    body {
      font-family: var(--font-body);
      background: linear-gradient(135deg, #707bfb 0%, #3a44d4 30%, #009edb 70%, #2c1b4d 100%);
      background-size: 200% 200%;
      animation: smoothGradient 15s ease infinite;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-x: hidden;
    }

    @keyframes smoothGradient {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* --- Layout Container --- */
    .login-split-container {
      position: relative; /* Anchor for internal layout alignments if needed */
      display: flex;
      width: 100%;
      max-width: 1040px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

    /* --- Back Navigation Link --- */
    .back-nav {
      position: absolute;
      top: 32px;
      left: 32px;
      z-index: 10;
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-body);
      font-size: 0.875rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .back-link:hover {
      color: #ffffff;
    }

    .back-link svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    /* --- Left Side: Brand Identity --- */
    .login-image-side {
      flex: 1;
      padding: 80px 60px 60px 60px; /* Top padding adjusted to clear the back button */
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: rgba(15, 23, 42, 0.3);
      color: #ffffff;
    }

    .brand-tagline {
      font-family: var(--font-headline);
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }

    .brand-subtext {
      font-size: 1rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.85);
      font-weight: 300;
      max-width: 420px;
    }

    /* --- Right Side: Form Card --- */
    .login-form-side {
      flex: 1;
      background: var(--bg-card);
      padding: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .login-form-wrapper {
      width: 100%;
      max-width: 380px;
    }

    .login-logo {
      display: block;
      max-height: 45px;
      width: auto;
      margin: 0 auto 24px auto;
    }

    .dashboard-title {
      font-family: var(--font-headline);
      font-size: 1.75rem;
      font-weight: 600;
      color: var(--text-main);
      text-align: center;
      margin-bottom: 8px;
    }

    .dashboard-subtitle {
      font-size: 0.925rem;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 32px;
    }

    /* --- Form Elements --- */
    .mb-3 {
      margin-bottom: 20px;
    }
    
    .mb-4 {
      margin-bottom: 24px;
    }

    .form-label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .form-control, .form-select {
      width: 100%;
      font-family: var(--font-body);
      font-size: 0.95rem;
      padding: 12px 16px;
      color: var(--text-main);
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .form-control::placeholder {
      color: #9ca3af;
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 4px rgba(93, 102, 243, 0.15);
    }

    .form-select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
      background-size: 16px;
      padding-right: 40px;
    }

    /* --- Buttons --- */
    .btn-primary {
      width: 100%;
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 500;
      color: #ffffff;
      background-color: var(--primary-color);
      border: none;
      border-radius: 10px;
      padding: 14px;
      cursor: pointer;
      transition: background-color 0.2s ease, transform 0.1s ease;
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
    }

    .btn-primary:active {
      transform: scale(0.99);
    }

    /* --- Error Notification Anchor --- */
    .errornotification {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 1000;
    }

    /* --- Responsive Breakpoints --- */
    @media (max-width: 900px) {
      .login-split-container {
        flex-direction: column;
        max-width: 480px;
      }

      .back-nav {
        top: 20px;
        left: 20px;
      }

      .login-image-side {
        padding: 64px 30px 40px 30px;
        text-align: center;
      }

      .brand-subtext {
        margin: 0 auto;
      }

      .login-form-side {
        padding: 40px 30px;
      }
    }
  </style>