:root{
  --red: #b11226;      /* roșu oficial, arată bine pe desktop */
  --red-dark: #8c0d1f; /* hover */
  --bg: #0b0b0b;
  --card: #141414;
  --text: #ffffff;
  --muted: rgba(255,255,255,.75);
  --border: rgba(255,255,255,.18);
  --white: #ffffff;
}



*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #0b0b0b; /* fără gradient */
}


.page{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.shell{
  width: min(980px, 100%);
}

.header{ margin-bottom:18px; }



.title{
  margin:0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: .4px;
  line-height: 1.05;
  font-size: clamp(22px, 3.2vw, 34px);
  color: #ffffff;                 /* alb pur */
  -webkit-font-smoothing: antialiased;
}

.subtitle{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,.75);
}


.card{
  background: rgba(20,20,20,.92);
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}


.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
}

.left{
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid var(--border);
}

.logo-wrap{
  width:min(320px, 80%);
  aspect-ratio: 1 / 1;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background: #ffffff;          /* <-- fundal alb */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.logo-wrap img{
  max-width:100%;
  max-height:100%;
  height:auto;
  width:auto;
  display:block;
}

.right{
  padding:28px;
}

.form-title{
  margin:0 0 14px 0;
  font-size: 18px;
  font-weight:700;
}

.field{
  margin: 14px 0;
}

label{
  display:block;
  margin-bottom:6px;
  font-size: 13px;
  color: var(--muted);
}

input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}

input::placeholder{ color: rgba(238,242,255,.45); }

input:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(138,180,248,.18);
}

.actions{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

button{
  border:1px solid var(--red);
  border-radius:12px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  background: var(--red);
  color: var(--white);
  transition: 
    background .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

button:hover{
  background: var(--red-dark);
  box-shadow: 0 6px 18px rgba(177,18,38,.35);
  transform: translateY(-1px);
}

button:active{
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(177,18,38,.25);
}


.link{
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.link:hover{
  color: var(--red);
  text-decoration: underline;
}


.footer-note{
  margin-top:14px;
  font-size:12px;
  color: rgba(255,255,255,.6);
  line-height:1.4;
}


/* Responsive: pe telefon, coloanele devin una sub alta */
@media (max-width: 760px){
  .grid{ grid-template-columns: 1fr; }
  .left{
    border-right:0;
    border-bottom:1px solid var(--border);
    padding:22px;
  }
  .right{ padding:22px; }
  .logo-wrap{ width:min(260px, 85%); }
}

.help-text{
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.notice{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.45;
}
