/*
 * File: layout/ctycheck.css
 * File Function: Isolated modern skin for ctycheck/ctychk (only inside #ctycheck)
 * Timestamp: 08.01.2026 18:21 CET
 * Author: Mario H. Fietz, DL4MFM + Assist
 *
 * History:
 * - 08-JAN-2026  Initial version
 */

#ctycheck {
  --cc-line: rgba(0,0,0,.14);
  --cc-soft: rgba(0,0,0,.06);
  --cc-text: #1b1f24;
  --cc-muted: rgba(0,0,0,.65);
  --cc-radius: 14px;
}

#ctycheck #gmaieshadowbox{
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--cc-radius);
}

#ctycheck .cc-header{ text-align:center; padding: 6px 0 2px 0; }
#ctycheck .cc-header h2{ margin: 6px 0 0 0; font-weight: 700; letter-spacing: .2px; }
#ctycheck .cc-sub{ margin-top: 2px; opacity: .75; }

#ctycheck .cc-body{ padding: 6px 0 0 0; }

#ctycheck fieldset.cc-card{
  border: 1px solid var(--cc-line) !important;
  border-radius: var(--cc-radius);
  background: #fff;
}

#ctycheck fieldset.cc-card legend{
  padding: 2px 10px;
  border: 1px solid var(--cc-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

#ctycheck .cc-row{
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

#ctycheck .cc-field{ display:flex; flex-direction:column; gap:4px; }
#ctycheck .cc-small{ font-size: 12px; opacity: .85; }

#ctycheck #ycall{
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  padding: 6px 10px;
  outline: none;
}
#ctycheck #ycall:focus{
  box-shadow: 0 0 0 4px rgba(0,173,239,.18);
}

#ctycheck .cc-btnrow{ display:flex; gap:8px; align-items:center; }
#ctycheck .cc-right{ display:flex; flex-direction:column; gap:6px; align-items:flex-start; }

#ctycheck .cc-error{ min-height: 18px; margin-top: 6px; color:#b00; font-size: 12px; text-align:left; }

#ctycheck .cc-quick{ margin-top: 10px; }
#ctycheck .cc-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border: 1px solid var(--cc-line);
  background: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  text-decoration:none;
}
#ctycheck .cc-chip:hover{ transform: translateY(-1px); }

#ctycheck .cc-actions{ display:flex; gap:8px; justify-content:flex-start; margin: 6px 0 10px 0; }

#ctycheck .cc-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 860px){
  #ctycheck .cc-grid{ grid-template-columns: 1.15fr .85fr; align-items:start; }
}

#ctycheck table[border='1']{
  border: 1px solid var(--cc-line) !important;
  border-radius: 12px;
  overflow: hidden;
}

#ctycheck table[border='1'] td{
  border-color: var(--cc-soft) !important;
  color: var(--cc-text);
}

#ctycheck td.spot_d{ background: #f6f7f9; }
#ctycheck td.spot_l{ background: #ffffff; }

#ctycheck .cc-flag img{ vertical-align: middle; }

/* Copy icon button (replaces big "Copy" buttons) */
#ctycheck .cc-copy{
  border: 0;
  background: transparent;
  padding: 2px 6px;
  margin-left: 6px;
  cursor: pointer;
  opacity: .65;
}
#ctycheck .cc-copy:hover{ opacity: 1; }
#ctycheck .cc-copy svg{ width: 16px; height: 16px; vertical-align: -3px; }

#ctycheck .cc-rightpane img[alt='map'],
#ctycheck .cc-rightpane img[alt='locator']{
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border: 1px solid var(--cc-line);
}

#ctycheck .cc-bottombtns{
  margin-top: 18px;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

#ctycheck .cc-note{ margin-top: 10px; opacity:.8; }
