/* agent-style.css - Dark Mode Version */ 

#chat-container { 
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 450px;
    background: rgba(30, 30, 40, 0.95); 
    border: 1px solid rgba(118, 75, 162, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    font-family: 'Heebo', sans-serif;
}

.AI-header {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #1a1a2e; 
}

#messages::-webkit-scrollbar {
    width: 6px;
}
#messages::-webkit-scrollbar-thumb {
    background: #4a4a6a;
    border-radius: 3px;
}

.msg {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 15px;
    position: relative;
    word-wrap: break-word;
}

.bot {
    background: #2d2d3a; 
    color: #e0e0e0;
    border: 1px solid #3d3d4d;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* סגול */
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}


.input-area {
    display: flex;
    padding: 15px;
    background: #161625;
    border-top: 1px solid #333;
    align-items: center;
    gap: 10px;
}

input#userInput {
    flex: 1;
    background: #0f0f1a !important; 
    border: 1px solid #333 !important;
    color: white !important;
    padding: 12px 15px;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

input#userInput:focus {
    border-color: #764ba2 !important;
    box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.2);
}

button#send-btn {
    background: #764ba2;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    flex-shrink: 0; 
}

button#send-btn:hover {
    background: #8e5fc9;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(118, 75, 162, 0.6);
}

.typing {
    padding: 0 20px 10px 20px;
    font-size: 12px;
    color: #888;
    font-style: italic;
    background: #1a1a2e;
    display: none;
}
