.fcrm-sg-wrap {
    max-width: 480px;
    margin: 0 0 1.5rem;
}

.fcrm-sg-form-html {
    margin-bottom: 0.75rem;
}

.fcrm-sg-form-html > :first-child {
    margin-top: 0;
}

.fcrm-sg-form-html > :last-child {
    margin-bottom: 0;
}

.fcrm-sg-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fcrm-sg-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fcrm-sg-field--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
}

.fcrm-sg-field--inline .fcrm-sg-input {
    flex: 1 1 200px;
    min-width: 0;
}

.fcrm-sg-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.fcrm-sg-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
}

.fcrm-sg-submit {
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 4px;
    background: #2271b1;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.fcrm-sg-submit:hover:not(:disabled) {
    background: #135e96;
}

.fcrm-sg-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.fcrm-sg-message {
    margin: 0.5rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.fcrm-sg-message.is-success {
    background: #edfaef;
    border: 1px solid #00a32a;
    color: #1e4620;
}

.fcrm-sg-message.is-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #3c1518;
}

.fcrm-sg-message.is-info {
    background: #f0f6fc;
    border: 1px solid #2271b1;
    color: #1d2327;
}

.fcrm-sg-message[hidden] {
    display: none !important;
}

.fcrm-sg-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.fcrm-sg-fine-print {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #646970;
}

.fcrm-sg-wrap--compact .fcrm-sg-title {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

body.fcrm-sg-verify-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    padding: 24px;
    box-sizing: border-box;
}

.fcrm-sg-verify-shell {
    max-width: 420px;
    width: 100%;
    background: #fff;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.fcrm-sg-verify-shell .fcrm-sg-wrap {
    max-width: none;
    margin: 0;
}
