.nx-call-widget-container {
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.nx-call-widget-container:hover {
    transform: scale(1.1);
}


.nx-call-widget-icon {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden; 
    background-color: #0073aa; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-call-widget-icon img {
    display: block;
    max-width: 60%; 
    max-height: 60%;
    height: auto;
    filter: brightness(0) invert(1); 
}



@keyframes nx-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
}


@keyframes nx-pulse-puff {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 115, 170, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0);
    }
}


@keyframes nx-pulse-shadow {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}

@keyframes nx-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes nx-tada {
  from { transform: scale3d(1, 1, 1); }
  10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to { transform: scale3d(1, 1, 1); }
}


.nx-animation-pulse {
    animation: nx-pulse 2s infinite;
}

.nx-animation-pulse-puff {
    animation: nx-pulse-puff 2s infinite;
}

.nx-animation-pulse-shadow {
    animation: nx-pulse-shadow 1.5s infinite; 
}

.nx-animation-shake {
    animation: nx-shake 0.82s cubic-bezier(.36,.07,.19,.97) both infinite;
    transform: translate3d(0, 0, 0);
}

.nx-animation-tada {
    animation: nx-tada 1s infinite;
}



.nx-call-widget-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); 
}

.nx-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    cursor: pointer;
    animation: nx-fade-in 0.3s ease-out;
}

@keyframes nx-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nx-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98); 
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nx-popup-content {
    position: relative;
    background: #ffffff; 
    padding: 30px 35px; 
    
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07); 
    z-index: 10001;
    max-width: 420px; 
    width: 90%;
    text-align: center;
    animation: nx-slide-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
    border: none; 
}

.nx-popup-close {
    position: absolute;
    top: -8px; 
    right: -8px; 
    font-size: 24px; 
    line-height: 1;
    color: #999; 
    background: #fff; 
    border: none;
    cursor: pointer;
    padding: 8px; 
    transition: all 0.25s ease;
    border-radius: 50%;
    width: 40px; 
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-popup-close:hover {
    color: #111; 
    background-color: rgba(255,255,255,0.9); 
    transform: rotate(90deg); 
}

.nx-popup-content h3 {
    margin-top: 0; 
    margin-bottom: 20px;
    font-size: 1.5em; 
    color: #333; 
    font-weight: 600;
    line-height: 1.3;
}


.nx-popup-description {
    margin-bottom: 25px;
    color: #666; 
    font-size: 1em; 
    line-height: 1.6; 
    text-align: left;
}

.nx-popup-description p {
    margin-bottom: 12px; 
}

.nx-popup-description p:last-child {
    margin-bottom: 0;
}


#nx-call-widget-form {
    margin-top: 20px; 
}

#nx-call-widget-form .nx-form-group {
    text-align: left;
    position: relative; 
}


#nx-call-widget-form .nx-form-group-floating {
    margin-bottom: 20px; 
}
    

#nx-call-widget-form label {
    display: block;
    margin-bottom: 8px; 
    font-weight: 500; 
    color: #555;
    font-size: 0.95em; 
}


#nx-call-widget-form .nx-form-group-floating label {
    position: absolute;
    top: 12px; 
    left: 15px; 
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: transparent; 
    padding: 0 5px; 
}

#nx-call-widget-form .nx-form-group-floating input[type="tel"]:focus + label,
#nx-call-widget-form .nx-form-group-floating input[type="tel"]:not(:placeholder-shown) + label {
    top: -10px; 
    left: 10px;
    font-size: 0.75em;
    color: #0073aa; 
    background-color: #fff; 
}

#nx-call-widget-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    box-sizing: border-box;
    font-size: 1em; 
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03); 
    background-color: #f9f9f9; 
    line-height: 1.3;
}

#nx-call-widget-form input[type="tel"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2), inset 0 1px 2px rgba(0,0,0,0.03); 
    outline: none;
    background-color: #fff;
}

#nx-call-widget-form .nx-submit-button {
   /* background: #0073aa; 
    color: white; */
    padding: 12px 20px; 
    border: none;
    border-radius: 8px; 
    cursor: pointer;
    font-size: 1.05em; 
    font-weight: 600;
    width: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    text-transform: none; 
    letter-spacing: 0.2px; 
    line-height: 1.3;
}

#nx-call-widget-form .nx-submit-button:hover {
 /*   background: #005d8c;  */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transform: translateY(-2px); 
}

#nx-call-widget-form .nx-submit-button:active {
    transform: translateY(0px); 
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
   /*    background: #00507a;  */
}

#nx-call-widget-form .nx-submit-button:disabled {
    background: #d1d1d1; 
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


.nx-form-message {
    margin-top: 15px; 
    padding: 10px 15px; 
    border-radius: 8px; 
    font-size: 0.95em; 
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
    animation: nx-fade-in 0.3s ease-out;
    text-align: left; 
}

.nx-form-message.success {
    background-color: #e6f7f0; 
    border-left: 4px solid #28a745; 
    color: #155724; 
}

.nx-form-message.error {
    background-color: #f8d7da; 
    border-left: 4px solid #dc3545; 
    color: #721c24; 
}


.nx-hp-field-class { 
    position: absolute !important;
    left: -5000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
