/* OpsOh Tools – CSV to VCF
   Conversion-oriented, simple, and clean.
*/

:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.56);
  --border: rgba(255,255,255,0.10);

  --accent: #44f0c4;
  --accent2: #2bd6ff;
  --danger: #ff5c7a;
  --ok: #40d17b;
  --warn: #ffc857;

  --shadow: 0 24px 80px rgba(0,0,0,0.40);
  --radius: 18px;
  --radius2: 22px;
  --max: 1080px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 10% -10%, rgba(68,240,196,0.18), transparent 60%),
              radial-gradient(1100px 600px at 90% -20%, rgba(43,214,255,0.14), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; opacity:0.92; }
a:hover{ opacity:1; text-decoration: underline; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.topbar{
  position: sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(11,15,20,0.75);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 58px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.topnav{ display:flex; gap:14px; }
.topnav a{ color: var(--muted); }
.topnav a:hover{ color: var(--text); }

.hero{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 28px 0 18px;
}
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
}

h1{
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -0.6px;
}
@media (max-width: 420px){
  h1{ font-size: 34px; }
}
.subhead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.pill{
  display:inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(68,240,196,0.28);
  background: rgba(68,240,196,0.08);
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  vertical-align: middle;
}

.trust-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 560px){
  .trust-row{ grid-template-columns: 1fr; }
}
.trust-item{
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}
.trust-title{ font-weight: 700; }
.trust-desc{ color: var(--muted2); font-size: 13px; margin-top: 3px; }

.card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.card-head{
  padding: 16px 16px 14px;
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.card-title{ font-weight: 800; font-size: 16px; }
.card-note{ color: var(--muted2); font-size: 13px; margin-top: 3px; }
.card-body{ padding: 16px; }

.status{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.86);
}

.uploader{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.file-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
}
.file-btn:hover{ background: rgba(255,255,255,0.08); }
.file-btn input{ display:none; }
.file-meta{
  color: var(--muted2);
  font-size: 13px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 360px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .grid{ grid-template-columns: 1fr; }
}

.field label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
  margin-bottom: 7px;
}
.field select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  color: var(--text);
  outline: none;
}
.field select:focus{
  border-color: rgba(68,240,196,0.45);
  box-shadow: 0 0 0 4px rgba(68,240,196,0.10);
}
.hint{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
}

.actions{
  display:flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  padding: 11px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.btn:hover{ background: rgba(255,255,255,0.09); }
.btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(68,240,196,0.22), rgba(43,214,255,0.16));
  border-color: rgba(68,240,196,0.28);
}
.btn.accent{
  background: linear-gradient(135deg, rgba(255,200,87,0.20), rgba(255,92,122,0.16));
  border-color: rgba(255,200,87,0.34);
}
.smallprint{
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.45;
}

.table-wrap{
  overflow:auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
}
.table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.table th, .table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  font-size: 13px;
}
.table th{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
}
.table tbody tr:hover td{
  background: rgba(255,255,255,0.03);
}

.faq{
  margin: 18px 0 40px;
  padding: 0 2px;
}
.faq h2{
  font-size: 18px;
  margin: 22px 0 10px;
}
details{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 12px 12px;
  margin: 10px 0;
}
summary{
  cursor:pointer;
  font-weight: 800;
}
details p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.footer{
  margin: 26px 0 34px;
  border: none;
  box-shadow: none;
  background: transparent;
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 13px;
}
.footer-right{ display:flex; gap: 12px; }
