.smartapp-wafomo {
    position: fixed;
    z-index: 9999;
    max-width: 280px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    display: none;
}

.smartapp-wafomo.bottom-right {
    bottom: 20px;
    right: 20px;
}

.smartapp-wafomo.bottom-left {
    bottom: 20px;
    left: 20px;
}

.smartapp-wafomo-content {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.85) 0%, rgba(18, 140, 126, 0.85) 100%);
    color: white;
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smartapp-wafomo-content:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, rgba(18, 140, 126, 0.9) 0%, rgba(7, 94, 84, 0.9) 100%);
}

.smartapp-wafomo-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.smartapp-wafomo-content:hover:before {
    opacity: 1;
}

.smartapp-wafomo-content:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 2;
}

.smartapp-wafomo-content:hover:after {
    opacity: 1;
    transform: scale(1);
}

.smartapp-wafomo-text {
    position: relative;
    z-index: 3;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    flex: 1;
    margin-right: 10px;
    letter-spacing: 0.2px;
}

.smartapp-wafomo-button {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.smartapp-wafomo-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.smartapp-wafomo-button:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.031 6.172c-3.181 0-5.767 2.586-5.768 5.766-.001 1.298.38 2.27 1.019 3.287l-.582 2.128 2.182-.573c.978.58 1.911.928 3.145.929 3.178 0 5.767-2.587 5.768-5.766.001-3.187-2.575-5.77-5.764-5.771zm3.392 8.244c-.144.405-.837.774-1.17.824-.299.045-.677.063-1.092-.069-.252-.08-.575-.187-.988-.365-1.739-.751-2.874-2.502-2.961-2.617-.087-.116-.708-.94-.708-1.793s.448-1.273.607-1.446c.159-.173.346-.217.462-.217l.332.006c.106.005.249-.04.39.298.144.347.491 1.2.534 1.287.043.087.072.188.014.304-.058.116-.087.188-.173.289l-.26.304c-.087.086-.177.18-.076.354.101.174.449.741.964 1.201.662.591 1.221.774 1.394.86s.274.072.376-.043c.101-.116.433-.506.549-.68.116-.173.231-.145.39-.087s1.011.477 1.184.564c.173.087.289.129.332.202.043.073.043.423-.101.828z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

/* Animasi */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.smartapp-wafomo.show {
    display: block;
    animation: fadeInUp 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.smartapp-wafomo.bottom-left.show {
    animation: fadeInLeft 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.smartapp-wafomo-content {
    animation: pulse 3s infinite, float 4s ease-in-out infinite;
}

/* Responsif */
@media (max-width: 768px) {
    .smartapp-wafomo {
        max-width: 260px;
    }
    
    .smartapp-wafomo.bottom-right {
        bottom: 15px;
        right: 15px;
    }
    
    .smartapp-wafomo.bottom-left {
        bottom: 15px;
        left: 15px;
    }
    
    .smartapp-wafomo-content {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .smartapp-wafomo-button {
        padding: 4px 10px;
        font-size: 11px;
        min-width: 50px;
    }
    
    .smartapp-wafomo-button:before {
        width: 12px;
        height: 12px;
    }
} 