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

:root{
  --pink:#f3a6c7;
  --pink2:#ffb9d6;
  --text:#101010;
  --muted:#6b6b6b;
  --line: rgba(0,0,0,.10);
  --shadow: 0 30px 80px rgba(0,0,0,.12);
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(243,166,199,.18), transparent 60%),
    linear-gradient(#fff, #fbfbfb);
  min-height: 100vh;
}

.page{
  min-height: 100vh;
  position: relative;
  padding: 30px 16px;
  display: grid;
  place-items: center;
}

/* LOGO (spațiu dedicat) */
.login-header{
  width: min(520px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.login-header{
  width: min(520px, 100%);
  display:flex;
  justify-content:center;
  align-items:center;
  margin: 0 auto 14px;
}

.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.brand img{
  width: 72px;
  height: 72px;
  object-fit: contain;
  background:#fff;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(0,0,0,.10);
  transition: transform .2s ease;
}

.brand:hover img{ transform: scale(1.05); }


.brand:hover img{ transform: scale(1.05); }

.wrap{
  width: min(520px, 100%);
  text-align: center;
}

.title{
  font-weight: 900;
  letter-spacing: -0.6px;
  font-size: clamp(28px, 4.2vw, 44px);
  margin: 18px 0 18px;
}

.card{
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 26px;
  padding: 18px;

  /* border pink “premium” */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(243,166,199,.95), rgba(255,210,234,.9)) border-box;
  border: 4px solid transparent;
  box-shadow: var(--shadow);
}

.subtitle{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
  margin: 2px 6px 14px;
}

/* inner form box (ca în design) */
.form{
  border: 2px solid rgba(0,0,0,.45);
  border-radius: 26px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.72);
}

.field{
  display: grid;
  text-align: left;
  gap: 8px;
  padding: 10px 6px 6px;
}

.field span{
  font-size: 13px;
  font-weight: 800;
  color: #222;
}

.field input{
  height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  outline: none;
  transition: .15s ease;
  background: rgba(255,255,255,.95);
}

.field input:focus{
  border-color: rgba(243,166,199,.95);
  box-shadow: 0 0 0 5px rgba(243,166,199,.25);
}

.btn{
  border: none;
  cursor: pointer;
  font-weight: 900;
  border-radius: 14px;
  height: 48px;
  width: 100%;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.primary{
  margin: 10px 0 4px;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #ffd3e6 0%, var(--pink) 55%, #e986b3 100%);
  box-shadow: 0 16px 30px rgba(243,166,199,.35);
}
.primary:hover{ transform: translateY(-1px); }
.primary:active{ transform: translateY(0px) scale(.99); }

/* divider */
.divider{
  display:flex;
  align-items:center;
  gap: 12px;
  color: rgba(0,0,0,.55);
  font-size: 12px;
  margin: 12px 0;
}
.divider::before,
.divider::after{
  content:"";
  height:1px;
  flex:1;
  background: rgba(0,0,0,.18);
}
.divider span{
  white-space: nowrap;
}

/* social buttons */
.social{
  display: grid;
  gap: 12px;
  margin: 6px 0 6px;
}

.social-btn{
  background: #fff;
  border: 2px solid rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
}

.social-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

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

/* icon circles (fără librării externe) */
.ico{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display:inline-block;
  background: #ddd;
}

/* simple “branding” look */
.ico.google{
  background: conic-gradient(from 0deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
}
.ico.fb{
  background: #1877f2;
}
.ico.apple{
  background: #111;
}

.fine{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,.62);
}

.link{
  color: #cc5f96;
  font-weight: 900;
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }

/* responsive */
@media (max-width: 560px){
  .brand img{ width: 58px; height: 58px; padding: 7px; }
  .card{ padding: 14px; border-radius: 22px; }
  .form{ border-radius: 22px; }
}
/* variantă compactă pentru popup */
.page{
  padding: 12px !important;
}
.login-header{
  margin-bottom: 10px !important;
}
.wrap{
  width: 100% !important;
}
.title{
  font-size: 22px !important;
  margin: 10px 0 10px !important;
}
.card{
  padding: 12px !important;
  border-radius: 20px !important;
}
.form{
  padding: 12px !important;
  border-radius: 18px !important;
}
.btn{
  height: 44px !important;
}
