/* Friesland Lease / Leasefiets styling
   - Kleuren volgens huisstijl (FL groen/blauw + lichte blauwe tint als achtergrond)
   - Typografie: Poppins (body). Dax is huisstijl voor koppen maar is vaak licensed; fallback inbegrepen.
*/

:root{
  --fl-green: #22A636;
  --fl-blue:  #0E4094;
  --fl-bg:    #F2F6FF;  /* blauw ~5% tint */
  --card:     #ffffff;

  --text:     rgba(0,0,0,.91);
  --muted:    rgba(0,0,0,.70);

  --border:   rgba(14,64,148,.14);
  --shadow:   0 10px 30px rgba(0,0,0,.08);

  --radius:   16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html, body{
  height: 100%;
  background: var(--fl-bg);
  color: var(--text);
}

body{
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.container{
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* Headings */
h1, h2, h3{
  font-family: "Dax Pro Condensed", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--fl-blue);
}

h1{
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
}

h2{
  margin: 0 0 10px;
  font-size: 22px;
}

p{
  line-height: 1.55;
}

a{
  color: var(--fl-blue);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

/* Layout helpers */
.row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.center{
  display: flex;
  justify-content: center;
  align-items: center;
}

.muted{
  color: var(--muted);
}

/* Buttons */
.btn{
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  transition: transform .06s ease, filter .15s ease, background .15s ease;
}

.btn.primary{
  background: var(--fl-green);
  color: #fff;
}
.btn.primary:hover{ filter: brightness(.96); }
.btn.primary:active{ transform: translateY(1px); }

.btn.secondary{
  background: rgba(14,64,148,.09);
  color: var(--fl-blue);
}
.btn.secondary:hover{ background: rgba(14,64,148,.12); }
.btn.secondary:active{ transform: translateY(1px); }

.btn.danger{
  background:#b42318;
  color:white;
}
.btn.danger:hover{ filter: brightness(.96); }
.btn.danger:active{ transform: translateY(1px); }

.big{
  width: 100%;
  padding: 18px 16px;
  font-size: 20px;
  border-radius: 16px;
}

/* Badge */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14,64,148,.09);
  color: var(--fl-blue);
  font-weight: 650;
}

/* Divider */
hr{
  border: 0;
  border-top: 1px solid rgba(14,64,148,.14);
  margin: 18px 0;
}

/* Table */
table{
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

th, td{
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(14,64,148,.12);
}

th{
  color: var(--fl-blue);
  font-weight: 800;
  background: rgba(14,64,148,.06);
}

/* QR */
.qrimg{
  width: 320px;
  height: 320px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(14,64,148,.12);
}

/* Header with both logos */
.app-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.brand-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-right{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-divider{
  width: 1px;
  height: 30px;
  background: rgba(14,64,148,.18);
}

.app-logo{
  height: 28px; /* >= 25px FL, >= 26px Leasefiets */
  width: auto;
  display: block;
}

.app-title{
  min-width: 0;
}

.app-subtitle{
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* Smaller screens */
@media (max-width: 520px){
  .app-header{
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-right{
    align-self: flex-start;
  }
}

.input{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(14,64,148,.18);
  background: #fff;
  min-width: 240px;
  font-size: 16px;
  outline: none;
}
.input:focus{
  border-color: rgba(14,64,148,.35);
  box-shadow: 0 0 0 4px rgba(14,64,148,.10);
}