:root {
      --isu-green: #1e7b1e;
      --isu-gold: #ffd700;
      --isu-dark-green: #155515;
      --isu-light-green: #2d8f2d;
      --admin-primary: #dc2626;
      --admin-secondary: #b91c1c;
      --admin-light: #fef2f2;
      --white: #ffffff;
      --gray-50: #f9fafb;
      --gray-100: #f3f4f6;
      --gray-600: #4b5563;
      --gray-900: #111827;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, var(--admin-primary) 0%, var(--admin-secondary) 50%, var(--isu-dark-green) 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
      overflow-x: hidden;
    }

    /* Animated background elements - consistent with index.html */
    body::before {
      content: '';
      position: fixed;
      top: -50vh;
      left: -50vw;
      width: 200vw;
      height: 200vh;
      background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
      animation: float 20s ease-in-out infinite;
      z-index: 0;
      pointer-events: none;
    }

    body::after {
      content: '';
      position: fixed;
      top: 20vh;
      right: -20vw;
      width: 40vw;
      height: 40vh;
      background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
      animation: float 25s ease-in-out infinite reverse;
      z-index: 0;
      pointer-events: none;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(5deg); }
    }

    .back-btn {
      position: fixed;
      top: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.2);
      color: var(--white);
      border: none;
      padding: 12px 20px;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
      transition: all 0.3s ease;
      z-index: 10;
      display: flex;
      align-items: center;
      gap: 8px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .back-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-1px);
    }

    .container {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 24px;
      padding: 48px 40px;
      box-shadow: var(--shadow-xl);
      max-width: 480px;
      width: 100%;
      text-align: center;
      position: relative;
      z-index: 1;
      border: 1px solid rgba(220, 38, 38, 0.2);
    }

    .header {
      margin-bottom: 40px;
    }

    .logo-container {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 120px;
      height: 120px;
      background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
      border-radius: 28px;
      margin-bottom: 24px;
      box-shadow: var(--shadow-lg);
      position: relative;
    }

    .logo-container::before {
      content: '';
      position: absolute;
      inset: -2px;
      background: linear-gradient(135deg, var(--isu-gold), var(--admin-primary));
      border-radius: 30px;
      z-index: -1;
      opacity: 0.3;
    }

    .logo-container i {
      font-size: 56px;
      color: var(--white);
    }

    .title {
      font-size: 32px;
      font-weight: 700;
      color: var(--gray-900);
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }

    .subtitle {
      font-size: 18px;
      font-weight: 500;
      color: var(--admin-primary);
      margin-bottom: 8px;
    }

    .university {
      font-size: 14px;
      color: var(--gray-600);
      font-weight: 400;
    }

    .status {
      padding: 16px;
      border-radius: 12px;
      margin-bottom: 24px;
      display: none;
      text-align: center;
      font-weight: 500;
      font-size: 14px;
    }

    .status.success {
      background: #dcfce7;
      color: #166534;
      border: 1px solid #bbf7d0;
    }

    .status.error {
      background: #fef2f2;
      color: #dc2626;
      border: 1px solid #fecaca;
    }

    .form {
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-top: 32px;
    }

    .form-row {
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
    }

    .form-row label {
      font-weight: 600;
      color: var(--gray-900);
      font-size: 14px;
      margin-left: 4px;
    }

    .input-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }

    .input-wrap input {
      width: 100%;
      padding: 16px 50px 16px 16px;
      border: 2px solid var(--gray-100);
      border-radius: 12px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: var(--white);
    }

    .input-wrap input:focus {
      outline: none;
      border-color: var(--admin-primary);
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    .input-wrap input::placeholder {
      color: var(--gray-600);
      opacity: 0.7;
    }

    .icon, .show-pass {
      position: absolute;
      right: 16px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: var(--gray-600);
      transition: color 0.3s ease;
    }

    .show-pass:hover {
      color: var(--admin-primary);
    }

    .flex-between {
      flex-direction: row !important;
      justify-content: space-between;
      align-items: center;
      margin: 16px 0;
    }

    .checkbox {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 400 !important;
      cursor: pointer;
      font-size: 14px;
    }

    .checkbox input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--admin-primary);
    }

    .link {
      color: var(--admin-primary);
      text-decoration: none;
      font-weight: 500;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .link:hover {
      text-decoration: underline;
      color: var(--admin-secondary);
    }

    .btn {
      padding: 18px 24px;
      border: none;
      border-radius: 16px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .btn:hover::before {
      left: 100%;
    }

    .btn.primary {
      background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
      color: var(--white);
    }

    .btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3), 0 4px 6px -2px rgba(220, 38, 38, 0.1);
    }

    .btn:active {
      transform: translateY(0);
    }

    .divider {
      text-align: center;
      margin: 32px 0 24px 0;
      position: relative;
      color: var(--gray-600);
      font-size: 14px;
      font-weight: 500;
    }

    .divider::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--gray-100);
      z-index: 0;
    }

    .divider::after {
      content: 'Demo Credentials';
      background: var(--white);
      padding: 0 20px;
      position: relative;
      z-index: 1;
    }

    .demo-list {
      list-style: none;
      background: var(--gray-50);
      padding: 20px;
      border-radius: 16px;
      margin: 16px 0;
      border: 1px solid var(--gray-100);
    }

    .demo-list li {
      padding: 12px 16px;
      font-family: 'Courier New', monospace;
      font-size: 14px;
      border-bottom: 1px solid var(--gray-100);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 8px;
      margin-bottom: 8px;
      background: var(--white);
      transition: all 0.3s ease;
    }

    .demo-list li:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .demo-list li:hover {
      background: var(--admin-light);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
      cursor: pointer;
    }

    .demo-list strong {
      color: var(--admin-primary);
    }

    .footer {
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid var(--gray-100);
    }

    .footer-text {
      font-size: 12px;
      color: var(--gray-600);
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .links {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .version {
      display: inline-block;
      background: var(--gray-100);
      color: var(--gray-600);
      padding: 4px 12px;
      border-radius: 8px;
      font-size: 11px;
      margin-bottom: 16px;
      font-weight: 500;
    }

    /* Responsive design */
    @media (max-width: 480px) {
      .container {
        padding: 32px 24px;
        margin: 16px;
      }

      .title {
        font-size: 28px;
      }

      .subtitle {
        font-size: 16px;
      }

      .logo-container {
        width: 96px;
        height: 96px;
      }

      .logo-container i {
        font-size: 48px;
      }

      .input-wrap input {
        padding: 14px 45px 14px 14px;
      }

      .btn {
        padding: 16px 20px;
      }

      .flex-between {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 12px;
      }

      .demo-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }

      .back-btn {
        padding: 10px 16px;
        font-size: 12px;
      }
    }

    /* Loading animation */
    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .fa-spin {
      animation: spin 1s linear infinite;
    }

    /* Focus styles for accessibility */
    .btn:focus, .back-btn:focus {
      outline: 2px solid var(--isu-gold);
      outline-offset: 2px;
    }

    input:focus {
      outline: none;
    }