.cdc-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75em;
}

/* Widen labels so text never wraps */
.cdc-row label {
    flex: 0 0 180px; /* was 130px */
    font-weight: bold;
    white-space: nowrap;
}

/* Number field: wide enough for max digits (up to 17) */
.cdc-input-number {
    padding: 0.5em;
    border: 1px solid #ccc;
    width: 18ch; /* approx. 17 digits + caret */
    margin-right: 0.5em;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* Check‑digit box: just one digit */
.cdc-input-checkdigit {
    padding: 0.5em;
    border: 1px solid #ccc;
    width: 5ch;
    margin-right: 0.5em;
    border-radius: 4px;
    box-sizing: border-box;
    background: #f9f9f9;
    text-align: center;
    margin-bottom: 0;
}

/* Error message stays the same */
.cdc-error {
    color: #b00;
    font-size: 0.9em;
    flex: 1;
}
.cdc-calculator p {
    font-size: 20px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    color: #000;
}

.cdc-reset {
    padding: 0.5em 1em;
    margin-right: 0.5em;
    border: 1px solid ##130231;
    background: #130231;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9em;
    color: #fff;
}
.cdc-reset:hover {
    background: #f0f0f0;
    color: #000;
}

/* Info message styling (neutral/bluish) */
.cdc-info {
    color: #00529b;
    background: #bde5f8;
    border: 1px solid #00529b;
    padding: 0.5em;
    border-radius: 4px;
    font-size: 0.9em;
    margin-top: 0.5em;
    display: none; /* hide until needed */
}
.cdc-info.visible {
    display: block;
}
