/* Bytepaper Click-to-Chat Widget Styles */

#swc-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    /* Removed Work Sans to drop Google Fonts, utilizing modern system fonts instead */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#swc-toggle-button {
    background-color: #021731;
    color: white;
    border: none;
    padding: 0px 25px;
    border-radius: 25%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#swc-toggle-button svg {
    transition: transform 0.3s ease;
}
#swc-toggle-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
#swc-chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    border: 2px solid #021731;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}
#swc-widget-container:not(.swc-widget-hidden) #swc-chat-popup {
    display: flex;
}
#swc-widget-container.swc-widget-hidden #swc-chat-popup {
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
}
#swc-widget-container:hover {
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.2));
}
.swc-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.swc-header p {
    margin: 0;
}
.swc-header-title-wrapper,
.swc-header-subtitle-wrapper {
    background-color: #021731;
    padding: 8px 12px;
    margin-bottom: -6px;
}
.swc-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}
.swc-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
}
.swc-status-dot {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    margin-right: 8px;
}
.swc-body {
    padding: 0 20px 10px 20px;
    border-bottom: 1px solid #eee;
}
.swc-start-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background-color: #021731;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.swc-start-chat-btn:hover {
    background-color: #4F9E57;
    color: white;
}
.swc-footer {
    padding: 4px 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.swc-footer:hover {
    color: #555;
}
.swc-footer-icon {
    height: 25px;
    margin-left: 6px;
}