:root{
  --bg:#f6f6f5;
  --card:#ffffff;
  --accent:#d8412f; /* warm red, non-blue */
  --muted:#6b6b6b;
  --glass: rgba(255,255,255,0.75);
  --radius:14px;
  --shadow: 0 6px 20px rgba(24,24,24,0.08);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body,#root{height:100%}
body{
  margin:0;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(1200px 400px at 10% 10%, rgba(216,65,47,0.06), transparent 10%),
    var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:20px;
}

.container{
  width:100%;
  max-width:980px;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero{
  display:flex;
  gap:28px;
  align-items:stretch;
  padding:18px;
}

/* Carousel area */
.carousel{
  flex:1.2;
  min-width:220px;
  max-width:620px;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(180deg,#f3f3f3,#fbfbfb);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
}
.carousel img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
  border-radius:10px;
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
  transform-origin:center;
  transition:opacity .45s ease, transform .45s ease;
  max-height:420px;
}
.carousel img.active{
  display:block;
  opacity:1;
  transform:scale(1);
}

/* Login card */
.login{
  flex:0 0 320px;
  background:var(--card);
  border-radius:12px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  box-shadow:var(--shadow);
  align-self:center;
  min-height:280px;
}
.login h1{
  margin:0;
  font-size:18px;
  color:#222;
  letter-spacing:0.2px;
}
.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}
.field input{
  height:44px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e6e6e6;
  background:linear-gradient(180deg, #fff, #fbfbfb);
  outline:none;
  font-size:14px;
}
.field input:focus{border-color:var(--accent); box-shadow:0 4px 18px rgba(216,65,47,0.08)}

.actions{display:flex;gap:10px;margin-top:4px}
.btn{
  flex:1;
  min-height:44px;
  border-radius:10px;
  border:1px solid transparent;
  background:transparent;
  font-weight:600;
  cursor:pointer;
  font-size:14px;
}
.btn.primary{
  background:var(--accent);
  color:#fff;
  box-shadow: 0 6px 18px rgba(216,65,47,0.12);
}
.btn.ghost{
  background:transparent;
  color:var(--accent);
  border-color:rgba(216,65,47,0.12);
}

/* Footer */
.footer{
  padding:12px 18px;
  text-align:center;
  border-top:1px solid #f0f0f0;
  font-size:13px;
  color:var(--muted);
}

/* Responsive: stack on small screens */
@media (max-width:760px){
  .hero{flex-direction:column; gap:14px; padding:14px}
  .login{width:100%; max-width:420px; order:2}
  .carousel{order:1; width:100%}
  .container{border-radius:12px}
}
