:root {
  --blue-start: #5c7fea;
  --gold-1: #ffb001;
  --orange: #ff7900;
  --gold-input: rgba(255, 187, 69, 0.18);
  --white: #ffffff;
  --btn-blue: #5777ea;
  --btn-blue-2: #7e95f0;
  --page-max: 420px;
}

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, var(--blue-start) 0%, var(--gold-1) 55%, var(--orange) 100%);
  display: flex;
  align-items: center; /* مركز عمودي */
  justify-content: center; /* مركز أفقي */
  padding: 0;
  min-height: 100vh;
}

/* main container */
.login-page {
  width: 100%;
  max-width: var(--page-max);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* logo circle ثابتة */
.logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  margin-bottom: -35px;
  z-index: 10;
}
.logo {
  width: 96px; /* حجم ثابت */
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd874 0%, #ffb84a 30%, #ff8c2e 60%);
  border: 6px solid rgba(26, 43, 94, 0.5);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* login card */
.login-card {
  width: 90%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

/* Title */
.title {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.25);
  font-size: clamp(24px, 5vw, 28px);
}

/* inputs container */
.inputs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* gold translucent rounded inputs */
.input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(14px, 4vw, 16px);
  outline: none;
  color: rgba(20, 20, 20, 0.85);
  box-shadow: inset 0 0.1rem 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.input--gold {
  background: var(--gold-input);
  color: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(1px);
}
.input::placeholder {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.input:focus {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(92, 127, 234, 0.12);
  border-color: rgba(92, 127, 234, 0.35);
}

/* login button */
.btn-login {
  width: 86%;
  max-width: 320px;
  padding: 0.9rem 1.1rem;
  border-radius: 2rem;
  border: none;
  font-weight: 700;
  font-size: clamp(14px, 4vw, 16px);
  letter-spacing: 1px;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(90deg, var(--btn-blue), var(--btn-blue-2));
  box-shadow: 0 0.875rem 1.875rem rgba(86, 118, 233, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s;
  text-transform: uppercase;
}
.btn-login:active {
  transform: translateY(1px);
}
.btn-login:focus {
  outline: none;
  box-shadow: 0 1.125rem 2.25rem rgba(86, 118, 233, 0.22);
}
.logo-form{
	width: 500px;
}

/* responsive tweaks for larger screens */
@media (min-width: 760px) {
  .login-page {
    max-width: 520px;
  }
  .login-card {
    padding: 2.5rem;
  }
}

@media (max-width: 420px) {
  .login-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .logo {
	width: 65px;
    height: 65px;
    margin-bottom: 5px;
  }

  .title {
    font-size: 16px;
	margin-top: 8px;
    margin-bottom: 0;
  }

  .input {
    padding: 0.4rem 0.6rem;
    font-size: 12px;
  }

  .btn-login {
    padding: 0.5rem;
    font-size: 12px;
  }
  
  .logo-form{
	width: 300px;
  }
}
