/* Main Wrapper */
.ns-wrapper {
    width: 100%;
    margin: 0;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    /* fallback */
    box-sizing: border-box;
    padding: 0;
}

/* Flex Container for Input and Button */
.ns-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #8e44ad;
    /* Purple shade, adjustable */
    border-radius: 6px;
    /* Rounded corners */
    padding: 5px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.ns-input-group:focus-within {
    box-shadow: 0 0 5px rgba(142, 68, 173, 0.3);
}

/* Input Field */
.ns-input-group input[type="email"] {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    background: transparent;
    text-transform: uppercase;
    /* Matches 'ENTER YOUR EMAIL' style usually */
    letter-spacing: 0.5px;
}

.ns-input-group input[type="email"]::placeholder {
    color: #008080;
    /* Teal-ish color for placeholder if needed, or keeping standard gray. 
                       Reference usually implies distinct placeholder color. 
                       I will use a dark teal #176B87 or just grey. 
                       Let's stick to a clean grey #888 for now unless specific color requested.*/
    text-transform: uppercase;
    color: #007c91;
    /* Guessing a teal color based on typical 'modern' designs or the user's prompt hints if any */
}

/* Button */
.ns-input-group button {
    background-color: #8e44ad;
    /* Purple */
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    /* Slightly less than container to fit nicely */
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin-left: 5px;
}

.ns-input-group button:hover {
    background-color: #732d91;
}

.ns-input-group button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Messages */
.ns-message {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    min-height: 20px;
}

.ns-message.success {
    color: #27ae60;
}

.ns-message.error {
    color: #c0392b;
}

/* Responsive */
/* Responsive */
@media (max-width: 480px) {

    /* Keep the same structure, just adjust spacing/size */
    .ns-input-group {
        padding: 3px;
        /* Slightly less padding */
    }

    .ns-input-group input[type="email"] {
        padding: 10px;
        /* Slightly smaller padding */
        font-size: 13px;
        /* Slightly smaller font */
        min-width: 0;
        /* Allow shrinking */
    }

    .ns-input-group button {
        padding: 10px 15px;
        /* Smaller button */
        font-size: 13px;
    }
}

/* Turnstile Widget - Right Aligned */
.cf-turnstile {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
}