.canny-code-redemption {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #f0f0f1;
    border-radius: 5px;
    padding: 20px;
}

.canny-code-redemption__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.canny-code-redemption__label.hidden {
    display: none;
}

.canny-code-redemption__field {
    padding: 12px;
    border: 1px solid var(--color--theme-border, #e8e8e8);
    border-radius: var(--global-border-radius, 8px);
    font-size: var(--wp--preset--font-size--normal, 16px);
    width: 100%;
    box-sizing: border-box;
}

.canny-code-redemption__submit-button {
    padding: 12px 24px;
    background-color: #fff;
    color: #7729c4;
    border: 2px solid #7729c4;
    border-radius: var(--global-border-radius, 8px);
    cursor: pointer;
    font-size: var(--wp--preset--font-size--normal, 16px);
    transition: all 0.3s ease;
}

.canny-code-redemption__submit-button:hover {
    background-color: #7729c4;
    color: #fff;
}

.canny-code-redemption__submit-button:disabled {
    background-color: var(--color-theme-grey, #6F7F92);
    cursor: not-allowed;
}

.canny-code-redemption__message {
    padding: 12px;
    border-radius: var(--global-border-radius, 8px);
    text-align: center;
    font-weight: 500;
}

.canny-code-redemption__message--success {
    background-color: var(--color-theme-success-light, #cdfff2);
    color: var(--color-theme-success-dark, #029f76);
    border: 1px solid var(--color-theme-success, #00c792);
}

.canny-code-redemption__message--error {
    background-color: var(--color-theme-danger-light, #fff0f0);
    color: var(--color-theme-danger-dark, #f23737);
    border: 1px solid var(--color-theme-danger, #f14646);
}

/* Preview in editor */
.canny-code-redemption-preview {
    background: #f0f0f1;
    padding: 20px;
    text-align: center;
    border: 2px dashed #999;
    border-radius: 5px;
}