/* floating-wpp.css - Custom Premium WhatsApp Widget */
.wa-widget-container {
    position: fixed;
    bottom: 25px;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wa-button {
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    animation: wa-pulse 2s infinite;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.wa-button:hover {
    transform: scale(1.08);
    animation: none;
}

.wa-button svg {
    width: 100%;
    height: 100%;
    fill: white;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-popup {
    position: absolute;
    bottom: 75px;
    width: 320px;
    background-color: #e5dad5;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.wa-widget-container.wa-left .wa-popup {
    left: 0;
    right: auto;
    transform-origin: bottom left;
}
.wa-widget-container.wa-right .wa-popup {
    right: 0;
    left: auto;
    transform-origin: bottom right;
}

.wa-popup.wa-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-header {
    background-color: #075E54;
    padding: 15px;
    display: flex;
    align-items: center;
    color: white;
}

.wa-header-img {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.wa-header-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.wa-header-info {
    flex: 1;
}

.wa-header-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.wa-header-status {
    font-size: 13px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.2;
}

.wa-header-close {
    cursor: pointer;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.wa-header-close:hover {
    opacity: 1;
}

.wa-header-close svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.wa-body {
    padding: 20px 15px;
    background-color: #e5dad5;
    background-image: radial-gradient(#d4c9c3 1px, transparent 1px);
    background-size: 15px 15px;
    height: 160px;
    overflow-y: auto;
}

.wa-bubble {
    background-color: white;
    padding: 10px 12px;
    border-radius: 0 8px 8px 8px;
    font-size: 14.5px;
    color: #111;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 85%;
    line-height: 1.4;
    word-wrap: break-word;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid white;
    border-left: 8px solid transparent;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}

.wa-footer {
    background-color: #f0f0f0;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.wa-input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.wa-send {
    background-color: #008f82;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
    border: none;
    color: white;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.wa-send:hover {
    background-color: #007a6e;
}

.wa-send svg {
    width: 18px;
    height: 18px;
    fill: white;
    margin-left: -2px;
}
