/* AIO Galaxy Co-Pilot Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

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

.login-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 340px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 20px;
    color: #38bdf8;
    font-size: 22px;
}

.pin-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 4px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #0369a1;
}

.app-container {
    width: 95%;
    max-width: 1050px;
    height: 90vh;
    background-color: #1e293b;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.app-header {
    background-color: #0f172a;
    padding: 16px 24px;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    font-size: 18px;
    font-weight: bold;
    color: #38bdf8;
}

.app-status {
    font-size: 13px;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-bar {
    background-color: #1e293b;
    padding: 12px 20px;
    border-bottom: 1px solid #334155;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-pill {
    background-color: #334155;
    color: #cbd5e1;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pill:hover {
    background-color: #0284c7;
    color: #ffffff;
}

.chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.msg-bot {
    align-self: flex-start;
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.msg-user {
    align-self: flex-end;
    background-color: #0369a1;
    color: #ffffff;
}

.chat-footer {
    padding: 15px 20px;
    background-color: #0f172a;
    border-top: 1px solid #334155;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.chat-send {
    background-color: #0284c7;
    border: none;
    color: white;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.chat-send:hover {
    background-color: #0369a1;
}

pre {
    background-color: #020617;
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    overflow-x: auto;
    color: #38bdf8;
    font-size: 12px;
}

.model-select {
    background-color: #0f172a;
    color: #38bdf8;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    font-weight: 500;
}

.model-select option {
    background-color: #1e293b;
    color: #ffffff;
}