.nuzzlabs-whatsapp-wrap {
    position: fixed;
    z-index: 99999;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[data-nlw-open] {
    cursor: pointer;
}

[data-nlw-open]:focus {
    outline: none;
}

/* mensagem inline */
.nlw-inline-msg {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
}

.nlw-inline-msg--hidden {
    display: none;
}

.nlw-inline-msg--error {
    color: #9f0f0f;
}

.nlw-inline-msg--success {
    color: #075E54;
}

.nlw-inline-msg--warn {
    color: #f35d22;
}

/* estado visual do input */
#nlw_email.nlw-input--error {
    outline: 2px solid #9f0f0f;
}

#nlw_email.nlw-input--success {
    outline: 2px solid #075E54;
}

#nlw_email.nlw-input--warn {
    outline: 2px solid #f35d22;

}

.nuzzlabs-whatsapp-wrap-right {
    right: 20px;
    align-items: flex-end;
}

.nuzzlabs-whatsapp-wrap-left {
    left: 20px;
    align-items: flex-start;
}

.nuzzlabs-whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    transition: transform .15s ease, filter .15s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.nuzzlabs-whatsapp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.nuzzlabs-whatsapp-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.nuzzlabs-whatsapp-btn svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* POPUP */

.nlw-popup {
    width: 340px;
    max-width: calc(100vw - 40px);
    background-image: url(https://d335luupugsy2.cloudfront.net/cms/files/18740/1595939276/$ubt4h4q1mvh), linear-gradient(to bottom, rgba(233, 224, 215, 1) 0%, rgba(233, 224, 215, 1) 100%);
    background-position-x: 50%;
    background-position-y: 50%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nlw-popup-header {
    background: #075E54;
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.nlw-popup-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ececec;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.nlw-popup-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nlw-popup-header-info {
    display: flex;
    flex-direction: column;
}

.nlw-popup-header-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.nlw-popup-header-status {
    font-size: 11px;
    opacity: .85;
}

.nlw-popup-header-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.nlw-popup-body {

    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nlw-message-bubble {
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    max-width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    color: #555;
}

.nlw-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.nlw-form-field label {
    font-size: 12px;
    margin-bottom: 4px;
    color: #555;
}

.nlw-form-field input {
    border-radius: 8px;
    border: 1px solid #c5e8cf;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    background: #FFF;
    color: #555;
}

.nlw-form-field input:focus {
    border-color: #25D366;
}

.nlw-popup-footer {
    background: ;
    padding: 10px 12px 12px;
    display: flex;
    justify-content: flex-end;
}

.nlw-start-btn {
    background: #075E54;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nlw-start-btn:hover {
    filter: brightness(1.05);
}

@media (max-width: 480px) {
    .nuzzlabs-whatsapp-wrap-right {
        right: 10px;
    }

    .nuzzlabs-whatsapp-wrap-left {
        left: 10px;
    }

    .nuzzlabs-whatsapp-wrap {
        bottom: 10px;
    }

    .nlw-popup {
        width: calc(100vw - 20px);
    }
}