/* SECTION */
.section-box{
  background:#fafafa;
  border:1px solid #eee;
  padding:18px;
  border-radius:10px;
  margin-bottom:18px;
}

/* LABEL */
.label{
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:12px;
}

/* RANGE */
.range-wrap{
  display:flex;
  align-items:center;
  gap:15px;
}

.range{
  width:100%;
}

.range-count{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#dff7ec;
  color:#0a7a53;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
}

/* OPTION BUTTONS */
.option-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.option-btn{
  padding:10px 14px;
  border:1px solid #ddd;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
  transition:.2s;
  font-size:14px;
}

.option-btn:hover{
  border-color:#0a7a53;
}

.option-btn.active{
  background:linear-gradient(135deg,#10b981,#14b8a6);
  color:#fff;
  border-color:transparent;
}

/* BUTTON */
.btns{
  text-align:right;
  margin-top:15px;
}

.app{
  padding:12px 20px;
  background:linear-gradient(135deg,#0a3d62,#07517d);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
}

/* RESULT */
.result-box{
  margin-top:20px;
  background:#fafafa;
  border:1px solid #ddd;
  border-radius:8px;
  padding:15px;
  min-height:120px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:12px;
}

/* CARD */
.stat-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  padding:15px;
  text-align:center;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
  animation:fade .3s ease-in;
}

/* LETTER */
.letter{
  font-size:40px;
  font-weight:bold;
  margin-bottom:12px;
}

/* COPY */
.copy-btn{
  padding:6px 10px;
  background:#0a3d62;
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  font-size:12px;
}

/* LOADER */
.loader{
  text-align:center;
  animation:pulse 1s infinite;
}

@keyframes pulse{
  0%{opacity:.3}
  50%{opacity:1}
  100%{opacity:.3}
}

@keyframes fade{
  from{
    opacity:0;
    transform:scale(.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}
