/* TavernWall v6.3.61 Registration Terms Layout Fix */

.tw-register-card {
    max-width: 720px;
    margin-inline: auto;
}

.tw-register-card .form-stack {
    gap: 12px;
}

/* The global site CSS makes labels display:grid, which breaks checkbox text.
   This override is scoped only to the registration consent row. */
.tw-register-consent {
    border: 1px solid rgba(255, 217, 85, .22);
    border-radius: 14px;
    background: rgba(0, 0, 0, .16);
    padding: 12px 14px;
    margin-top: 2px;
}

.tw-register-consent .tw-consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    color: var(--text, #f1dfb7);
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
}

.tw-register-consent input[type="checkbox"] {
    width: 18px !important;
    min-width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--gold, #ffd955);
    cursor: pointer;
}

.tw-register-consent .tw-consent-label span {
    display: inline;
    min-width: 0;
}

.tw-register-consent a {
    color: var(--gold, #ffd955);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.tw-register-consent a:hover {
    text-decoration: underline;
}

/* Cleaner button spacing on the small auth form. */
.tw-register-card button[type="submit"],
.tw-register-card .button.secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 520px) {
    .tw-register-card {
        margin-inline: 8px;
    }

    .tw-register-consent {
        padding: 11px;
    }

    .tw-register-consent .tw-consent-label {
        gap: 9px;
        line-height: 1.4;
    }

    .tw-register-consent a {
        white-space: normal;
    }
}
