/* ============================
   GTIN CHECK DIGIT
   ============================ */

/* HEADER */
.header {
    text-align: center;
    margin-bottom: 36px;
}

.header h1 {
    margin: 0;
    font-size: 56px;
    font-family: "omnes-semicond", sans-serif;
    font-weight: 700;
    color: #021738;
}

.header p {
    margin-top: 10px;
    font-size: 18px;
    color: #628395;
}

/* CARD */
.tool-card {
    background: #f5f3ef;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.tool-card-large {
    max-width: 520px;
    margin: 0 auto;
}

/* FORM */
.tool-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.tool-card input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c7d2e0;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 16px;
    font-family: "Nunito", system-ui, sans-serif;
}

.tool-card input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
}

/* PRIMARY BUTTON */
button.primary {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Nunito", system-ui, sans-serif;
    cursor: pointer;
    transition: background 0.15s ease;
}

button.primary:hover {
    background: #2563eb;
}

/* RESULT GRID */
.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-top: 10px;
}

.result-grid .k {
    font-weight: 600;
    color: #6b7280;
}

.result-grid .v {
    color: #111827;
}

/* STATUS */
.v.valid {
    color: #065f46;
    font-weight: 700;
}

.v.invalid {
    color: #7f1d1d;
    font-weight: 700;
}

/* BACK LINK */
.back-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* ============================
   CARD FOOTER
   ============================ */

.card-footer {
    margin-top: 24px;
    text-align: left;
}

