/* Halaman login siMonel 2 kolom (resources/views/auth/login-simonel.blade.php) */
:root {
  --sm-brand: #0c6a84;
  --sm-brand-dark: #084c5f;
  --sm-accent: #e3ee25;
  --sm-text: #1f2d33;
  --sm-muted: #5f7178;
  --sm-border: #d7e2e6;
  --sm-bg: #f3f7f8;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--sm-text);
  background: var(--sm-bg);
}

body.sm-modal-active { overflow: hidden; }

.sm-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  min-height: 100vh;
}

.sm-col { display: flex; align-items: center; justify-content: center; padding: 48px 40px; }

/* Kolom 1 */
.sm-col-intro { background: #fff; }
.sm-intro { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; text-align: center; }

.sm-mascot { width: 180px; height: auto; margin-bottom: 20px; }
.sm-logotype { max-width: 240px; height: auto; margin-bottom: 20px; }

.sm-desc { font-size: 14.5px; line-height: 1.75; color: var(--sm-muted); margin: 0 0 32px; }

.sm-btn {
  display: inline-block;
  font: inherit;
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
  text-decoration: none;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--sm-brand);
  cursor: pointer;
  transition: background .15s, opacity .15s;
}
.sm-btn:hover { background: var(--sm-brand-dark); }
.sm-btn:disabled { opacity: .5; cursor: not-allowed; }
.sm-btn-login { min-width: 200px; padding: 14px 32px; }
.sm-btn-alt { color: var(--sm-brand-dark); background: var(--sm-accent); }
.sm-btn-alt:hover { background: #d3de12; }

.sm-footer { font-size: 12px; color: var(--sm-muted); margin: 40px 0 0; }

/* Kolom 2 */
.sm-col-slider {
  color: #fff;
  background: linear-gradient(145deg, var(--sm-brand) 0%, var(--sm-brand-dark) 100%);
}

.sm-slider { width: 100%; max-width: 560px; }
.sm-slides { position: relative; min-height: 470px; }

.sm-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity .45s, transform .45s, visibility .45s;
}
.sm-slide.is-active { opacity: 1; visibility: visible; transform: none; }

.sm-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.sm-periode { font-size: 13px; margin: 0 0 20px; color: var(--sm-accent); font-weight: 700; }
.sm-text { font-size: 15px; line-height: 1.6; margin: 12px 0 16px; opacity: .92; }
.sm-empty { margin: 24px 0; opacity: .8; }

/* Slide 1 */
.sm-donut { position: relative; width: 200px; height: 200px; margin: 0 auto 24px; }
.sm-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sm-donut-center strong { font-size: 26px; font-weight: 800; }
.sm-donut-center span { font-size: 12px; opacity: .8; }

.sm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sm-stat {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
}
.sm-stat span { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; }
.sm-stat strong { display: block; font-size: 18px; font-weight: 800; margin-top: 4px; }

.sm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.sm-dot-realisasi { background: var(--sm-accent); }
.sm-dot-sisa { background: rgba(255, 255, 255, .35); }

/* Slide 2 */
.sm-ranks { display: flex; flex-direction: column; gap: 14px; }
.sm-rank {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
}
.sm-rank-1 { background: rgba(227, 238, 37, .16); border-color: rgba(227, 238, 37, .5); }
.sm-rank-no {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--sm-brand-dark);
  background: var(--sm-accent);
}
.sm-rank-body { flex: 1; min-width: 0; }
.sm-rank-body strong { display: block; font-size: 16px; }
.sm-rank-body span { display: block; font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-bar { height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.sm-bar i { display: block; height: 100%; background: var(--sm-accent); }
.sm-rank-pct { font-size: 20px; font-weight: 800; flex-shrink: 0; }

/* Slide 3 */
.sm-list { margin: 0 0 18px; padding-left: 20px; line-height: 1.9; font-size: 14.5px; }
.sm-code {
  display: block;
  font-family: Consolas, Menlo, monospace;
  font-size: 13.5px;
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .25);
  overflow-x: auto;
  white-space: nowrap;
}
.sm-slide .sm-btn-alt { align-self: flex-start; }

/* Navigasi slider */
.sm-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.sm-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.sm-arrow:hover { background: rgba(255, 255, 255, .12); }
.sm-dots { display: flex; gap: 8px; }
.sm-dot-nav {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.sm-dot-nav.is-active { width: 26px; background: var(--sm-accent); }

/* Modal login */
.sm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 30, 38, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.sm-modal.is-open { opacity: 1; visibility: visible; }

.sm-modal-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  transform: translateY(12px);
  transition: transform .2s;
}
.sm-modal.is-open .sm-modal-box { transform: none; }

.sm-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sm-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.sm-modal-close:hover { background: var(--sm-bg); }

.sm-modal-logo { display: block; max-width: 150px; height: auto; margin: 0 auto 8px; }
.sm-modal-title { font-size: 18px; font-weight: 800; text-align: center; margin: 0 0 20px; }

.sm-form { display: flex; flex-direction: column; }
.sm-label { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sm-input {
  font: inherit;
  padding: 11px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--sm-border);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.sm-input:focus { border-color: var(--sm-brand); box-shadow: 0 0 0 3px rgba(12, 106, 132, .15); }

.sm-captcha { margin: 2px 0 16px; min-height: 78px; }

/* Mobile: kolom slider turun ke bawah */
@media (max-width: 900px) {
  .sm-wrap { grid-template-columns: 1fr; }
  .sm-col { padding: 36px 16px; }
  .sm-mascot { width: 140px; }
  .sm-slides { min-height: 520px; }
}

@media (max-width: 480px) {
  .sm-mascot { width: 120px; }
  .sm-logotype { max-width: 180px; }
  .sm-title { font-size: 20px; }
  .sm-stat strong { font-size: 16px; }
  .sm-rank { padding: 14px; gap: 12px; }
  .sm-rank-pct { font-size: 17px; }
  .sm-slides { min-height: 560px; }
  .sm-modal-box { padding: 28px 18px 20px; }
  .sm-captcha { transform: scale(.92); transform-origin: left top; }
}
