/* StickerVisa Chat CTA Styles */
.stickervisa-chat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.stickervisa-chat-trigger:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.stickervisa-chat-trigger svg {
    width: 20px;
    height: 20px;
}

.stickervisa-chat-wrapper.stickervisa-chat-inline {
    margin: 20px 0;
    text-align: center;
}

.stickervisa-chat-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
}

.stickervisa-chat-drawer.active {
    pointer-events: all;
}

.stickervisa-chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stickervisa-chat-drawer.active .stickervisa-chat-overlay {
    opacity: 1;
}

.stickervisa-chat-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.stickervisa-chat-drawer.active .stickervisa-chat-panel {
    transform: translateX(0);
}

.stickervisa-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.stickervisa-chat-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.stickervisa-chat-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s;
}

.stickervisa-chat-close:hover {
    color: #000;
}

.stickervisa-chat-input-area {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.stickervisa-chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.stickervisa-chat-input:focus {
    border-color: #0066cc;
}

.stickervisa-chat-send {
    padding: 12px 24px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.stickervisa-chat-send:hover {
    background: #0052a3;
}

.stickervisa-chat-iframe-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.stickervisa-chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .stickervisa-chat-panel {
        max-width: 100%;
    }
    
    .stickervisa-chat-trigger {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .stickervisa-chat-header h3 {
        font-size: 18px;
    }
    
    .stickervisa-chat-input-area {
        padding: 15px;
    }
    
    .stickervisa-chat-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .stickervisa-chat-send {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Accessibility */
.stickervisa-chat-trigger:focus,
.stickervisa-chat-close:focus,
.stickervisa-chat-send:focus,
.stickervisa-chat-input:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
