
  /* Reset */
  * {
      box-sizing: border-box;
  }

  body {
      font-family: 'Cairo', sans-serif;
      background: linear-gradient(135deg, #4e54c8, #8f94fb);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
      padding: 15px;
      color: #333;
      overflow: hidden;
  }

  /* خلفية مزخرفة */
  body::before {
      content: "";
      position: fixed;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%);
      animation: rotate 20s linear infinite;
      z-index: 0;
      border-radius: 50%;
      filter: blur(100px);
  }

  @keyframes rotate {
      from {
          transform: rotate(0deg);
      }

      to {
          transform: rotate(360deg);
      }
  }

  .login-box {
      position: relative;
      background: #ffffffee;
      padding: 45px 35px 55px;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      width: 100%;
      max-width: 400px;
      z-index: 1;
      transition: box-shadow 0.3s ease;
  }

  .login-box:hover {
      box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  }

  .login-box h2 {
      margin-bottom: 30px;
      font-weight: 700;
      font-size: 1.8rem;
      text-align: center;
      color: #3f3f7f;
      letter-spacing: 1.2px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  }

  .input-group {
      margin-bottom: 25px;
  }

  .input-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #5a5a8a;
      user-select: none;
  }

  .input-group input {
      width: 100%;
      padding: 14px 18px;
      border: 2px solid #bbb;
      border-radius: 12px;
      font-size: 1rem;
      transition: border-color 0.3s, box-shadow 0.3s;
      background: #fafaff;
      color: #444;
      outline-offset: 2px;
  }

  .input-group input::placeholder {
      color: #999;
      font-style: italic;
  }

  .input-group input:focus {
      border-color: #6c63ff;
      box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
      background: #fff;
  }

  .login-btn {
      width: 100%;
      padding: 14px 0;
      font-size: 1.1rem;
      font-weight: 700;
      background: linear-gradient(90deg, #6c63ff, #3f3f7f);
      color: #fff;
      border: none;
      border-radius: 14px;
      cursor: pointer;
      box-shadow: 0 6px 15px rgba(108, 99, 255, 0.6);
      transition: background 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
  }

  .login-btn i {
      font-size: 1.2rem;
  }

  .login-btn:hover {
      background: linear-gradient(90deg, #3f3f7f, #6c63ff);
      box-shadow: 0 8px 20px rgba(108, 99, 255, 0.8);
  }

  .footer {
      margin-top: 25px;
      text-align: center;
      font-size: 14px;
      color: #666;
      user-select: none;
  }

  .footer a {
      color: #6c63ff;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.3s;
  }

  .footer a:hover {
      text-decoration: underline;
      color: #3f3f7f;
  }

  @media (max-width: 450px) {
      .login-box {
          padding: 30px 25px 40px;
      }

      .login-box h2 {
          font-size: 1.5rem;
      }

      .input-group input {
          padding: 12px 14px;
          font-size: 0.95rem;
      }

      .login-btn {
          font-size: 1rem;
          padding: 12px 0;
      }
  }
