/* WhatsApp Button Wrapper */
.oren-wa-button-wrapper {
    display: inline-block;
    margin: 20px 0;
}

/* Default Button Style */
.oren-wa-button.oren-wa-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.oren-wa-button.oren-wa-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.oren-wa-button.oren-wa-default:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Icon */
.oren-wa-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    fill: currentColor;
}

/* Custom Image Button */
.oren-wa-button.oren-wa-custom-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.oren-wa-button.oren-wa-custom-image:hover img {
    transform: scale(1.05);
}

/* ========== FLOATING BUTTON STYLES ========== */

.oren-wa-floating-container {
    position: fixed;
    z-index: 9999;
}

/* Positions */
.oren-wa-floating-bottom-right {
    bottom: 20px;
    right: 20px;
}

.oren-wa-floating-bottom-left {
    bottom: 20px;
    left: 20px;
}

.oren-wa-floating-top-right {
    top: 100px;
    right: 20px;
}

.oren-wa-floating-top-left {
    top: 100px;
    left: 20px;
}

/* Floating Button */
.oren-wa-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.oren-wa-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.oren-wa-animate-pulse {
    animation: pulse 2s infinite;
}

.oren-wa-animate-shake {
    animation: shake 3s infinite;
}

.oren-wa-animate-bounce {
    animation: bounce 2s infinite;
}

.oren-wa-animate-rotate {
    animation: rotate 4s linear infinite;
}

.oren-wa-animate-none {
    animation: none;
}

/* Department buttons - horizontal slide */
.oren-wa-dept-buttons {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

/* Position for BOTTOM-RIGHT */
.oren-wa-floating-bottom-right .oren-wa-dept-buttons {
    flex-direction: row-reverse;
    right: 70px;
    bottom: 10px;
}

/* Position for BOTTOM-LEFT */
.oren-wa-floating-bottom-left .oren-wa-dept-buttons {
    flex-direction: row;
    left: 70px;
    bottom: 10px;
}

/* Position for TOP-RIGHT */
.oren-wa-floating-top-right .oren-wa-dept-buttons {
    flex-direction: row-reverse;
    right: 70px;
    top: 10px;
}

/* Position for TOP-LEFT */
.oren-wa-floating-top-left .oren-wa-dept-buttons {
    flex-direction: row;
    left: 70px;
    top: 10px;
}

/* Individual department button */
.oren-wa-dept-btn {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    padding: 5px !important;
}

.oren-wa-dept-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
}

.oren-wa-dept-btn svg {
    margin-bottom: 2px !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}

.oren-wa-dept-btn span {
    font-size: 9px !important;
    font-weight: bold !important;
    color: #333 !important;
    text-align: center !important;
    line-height: 1.1 !important;
    max-width: 50px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Responsive */
@media (max-width: 768px) {
    .oren-wa-button.oren-wa-default {
        font-size: 16px;
        max-width: 100%;
    }
    
    .oren-wa-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .oren-wa-floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .oren-wa-floating-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .oren-wa-dept-btn {
        width: 55px !important;
        height: 55px !important;
    }
}

@media (max-width: 480px) {
    .oren-wa-button.oren-wa-default {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .oren-wa-button.oren-wa-custom-image img {
        max-width: 280px;
    }
    
    .oren-wa-floating-bottom-right,
    .oren-wa-floating-bottom-left {
        bottom: 15px;
    }
    
    .oren-wa-floating-bottom-right {
        right: 15px;
    }
    
    .oren-wa-floating-bottom-left {
        left: 15px;
    }
}