/* Warm Springs Telecom - Chat Assistant widget styles */
#wstel-chat-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6347 100%);
    color: #fff;
    font-size: 1.6em;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#wstel-chat-launcher:hover {
    transform: scale(1.08);
}

#wstel-chat-window {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 9999;
    width: 340px;
    max-width: calc(100vw - 40px);
    height: 460px;
    max-height: calc(100vh - 140px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#wstel-chat-window.wstel-chat-open {
    display: flex;
}

.wstel-chat-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wstel-chat-header h3 {
    margin: 0;
    font-size: 1.05em;
}

.wstel-chat-header p {
    margin: 2px 0 0;
    font-size: 0.78em;
    opacity: 0.9;
}

.wstel-chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3em;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
}

.wstel-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: #f8f9fa;
}

.wstel-chat-msg {
    max-width: 85%;
    margin-bottom: 10px;
    padding: 10px 13px;
    border-radius: 12px;
    line-height: 1.45;
    font-size: 0.92em;
}

.wstel-chat-msg.bot {
    background: #eef2f9;
    color: #1e3c72;
    border-bottom-left-radius: 2px;
}

.wstel-chat-msg.user {
    background: #00b4db;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.wstel-chat-msg a {
    color: #0083b0;
    font-weight: 600;
}

.wstel-chat-msg.bot a {
    color: #1e3c72;
    text-decoration: underline;
}

.wstel-chat-link-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6347 100%);
    color: #fff !important;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none !important;
}

.wstel-chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.wstel-chat-chip {
    background: #fff;
    border: 1px solid #2a5298;
    color: #1e3c72;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.wstel-chat-chip:hover {
    background: #1e3c72;
    color: #fff;
}

.wstel-chat-input-row {
    display: flex;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    gap: 8px;
    background: #fff;
}

.wstel-chat-input-row input {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.9em;
    outline: none;
}

.wstel-chat-input-row input:focus {
    border-color: #00b4db;
}

.wstel-chat-send {
    background: #1e3c72;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 1em;
}

@media (max-width: 480px) {
    #wstel-chat-window {
        right: 10px;
        left: 10px;
        width: auto;
    }
    #wstel-chat-launcher {
        right: 14px;
        bottom: 14px;
    }
}
