/* TP Concierge Widget Styles */

#tp-concierge-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#tp-concierge-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #0056b3;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s;
}

#tp-concierge-toggle:hover {
    transform: scale(1.05);
}

#tp-concierge-panel {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#tp-concierge-widget.open #tp-concierge-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#tp-concierge-widget.open #tp-concierge-toggle {
    display: none;
}

.tp-concierge-header {
    background: #0056b3;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-concierge-header h3 {
    margin: 0;
    font-size: 16px;
}

#tp-concierge-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#tp-concierge-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.tp-msg.tp-bot {
    background: #e9ecef;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.tp-msg.tp-user {
    background: #0056b3;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.tp-concierge-input-area {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
}

#tp-concierge-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

#tp-concierge-send {
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 15px;
    margin-left: 10px;
    cursor: pointer;
}
