.customer-email-prompt {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
    padding: 18px 48px 18px 18px;
    border: 1px solid #cfe0f5;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7fbff 0%, #edf5ff 100%);
    color: #1c2b43;
    box-shadow: 0 5px 18px rgba(23, 65, 120, .06);
}

.customer-email-prompt[hidden] {
    display: none !important;
}

.customer-email-prompt-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #deebff;
    color: #1769aa;
    font-size: 21px;
}

.customer-email-prompt-content {
    min-width: 0;
    flex: 1;
}

.customer-email-prompt-content > strong {
    display: block;
    margin: 1px 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.customer-email-prompt-content > p {
    margin: 0 0 11px;
    color: #5a6b82;
    font-size: 13px;
    line-height: 1.5;
}

.customer-email-prompt-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    max-width: 620px;
}

.customer-email-prompt-form input[type="email"] {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #c8d4e2;
    border-radius: 8px;
    background: #fff;
    color: #253247;
    font-size: 14px;
}

.customer-email-prompt-form button {
    min-height: 42px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: #1769aa;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.customer-email-prompt-form button:hover {
    background: #10578f;
}

.customer-email-prompt-content > small {
    display: block;
    margin-top: 7px;
    color: #718096;
    font-size: 11px;
}

.customer-email-prompt-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #718096;
    cursor: pointer;
}

.customer-email-prompt-dismiss:hover {
    background: rgba(23, 65, 120, .08);
    color: #253247;
}

.customer-email-feedback {
    margin: 0 0 10px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}

.customer-email-feedback.success {
    background: #e5f5ec;
    color: #17633b;
}

.customer-email-feedback.error {
    background: #fdebed;
    color: #9d2d38;
}

@media (max-width: 600px) {
    .customer-email-prompt {
        gap: 10px;
        margin-bottom: 15px;
        padding: 15px 42px 15px 13px;
        border-radius: 12px;
    }

    .customer-email-prompt-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .customer-email-prompt-content > strong {
        padding-right: 4px;
        font-size: 14px;
    }

    .customer-email-prompt-content > p {
        font-size: 12px;
    }

    .customer-email-prompt-form {
        flex-direction: column;
    }

    .customer-email-prompt-form button {
        width: 100%;
    }
}
