
/*body { font-family:Arial; background:#f4f6f8; padding:20px; }*/
/*.box { max-width:1000px; margin:auto; background:#fff; padding:20px; border-radius:8px; }*/
/*.controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:15px; }*/
/*label { font-weight:bold; }*/
/*select,input,button { padding:8px; width:100%; }*/
/*button { background:#2563eb; color:#fff; border:none; border-radius:6px; cursor:pointer; }*/
/*canvas { margin-top:20px; border:1px solid #ccc; }*/
/*.note { font-size:13px; color:#555; }*/
/* ==============================
   PASSPORT PHOTO MAKER – UI CSS
   ============================== */

/* CSS Reset */
/** {*/
/*  box-sizing: border-box;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*}*/

/* Root Theme */
/*:root {*/
/*  --primary: #2563eb;*/
/*  --primary-dark: #1e40af;*/
/*  --bg: #f4f6f8;*/
/*  --card: #ffffff;*/
/*  --text: #1f2937;*/
/*  --muted: #6b7280;*/
/*  --border: #d1d5db;*/
/*  --radius: 8px;*/
/*}*/

/* Body */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  /*//background: var(--bg);*/
  color: var(--text);
  padding: 20px;
  line-height: 1.5;
}

/* Main Container */
.box,
.container {
  max-width: 1100px;
  margin: auto;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Headings */
h1, h2 {
  margin-bottom: 16px;
  font-weight: 600;
}

/* Controls Grid */
.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Labels */
label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* Inputs */
input[type="file"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

input[type="file"] {
  cursor: pointer;
}

/* Buttons */
button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

button:hover {
  background: var(--primary-dark);
}

button:active {
  transform: scale(0.98);
}

/* Canvas Preview */
canvas {
  display: block;
  margin: 20px auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

/* Notes / Help Text */
.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

.badge.success {
  background: #dcfce7;
  color: #166534;
}

.badge.error {
  background: #fee2e2;
  color: #991b1b;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .box,
  .container {
    padding: 16px;
  }

  button {
    width: 100%;
  }
}
