.helix-unsubscribe-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.helix-unsubscribe-wrapper h2 {
    margin-bottom: 25px;
}

.helix-unsubscribe-field {
    margin-bottom: 20px;
}

.helix-unsubscribe-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.helix-unsubscribe-field input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

#helix-unsubscribe-button {
    padding: 12px 25px;
    cursor: pointer;
}

#helix-unsubscribe-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.helix-unsubscribe-message {
    margin-top: 15px;
}

.helix-unsubscribe-message.error {
    color: #b42318;
}

.helix-unsubscribe-success {
    text-align: center;
}

.helix-unsubscribe-success p {
    margin-bottom: 10px;
}

.helix-unsubscribe-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.helix-unsubscribe-wrapper *,
.helix-unsubscribe-wrapper *::before,
.helix-unsubscribe-wrapper *::after {
    box-sizing: border-box;
}

#helix-unsubscribe-form {
    width: 100%;
    max-width: 560px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Heading */

#helix-unsubscribe-form h2 {
    margin: 0 0 28px;
    color: #172033;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Field */

.helix-unsubscribe-field {
    margin-bottom: 20px;
}

.helix-unsubscribe-field label {
    display: block;
    margin-bottom: 8px;
    color: #475467;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

#helix-unsubscribe-email {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    background: #f8fafc;
    color: #667085;
    font-size: 15px;
    outline: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button */

#helix-unsubscribe-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: #e74439;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

#helix-unsubscribe-button:hover {
    background: #b91c1c;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.22);
}

#helix-unsubscribe-button:active {
    transform: translateY(1px);
}

#helix-unsubscribe-button:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.2);
    outline-offset: 2px;
}

/* Error message */

.helix-unsubscribe-message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.helix-unsubscribe-message{
    display: none;
}
.helix-unsubscribe-message.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    display: block;
    color: #e74439;
    font: 400 14px 'Raleway', sans-serif;
}

/* Mobile */

@media (max-width: 480px) {
    .helix-unsubscribe-wrapper {
        padding: 16px;
    }

    #helix-unsubscribe-form {
        padding: 26px 20px;
        border-radius: 14px;
    }

    #helix-unsubscribe-form h2 {
        margin-bottom: 24px;
        font-size: 22px;
    }
}