/* SonoFrance - Géolocalisation IPv4 / IPv6 */
:root {
  font-family: system-ui, Arial, sans-serif;
  color: #193341;
  background: #f3f6f8;
}

* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1240px; margin: 25px auto; padding: 0 15px; }

header,
section {
  background: white;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  padding: 20px;
}
header { margin-bottom: 18px; }
h1 { margin: 0 0 8px; font-size: 1.8rem; }
h2 { font-size: 1.2rem; margin-top: 0; }

.columns {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) minmax(400px, 3fr);
  gap: 18px;
}
.small { color: #526673; font-size: .92rem; }

#map {
  height: 380px;
  background: #e9eff2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 16px 0;
}

form { display: flex; gap: 8px; }
input {
  min-width: 0;
  flex: 1;
  padding: 12px;
  border: 1px solid #a5b4bd;
  border-radius: 7px;
  font-size: 1rem;
}
button {
  padding: 12px 18px;
  background: #ec9f39;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
}
button:disabled { opacity: .65; cursor: wait; }
.error { color: #a71e25; }
.status { min-height: 25px; margin-top: 12px; }

.table-wrap { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th,
td {
  padding: 9px;
  border: 1px solid #dfe6e9;
  text-align: left;
  overflow-wrap: anywhere;
}
th { background: #ffcf97; }
.blue th { background: #b6d7dc; }
.section-title { margin: 22px 0 8px; font-weight: 700; }
.ip-cell { white-space: nowrap; position: relative; }
#ip-flag { font-size: 14px; margin-left: 6px; vertical-align: text-top; }

.ipv6-note { margin: 8px 0 12px; }
.ipv6-table th { background: #d3e6d5; }
.ipv6-table td:first-child { font-weight: 600; }

footer { margin: 25px 0; color: #5e6d77; font-size: .85rem; }

.connection-info { margin-top: 18px; }
.connection-info dl {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 2fr;
  gap: 10px 14px;
  margin: 12px 0;
}
.connection-info dt { font-weight: 700; }
.connection-info dd { margin: 0; overflow-wrap: anywhere; }
.connection-info button { margin-top: 8px; }

.diagnostic { margin-top: 18px; }
.diagnostic dl {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 2fr;
  gap: 10px 14px;
}
.diagnostic dt { font-weight: 700; }
.diagnostic dd { margin: 0; overflow-wrap: anywhere; }
.diagnostic .small { line-height: 1.5; }

@media (max-width: 850px) {
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .connection-info dl { grid-template-columns: 1fr; gap: 3px; }
  .connection-info dd { margin-bottom: 10px; }
}
#traceroute-section {
    margin-top: 18px;
}

#traceroute-start {
    margin: 12px 0;
}

.traceroute-table th {
    background: #b6d7dc;
}

.traceroute-table td:first-child {
    font-weight: 700;
    width: 65px;
}

#traceroute-status.error {
    color: #a71e25;
}

@media (max-width: 640px) {
    .traceroute-table {
        font-size: .82rem;
    }

    .traceroute-table th,
    .traceroute-table td {
        padding: 7px;
    }
}.cookiebanner{z-index:20} 