:root{
  --green:#064e3b;       /* primary dark green */
  --green-dark:#03392d;  /* darker shade */
  --bg:#f6f8fb;
  --muted:#6b7280;
  --input-border:#e6eef8;
  --card-shadow: 0 18px 40px rgba(16,24,40,0.08);
}

body{
  background:var(--bg);
  margin:0;
  padding:0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.clc-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  box-sizing:border-box;
}

.clc-card{
  width:1000px;
  max-width:95%;
  display:flex;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--card-shadow);
  background:#fff;
  gap:0;
  align-items:stretch;
}

/* left panel (illustration) */
.clc-left{
  flex:1;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  box-sizing:border-box;
  min-width:300px;
}

.clc-left-inner{
  width:260px;
  height:420px;
  background:#fff;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(2,6,23,0.06);
}

.clc-illus{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* right panel (form) */
.clc-right{
  flex:1;
  padding:60px 50px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.clc-form-wrap{
  width:320px;
  max-width:100%;
  box-sizing:border-box;
}

/* branding */
.clc-logo{
  max-height:48px;
  margin-bottom:18px;
  display:block;
}

.clc-heading{
  font-size:22px;
  margin:0 0 6px 0;
  font-weight:600;
  color: #0b2f26;
}

.clc-desc{
  color:var(--muted);
  margin-bottom:18px;
  font-size:14px;
}

/* inputs */
.clc-input{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--input-border);
  border-radius:6px;
  margin-bottom:12px;
  box-sizing:border-box;
  font-size:14px;
  background:#fff;
}

/* row: remember + forgot */
.clc-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  font-size:14px;
  color:#4b5563;
}

/* primary button (green) */
.clc-btn{
  display:block;
  width:100%;
  color:#fff;
  padding:12px;
  border-radius:8px;
  border:none;
  font-weight:600;
  margin-top:6px;
  background:var(--green);
  border:1px solid var(--green-dark);
  box-shadow: 0 6px 18px rgba(6,78,59,0.12);
  cursor:pointer;
}

/* auxiliary */
.clc-or{
  margin-top:12px;
  text-align:center;
  color:var(--muted);
  margin-bottom:8px;
  font-size:13px;
}

.clc-google-btn{
  display:block;
  text-align:center;
  border:1px solid var(--input-border);
  padding:10px;
  border-radius:8px;
  color:#111;
  text-decoration:none;
  margin-top:8px;
  background:#fff;
}

/* small screens: stack and hide illustration for compactness */
@media (max-width: 900px){
  .clc-card{
    flex-direction:column;
    max-width:700px;
  }
  .clc-left{
    padding:24px;
    min-height:220px;
  }
  .clc-right{
    padding:24px;
  }
  .clc-left-inner{
    width:200px;
    height:320px;
  }
}

/* extra small screens: prioritize form, hide illustration completely to save space */
@media (max-width: 600px){
  .clc-wrap{ padding:18px; }
  .clc-card{ width:100%; box-shadow:none; border-radius:10px; background:transparent; }
  .clc-left{ display:none; } /* hide left panel on narrow screens */
  .clc-right{ padding:12px; width:100%; }
  .clc-form-wrap{ width:100%; max-width:460px; background:#fff; padding:18px; border-radius:10px; box-shadow:var(--card-shadow); }
  .clc-heading{ font-size:18px; }
  .clc-desc{ font-size:13px; }
  .clc-btn{ padding:12px; font-size:15px; }
}

/* accessibility: focus states */
.clc-input:focus, .clc-btn:focus, .clc-google-btn:focus{
  outline:3px solid rgba(6,78,59,0.12);
  outline-offset:2px;
}

/* small polish */
.clc-logo, .clc-illus { user-select: none; -webkit-user-drag: none; }
