/* Frontend Styles for NLH WAT Floating Contact Plugin */

#nlh-wat-floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nlh-wat-contact-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.nlh-wat-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.nlh-wat-contact-button i {
    font-size: 16px;
}

.nlh-wat-contact-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 320px;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.nlh-wat-contact-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.nlh-wat-contact-menu::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.nlh-wat-contact-item {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
    gap: 12px;
}

.nlh-wat-contact-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    text-decoration: none;
    color: #333;
}

.nlh-wat-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.nlh-wat-contact-info {
    flex: 1;
}

.nlh-wat-contact-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #2c3e50;
}

.nlh-wat-contact-desc {
    font-size: 12px;
    color: #7f8c8d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #nlh-wat-floating-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .nlh-wat-contact-menu {
        min-width: 280px;
        right: -20px;
    }
    
}

/* ping chop nhay */
.nlh-wat-contact-button .dot-ping {
    width: 14px;
    height: 14px;
    border-radius: 9999999px;
    position: absolute;
    top: 0px;
    right: -4px;
}

.nlh-wat-contact-button .ping {
    animation: ping 1s 
cubic-bezier(0, 0, 0.2, 1) infinite;
    width: 14px;
    height: 14px;
    border-radius: 9999999px;
    background-color: red;
    position: absolute;
    opacity: .9;
}

.nlh-wat-contact-button .dot {
    background-color: red;
    width: 14px;
    height: 14px;
    border-radius: 9999999px;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
/* ping chop nhay end */