/* 1. GLOBAL STYLES & BACKGROUND */
:root {
  --kiu-green: hsl(142 71% 45%);
  --background-grey: #e9e9e9;
  --stripe-grey: #d9d9d9;
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-grey);
  background-image: repeating-linear-gradient(
    135deg,
    var(--background-grey) 0,
    var(--background-grey) 6px,
    var(--stripe-grey) 6px,
    var(--stripe-grey) 12px
  );
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 2. LAYOUT WRAPPERS */
.min-h-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; }

/* Faux Address Bar Styling */
.address-bar {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 8px;
  margin-top: 20px;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.address-pill {
  background: #f3f4f6;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
}

/* 3. THE CARD */
.card {
  background: white;
  width: 95%;
  max-width: 380px;
  padding: 30px 20px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.logo-wrap { margin-bottom: 20px; }
.logo { width: 220px; height: auto; }

/* Status Circle */
.status-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 32px;
}
.status-circle--ok { background-color: var(--kiu-green); }

.heading { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.subheading { font-size: 14px; color: var(--text-muted); margin-bottom: 25px; }

/* 4. DETAILS TABLE */
.details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  text-align: left;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: 10px 15px;
  font-size: 13px;
  border-bottom: 1px solid #f3f4f6;
}
.row:last-child { border-bottom: none; }
.row--grey { background-color: #f9fafb; }

.row-label { color: var(--text-muted); font-weight: 500; }
.row-value { color: var(--text-main); font-weight: 600; }

/* 5. FOOTER & BADGE */
.validity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 15px;
  color: var(--text-muted);
}

.badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: bold;
}
.badge--ok { background-color: #dcfce7; color: #166534; }

.footer-text {
  margin-top: 25px;
  font-size: 11px;
  color: var(--kiu-green);
  border-top: 1px solid #f3f4f6;
  padding-top: 15px;
}
