.ae-notify-wrapper {
    display: inline-block;
    position: relative;
    --ae-notify-color: #ff6600;
}

/* Trigger button */
.ae-notify-wrapper .ae-notify-open {
    background: var(--ae-notify-color, #ff6600);
    color: #ffffff;
    border: none;
    padding: 0.7em 1.6em;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ae-notify-wrapper .ae-notify-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    background: #000000;
}

/* Modal overlay */
.ae-notify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Modal panel */
.ae-notify-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Close button */
.ae-notify-modal .ae-notify-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.ae-notify-modal .ae-notify-close:hover {
    color: #111;
}

/* Heading & text */
.ae-notify-modal h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: #111;
}

.ae-notify-modal p {
    margin: 0 0 16px;
    color: #555;
    font-size: 0.95rem;
}

/* Form */
.ae-notify-modal .ae-notify-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-notify-modal .ae-notify-form label {
    font-size: 0.85rem;
    color: #555;
}

.ae-notify-modal .ae-notify-form input[type="email"] {
    border-radius: 999px;
    border: 1px solid #ddd;
    padding: 0.6em 0.9em;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
}

.ae-notify-modal .ae-notify-form input[type="email"]:focus {
    border-color: var(--ae-notify-color, #ff6600);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.15);
}

/* Submit */
.ae-notify-modal .ae-notify-form button[type="submit"] {
    margin-top: 6px;
    border-radius: 999px;
    border: none;
    padding: 0.65em 1.3em;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--ae-notify-color, #ff6600);
    color: #ffffff;
    align-self: flex-start;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ae-notify-modal .ae-notify-form button[type="submit"]:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* Loading state (optional – you can animate this if you like) */
.ae-notify-modal .ae-notify-form.ae-notify-loading button[type="submit"] {
    opacity: 0.7;
    pointer-events: none;
}

/* Messages */
.ae-notify-modal .ae-notify-message {
    margin-top: 8px;
    font-size: 0.85rem;
}

.ae-notify-modal .ae-notify-message.ae-notify-success {
    color: #0a7c2f;
}

.ae-notify-modal .ae-notify-message.ae-notify-error {
    color: #b00020;
}

/* Small screens */
@media (max-width: 480px) {
    .ae-notify-modal {
        padding: 20px 18px 16px;
    }
}
