/* Pilot AI - Modern & Clean Design 🚀 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.app-container {
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: #1e293b;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Header Ayarları */
header {
    padding: 15px 20px;
    background: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #475569;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #22c55e;
}

#user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

#user-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #22c55e;
}

#model-select {
    background: #0f172a;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #475569;
}

/* Chat Alanı */
#chat-window {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #1e293b;
}

.user-msg, .ai-msg {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-msg {
    align-self: flex-end;
    background: #22c55e;
    color: white;
    border-bottom-right-radius: 2px;
}

.ai-msg {
    align-self: flex-start;
    background: #334155;
    color: #f1f5f9;
    border-bottom-left-radius: 2px;
}

/* Input Alanı */
.input-area {
    padding: 20px;
    background: #1e293b;
    display: flex;
    gap: 10px;
    border-top: 1px solid #475569;
}

#user-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #0f172a;
    color: white;
    outline: none;
}

#user-input:focus {
    border-color: #22c55e;
}

#send-btn {
    padding: 10px 20px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#send-btn:hover {
    background: #16a34a;
}

/* Scrollbar Tasarımı */
#chat-window::-webkit-scrollbar {
    width: 6px;
}
#chat-window::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}
