/* ============================================================
   ROHIT GIS APPS — CONTOUR GENERATOR
   ============================================================ */

:root {
    --bg: #07111f;
    --panel: #0d1b2d;
    --line: #28415e;
    --text: #eef6ff;
    --muted: #9db2c8;
    --accent: #19c7ff;
    --ok: #54d38b;
    --warn: #ffd166;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: linear-gradient(135deg,#06101c,#0a1727 55%,#07111f);
    color: var(--text);
    font: 14px Segoe UI, Arial, sans-serif;
}

.wrap { max-width: 1100px; margin: 24px auto; padding: 0 18px; }

.head,.card {
    background: rgba(13,27,45,.97);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.head { padding: 22px 24px; }
h1 { margin: 0 0 7px; font-size: 25px; }
.sub { color: var(--muted); line-height: 1.5; }

.grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    margin-top: 16px;
}

.card { padding: 18px; }
.card h2 { font-size: 16px; margin: 0 0 14px; }

.drop {
    border: 2px dashed #3c6388;
    border-radius: 12px;
    padding: 26px;
    text-align: center;
    background: #0a1625;
    cursor: pointer;
    transition: .2s;
}
.drop:hover { border-color: var(--accent); }
input[type=file] { display:none; }

.row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.field { margin-bottom:13px; }
.field label { display:block; color:#c8d8e8; margin-bottom:6px; }

.field input,.field select {
    width:100%;
    padding:10px 11px;
    border:1px solid #34516e;
    border-radius:9px;
    background:#091624;
    color:var(--text);
    outline:none;
}
.field input:focus,.field select:focus { border-color:var(--accent); }

.checks {
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin:8px 0 14px;
}
.checks label {
    display:flex;
    gap:7px;
    align-items:center;
    color:#d5e4f1;
}

button {
    border:0;
    border-radius:10px;
    padding:11px 15px;
    font-weight:700;
    cursor:pointer;
}
button:disabled { opacity:.45; cursor:not-allowed; }

.primary { background:var(--accent); color:#03101a; }
.secondary { background:#20364f; color:#eef6ff; }

.actions {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:14px;
}

.status {
    margin-top:13px;
    padding:11px;
    border-radius:9px;
    background:#091624;
    color:var(--muted);
    min-height:40px;
}

.ok { color:var(--ok); }
.warn { color:var(--warn); }

pre {
    white-space:pre-wrap;
    word-break:break-word;
    background:#081422;
    border:1px solid #20384f;
    padding:12px;
    border-radius:10px;
    color:#b9d1e4;
    min-height:130px;
    max-height:420px;
    overflow:auto;
}

.small {
    font-size:12px;
    color:var(--muted);
    line-height:1.5;
}

.note {
    margin:-2px 0 12px;
    padding:9px 11px;
    background:#0a1726;
    border:1px solid #1d344b;
    border-radius:9px;
}

.steps { display:grid; gap:8px; }
.step {
    padding:10px 12px;
    background:#0a1726;
    border:1px solid #1d344b;
    border-radius:10px;
}
.step b { color:var(--accent); }

code {
    background:#091624;
    padding:2px 5px;
    border-radius:5px;
    color:#8fe4ff;
}

@media (max-width:800px) {
    .grid,.row { grid-template-columns:1fr; }
}
