/* v 260506.0815 */

:root {
    --bg: #f4f6f8;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #667085;
    --accent: #0b6efd;
    --border: #d0d7de;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.site-header {
    padding: 28px 16px;
    text-align: center;
    background: #14213d;
    color: white;
}

.site-header h1 {
    margin: 0;
    font-size: 2rem;
}

.site-header p {
    margin: 8px 0 0;
    color: #dbe4ff;
}

.app {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
}

.controls,
.status,
.results-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: end;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: bold;
}

select,
button {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

button {
    cursor: pointer;
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.status {
    color: var(--muted);
}

.brand-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-logo.missing {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: #f8fafc;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
}

.directions {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #198754;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.version {
    position: fixed;
    left: 6px;
    bottom: 4px;
    font-size: 0.7rem;
    color: transparent;
}

footer:hover .version {
    color: #999;
}

@media (max-width: 720px) {
    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        border-bottom: 2px solid var(--border);
        padding: 10px 0;
    }

    td {
        border-bottom: none;
        padding: 6px 0;
    }
}

input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

/* HEADER */

.site-header {
  padding: 26px 20px;
  background: #10224a;
}

.brand-lockup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

/* LOGO */

.brand-icon {
  width: 128px;
  height: auto;
  display: block;
}

/* TEXT BLOCK */

.brand-stack {
  width: 520px;     /* KEY: fixed visual width */
  color: white;
  margin-left: -24px;
}

/* PPF */

.brand-stack h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.9;
  letter-spacing: 0.03em;
  font-weight: 800;
}

/* PETROL PRICE FINDER */

.brand-subtitle {
  margin-top: 4px;

  font-size: 1.05rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;

  white-space: nowrap;
}

/* TAGLINE */

.tagline {
  margin-top: 22px;

  font-size: 1rem;
  opacity: 0.85;

  text-align: center;
}

@media (max-width: 700px) {

  .brand-lockup {
    flex-direction: column;
    gap: 18px;
  }

  .brand-stack {
    width: 100%;
    text-align: center;
  }

  .brand-stack h1 {
    font-size: 4rem;
  }

  .brand-subtitle {
    letter-spacing: 0.22em;
    font-size: 0.85rem;
  }

  .tagline {
    margin-top: 16px;
  }

  .brand-icon {
    width: 110px;
  }
}