:root {
    --box-size: 260px;
}



/* Rubrik */
.checkout-header h1 {
    margin: 0 0 60px;
}

/* Swishnummer lugnar ner sig optiskt */
.swish-number {
    font-size: 22px;
    font-weight: 700;
    opacity: 0.92;
}

/* Boxrad */
.header-row {
    display: flex;
    gap: 34px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 22px;
}

/* Gemensam box */
.status-box {
    width: var(--box-size);
    height: var(--box-size);
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    position: relative;
    overflow: visible; /* <-- viktig för texten */
}

/* Trafikljusbox */
.status-box.traffic {
    background: #252525;
    display: flex;
    flex-direction: column;
    padding-top: 28px;
    padding-bottom: 24px; /* mer så texten får plats */
}

.traffic-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-grow: 1;
}

.light {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(120,120,120,0.22);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
    transition: .25s;
}

.light.red.active {
    background: #ff2c2c;
    box-shadow: 0 0 20px rgba(255,0,0,0.9), inset 0 0 10px rgba(0,0,0,0.8);
}

.light.yellow.active {
    background: #ffcb00;
    box-shadow: 0 0 20px rgba(255,200,0,0.9), inset 0 0 10px rgba(0,0,0,0.8);
}

.light.green.active {
    background: #2aff2a;
    box-shadow: 0 0 20px rgba(0,255,0,0.9), inset 0 0 10px rgba(0,0,0,0.8);
}

/* Status-texten */
.message-text {
    margin-top: 10px;
    padding: 12px 14px 18px;
    font-size: 12px;
    line-height: 1.32;
    color: #fff;
    text-align: center;
    border-radius: 0 0 32px 32px;
    max-width: 100%;
}

/* Loggobox */
.status-box.logo {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Traktorloggan – SVART + större */
.status-box.logo::after {
    content: "";
    position: absolute;
    inset: 28px 28px 74px;
    background-image: url("vackbo-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%; /* större logga */
    filter: invert(1)
}

/* VACKBO GÅRD under */
.logo-label {
       text-align: center;
    position: relative;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    /* padding: 10px 12px 18px; */
    color: #0e0e0e;
    letter-spacing: 1px;
    top: -76px;
}
.status-badge {
  position: absolute;
  top: -14px;
  left: 62px;   /* flyttad lite åt vänster */
  padding: 4px 10px;
  background: #fff;      /* vit etikett */
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #000;           /* svart text */
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}



/* Responsiv */
@media (max-width: 700px) {
    :root { --box-size: 220px; }
}

@media (max-width: 500px) {
    :root { --box-size: 180px; }
}
