/* =========================================================
   BLACK STUDIO — LOGIN / SIGN UP
   ========================================================= */
.account-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 42px 18px 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,59,48,.14), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(0,230,161,.09), transparent 30%),
    #080909;
}

.account-page::before,
.account-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.account-page::before {
  width: 220px;
  height: 220px;
  background: rgba(255,59,48,.10);
  top: 7%;
  left: -90px;
}

.account-page::after {
  width: 260px;
  height: 260px;
  background: rgba(0,230,161,.07);
  right: -110px;
  bottom: 4%;
}

.account-shell {
  width: min(100%, 470px);
  position: relative;
  z-index: 1;
}

.account-card {
  background: linear-gradient(145deg, rgba(20,23,22,.97), rgba(10,12,12,.98));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.035);
}

.account-brand {
  text-align: center;
  margin-bottom: 26px;
}

.account-brand-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #ff3b30, #ff5147);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(255,59,48,.22);
}

.account-brand h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 6vw, 32px);
  line-height: 1.15;
  font-weight: 850;
}

.account-brand p {
  margin: 9px 0 0;
  color: #929797;
  font-size: 14px;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-field {
  display: grid;
  gap: 8px;
}

.account-field label {
  color: #e8ebeb;
  font-size: 13px;
  font-weight: 700;
}

.account-input-wrap {
  position: relative;
}

.account-input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 13px;
  outline: none;
  background: #111414;
  color: #fff;
  font-size: 15px;
  transition: .2s ease;
}

.account-input::placeholder { color: #666d6d; }
.account-input:focus {
  border-color: rgba(255,59,48,.65);
  box-shadow: 0 0 0 3px rgba(255,59,48,.09);
}

.account-password {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9ca2a2;
  cursor: pointer;
  font-size: 17px;
}
.password-toggle:hover { background: #1a1d1d; color: #fff; }

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}

.account-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #919797;
  font-size: 12px;
}
.account-check input { accent-color: #ff3b30; }

.account-link {
  color: #ff665d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.account-link:hover { color: #fff; }

.account-submit {
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff3b30, #ff5147);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255,59,48,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.account-submit:hover { transform: translateY(-1px); box-shadow: 0 15px 32px rgba(255,59,48,.25); }
.account-submit:disabled { opacity: .65; cursor: wait; transform: none; }

.account-message {
  display: none;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.45;
}
.account-message.show { display: block; }
.account-message.error { color: #ffb0aa; background: rgba(255,59,48,.09); border: 1px solid rgba(255,59,48,.20); }
.account-message.success { color: #91f5d4; background: rgba(0,230,161,.08); border: 1px solid rgba(0,230,161,.18); }

.account-switch {
  text-align: center;
  margin: 22px 0 0;
  color: #888f8f;
  font-size: 13px;
}
.account-switch a { color: #00e6a1; font-weight: 800; text-decoration: none; }
.account-switch a:hover { color: #fff; }

.account-security {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  color: #626969;
  font-size: 11px;
}

@media (max-width: 600px) {
  .account-page { padding: 24px 13px 48px; min-height: calc(100vh - 64px); }
  .account-card { padding: 24px 18px; border-radius: 20px; }
  .account-brand { margin-bottom: 22px; }
  .account-brand-mark { width: 52px; height: 52px; border-radius: 14px; }
}
