/* ==============================
   GLOBAL
============================== */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #f4f6f8;
  color: #222;
}

.wrap {
  max-width: 720px;
  margin: auto;
  padding: 20px;
}

/* ==============================
   CARD
============================== */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ==============================
   HEADER
============================== */
.topbar {
  background: #111;
  color: #fff;
  padding: 12px 20px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand img {
  height: 36px;
  margin-right: 10px;
}
/* ==============================
   INFO BOX (TOP)
============================== */
.info-box{
  background:#f1f5f9;
  border:1px solid #cbd5e1;
  padding:12px;
  border-radius:10px;
  margin-bottom:15px;
  font-size:14px;
  color:#1e293b;
}

.info-box .sub{
  font-size:12.5px;
  color:#64748b;
  margin-top:4px;
}

/* ==============================
   SECURITY BOX (BOTTOM SMALL)
============================== */
.security-box.small{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#64748b;
  margin:10px 0;
}

.security-box.small i{
  color:#2d6a4f;
  font-size:13px;
}



/* ==============================
   PROGRESS
============================== */
.progress {
  height: 6px;
  background: #eee;
  border-radius: 6px;
  margin-bottom: 20px;
}

.bar {
  height: 100%;
  width: 0%;
  background: #2d6a4f;
  border-radius: 6px;
  transition: width .3s ease;
}

/* ==============================
   TEXT
============================== */
h1 {
  margin-bottom: 10px;
}

.sub {
  color: #666;
  margin-bottom: 20px;
}

/* ==============================
   FORM
============================== */
.label {
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

.input, .select, .textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ==============================
   BUTTONS
============================== */
.btn {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.primary {
  background: #2d6a4f;
  color: #fff;
}

.ghost {
  background: #eee;
}

.actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* ==============================
   CHIPS
============================== */
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 14px;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
}

.chip.active {
  background: #2d6a4f;
  color: #fff;
}

/* ==============================
   BACK BUTTON (PILL STYLE)
============================== */
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  transition:all 0.25s ease;
}

/* Ghost version (your current style) */
.pill.ghost{
  background:#f1f5f9;
  color:#334155;
  border:1px solid #e2e8f0;
}

/* Hover effect */
.pill.ghost:hover{
  background:#2d6a4f;
  color:#fff;
  border-color:#2d6a4f;
  transform:translateY(-1px);
}

/* Icon styling */
.pill i{
  font-size:12px;
}

/* Active click feel */
.pill:active{
  transform:scale(0.96);
}

/* Mobile tweak */
@media(max-width:600px){
  .pill{
    padding:7px 12px;
    font-size:12px;
  }
}
.chip.auto {
  border:2px solid #2d6a4f;
  background:#e6fff2;
}
