/**
 * Frontend Styles for PSY PDF RAG Chat Agent
 */

/* Chat Widget Styles (for future frontend implementation) */
.psy-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.psy-chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2271b1;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.psy-chat-button:hover {
    background: #135e96;
    transform: scale(1.1);
}

.psy-chat-widget-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    overflow: hidden;
}

.psy-chat-widget-window.open {
    display: flex;
}

.psy-chat-widget-header {
    padding: 15px;
    background: #2271b1;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psy-chat-widget-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.psy-chat-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
}

.psy-chat-widget-input {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.psy-chat-widget-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
}

.psy-chat-widget-input button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.psy-chat-widget-input button:hover {
    background: #135e96;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .psy-chat-widget-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
    }
}
