 * { margin: 0; padding: 0; box-sizing: border-box; }
    
    body {
      min-height: 100vh;
      background: radial-gradient(circle at 15% 20%, #f1f7ff 0%, #f3b1b1 35%, #f0a0a0 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
      overflow-x: hidden;
      position: relative;
    }

    .bg-scene {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .bg-scene .shape {
      position: absolute;
      border: 2px solid rgba(174, 59, 59, 0.35);
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(2px);
      border-radius: 26px;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;
      will-change: transform;
    }

    .bg-scene .shape.s1 {
      width: 220px;
      height: 220px;
      top: -40px;
      left: -60px;
      border-radius: 50%;
      animation: drift-a 16s infinite;
    }

    .bg-scene .shape.s2 {
      width: 280px;
      height: 280px;
      right: -70px;
      top: 70px;
      border-radius: 42% 58% 54% 46%;
      animation: drift-b 18s infinite;
    }

    .bg-scene .shape.s3 {
      width: 170px;
      height: 170px;
      left: 12%;
      bottom: 10%;
      border-style: dashed;
      border-radius: 38% 62% 44% 56%;
      animation: drift-c 14s infinite;
    }

    .bg-scene .shape.s4 {
      width: 160px;
      height: 160px;
      right: 16%;
      bottom: 16%;
      border-radius: 24px;
      animation: drift-d 20s infinite;
    }

    .bg-scene .shape.s5 {
      width: 280px;
      height: 280px;
      right: 30%;
      bottom: -120px;
      border-radius: 50%;
      border-width: 5px;
      border-color: rgba(174, 59, 59, 0.35);
      animation: drift-e 22s infinite;
    }

    @keyframes drift-a {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(28px, 36px, 0) rotate(8deg); }
    }

    @keyframes drift-b {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(-32px, -24px, 0) rotate(-10deg); }
    }

    @keyframes drift-c {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(22px, -18px, 0) rotate(12deg); }
    }

    @keyframes drift-d {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(-25px, 24px, 0) rotate(-8deg); }
    }

    @keyframes drift-e {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
      50% { transform: translate3d(30px, -20px, 0) scale(1.04); }
    }

    #login-container {
      min-height: 100vh;
      padding: 20px;
      position: relative;
      z-index: 2;
    }

    .login-card {
      background: rgba(255, 255, 255, 0.88);
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(8px);
      box-shadow: 0 25px 60px rgba(37, 72, 106, 0.2);
      padding: 40px 30px;
      max-width: 380px;
      width: 100%;
      animation: slideUp 0.6s ease-out, floatCard 6s ease-in-out infinite 0.6s;
      will-change: transform;
    }

    @keyframes floatCard {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .login-logo {
      width: 90px;
      height: 90px;
      margin: 0 auto 16px;
      border: 4px solid #4B0F0F;
      object-fit: cover;
      animation: fadeInDown 0.6s ease-out;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .system-title {
      font-size: 20px;
      font-weight: 700;
      color: #0a2942;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }

    .system-subtitle {
      font-size: 12px;
      color: #6c757d;
      font-weight: 500;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e9ecef;
    }

    .form-label {
      font-weight: 600;
      color: #495057;
      margin-bottom: 10px;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .form-control {
      border: 2px solid #e9ecef;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 15px;
      transition: all 0.3s ease;
      background-color: #f8f9fa;
    }

    .form-control:focus {
      border-color: #4B0F0F;
      background-color: white;
      box-shadow: 0 0 0 0.2rem rgba(29, 111, 165, 0.15);
      outline: none;
    }

    .form-control::placeholder {
      color: #adb5bd;
    }

    .input-group-text {
      border-radius: 0 10px 10px 0;
      border: 2px solid #e9ecef;
      border-left: none;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #712e2e;
    }

    .input-group-text:hover {
      background-color: #f0f7fe;
      color: #4B0F0F;
    }

    .input-group > .form-control:focus ~ .input-group-text {
      border-color: #712e2e;
      background-color: white;
    }

    .forgot-password-link {
      color: #4B0F0F;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .forgot-password-link:hover {
      color: #4B0F0F;
      text-decoration: underline;
    }

    .btn-primary {
      background: linear-gradient(135deg, #4B0F0F 0%, #b55a5a 100%);
      border: none;
      border-radius: 10px;
      padding: 10px 20px;
      font-weight: 600;
      font-size: 14px;
      margin-top: 18px;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 15px rgba(10, 41, 66, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(10, 41, 66, 0.6);
      background: linear-gradient(135deg, #4B0F0F 0%, #b55a5a 100%);
    }

    .btn-primary:active {
      transform: translateY(0);
      box-shadow: 0 2px 10px rgba(10, 41, 66, 0.4);
    }

    .btn-primary:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    #login-message {
      border-radius: 10px;
      border: none;
      margin-bottom: 24px;
      background-color: #f8d7da;
      color: #721c24;
      border-left: 4px solid #dc3545;
      animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    #login-message .btn-close {
      color: #721c24;
    }

    .footer-note {
      color: #b55a5a;
      font-size: 13px;
      font-weight: 600;
      text-align: center;
      margin-top: 20px;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    @media (prefers-reduced-motion: reduce) {
      .bg-scene .shape,
      .login-card,
      .login-logo {
        animation: none !important;
      }
    }

    @media (max-width: 480px) {
      .login-card {
        padding: 30px 20px;
      }

      .system-title {
        font-size: 18px;
      }

      .login-logo {
        width: 80px;
        height: 80px;
      }
    }

    .coloricon{
      color: #712e2e;
    }