/* Custom Chat Popup Styles - assets/style.css */

/* Widget Container */
.ccp-widget {
    position: fixed;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ccp-bottom-right {
    bottom: 30px;
    right: 30px;
}

.ccp-bottom-left {
    bottom: 30px;
    left: 30px;
}

.ccp-top-right {
    top: 30px;
    right: 30px;
}

.ccp-top-left {
    top: 30px;
    left: 30px;
}

/* Toggle Button */
.ccp-toggle-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 cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.ccp-toggle-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.ccp-toggle-btn:hover:before {
    transform: scale(1);
}

.ccp-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ccp-toggle-btn svg {
    transition: transform 0.3s ease;
}

.ccp-widget.active .ccp-toggle-btn svg {
    transform: rotate(45deg);
}

/* Animations */
.ccp-bounce .ccp-toggle-btn {
    animation: ccp-bounce 2s infinite;
}

.ccp-pulse .ccp-toggle-btn {
    animation: ccp-pulse 2s infinite;
}

.ccp-shake .ccp-toggle-btn {
    animation: ccp-shake 0.5s ease-in-out infinite;
}

@keyframes ccp-bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes ccp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes ccp-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

/* Popup Container - Vertical logo layout like in reference image */
.ccp-popup-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: auto;
    min-width: 60px;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    border: none !important;
    padding: 0 !important;
}

.ccp-bottom-left .ccp-popup-container {
    left: 0;
    right: auto;
}

.ccp-top-right .ccp-popup-container,
.ccp-top-left .ccp-popup-container {
    bottom: auto;
    top: 80px;
}

.ccp-widget.active .ccp-popup-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Popup Header - Hidden for simplified design */
.ccp-popup-header {
    display: none;
}

.ccp-close-btn {
    display: none;
}

/* Popup Body - Vertical stack layout matching reference image */
.ccp-popup-body {
    padding: 0 !important;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ccp-popup-body::-webkit-scrollbar {
    width: 4px;
}

.ccp-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ccp-popup-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.ccp-popup-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Platform Buttons - Logo only, no background */
.ccp-platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 56px;
    height: 56px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    flex-shrink: 0;
}

.ccp-platform-btn:hover {
    transform: scale(1.1);
    box-shadow: none;
}

.ccp-platform-icon {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
}

.ccp-platform-icon svg {
    width: 56px;
    height: 56px;
    color: #ffffff;
    filter: none;
}

.ccp-platform-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}

.ccp-platform-info {
    display: none;
}

.ccp-platform-name {
    display: none;
}

.ccp-platform-status {
    display: none;
}

/* Mobile Responsive - Logo only layout */
@media (max-width: 480px) {
    .ccp-popup-container {
        width: auto;
        min-width: 50px;
        bottom: 70px;
        right: 10px;
    }
    
    .ccp-platform-btn {
        width: 50px;
        height: 50px;
    }
    
    .ccp-platform-icon img {
        width: 50px;
        height: 50px;
    }
    
    .ccp-popup-body {
        gap: 10px;
    }
}

/* Loading State */
.ccp-widget.loading .ccp-toggle-btn {
    animation: ccp-spin 1s linear infinite;
}

@keyframes ccp-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility */
.ccp-toggle-btn:focus,
.ccp-close-btn:focus,
.ccp-platform-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Dark Mode Support - No background needed for logo-only design */
@media (prefers-color-scheme: dark) {
    .ccp-popup-container {
        background: transparent !important;
        border: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
    
    .ccp-popup-body {
        background: transparent !important;
        border: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
    
    .ccp-platform-name {
        display: none;
    }
    
    .ccp-platform-status {
        display: none;
    }
}

/* RTL Support */
.rtl .ccp-bottom-right {
    left: 30px;
    right: auto;
}

.rtl .ccp-bottom-left {
    right: 30px;
    left: auto;
}

.rtl .ccp-popup-container {
    left: 0;
    right: auto;
}

.rtl .ccp-platform-icon {
    margin-right: 0;
    margin-left: 12px;
}

/* High Contrast Mode - No borders needed for logo-only design */
@media (prefers-contrast: high) {
    .ccp-popup-container {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .ccp-popup-body {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .ccp-platform-btn {
        border: none !important;
    }
}/* Tablet Responsive - Logo only layout */
@media (max-width: 768px) {
    .ccp-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .ccp-bottom-left {
        left: 20px;
        right: auto;
    }
    
    .ccp-top-left,
    .ccp-top-right {
        top: 20px;
    }
    
    .ccp-popup-container {
        width: auto;
        min-width: 50px;
        right: 0;
    }
    
    .ccp-bottom-left .ccp-popup-container {
        left: 0;
        right: auto;
    }
    
    .ccp-toggle-btn {
        width: 56px;
        height: 56px;
    }
    
    .ccp-platform-btn {
        width: 52px;
        height: 52px;
    }
    
    .ccp-platform-icon img {
        width: 52px;
        height: 52px;
    }
    
    .ccp-popup-body {
         gap: 11px;
     }
 }

/* Force remove all borders and backgrounds - Override any conflicting CSS */
.ccp-popup-container,
.ccp-popup-container *,
.ccp-popup-body,
.ccp-popup-body * {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Ensure popup elements are truly transparent */
.ccp-widget .ccp-popup-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ccp-widget .ccp-popup-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (