/* Login Screen Layout - Overridden by login.css */
/* Legacy styles kept for compatibility, see login.css for new design */

/* Chat Screen Layout */
#chat-screen {
    display: none;
}

#user-info {
    text-align: right;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

#user-info button {
    background: none;
    border: none;
    color: var(--accent-danger);
    cursor: pointer;
    margin-left: 10px;
    text-decoration: underline;
}

#chat-container {
    height: 600px;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    background: var(--bg-primary);
    overflow-y: auto;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#input-area {
    display: flex;
    gap: 10px;
}

#prompt-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

#prompt-input::placeholder {
    color: var(--text-tertiary);
}

button.send {
    padding: 10px 20px;
    background-color: var(--accent-success);
    color: var(--text-on-brand);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button.send:hover {
    background-color: var(--accent-success-hover);
}

button.send:disabled {
    background-color: var(--text-tertiary);
    cursor: not-allowed;
}

#remote-link {
    text-align: center;
    margin-bottom: 20px;
}

#remote-link a {
    color: var(--accent-info);
    text-decoration: none;
    font-weight: bold;
}

#remote-link a:hover {
    color: var(--accent-info-hover);
}

/* Toolbar */
#toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#toolbar button {
    padding: 6px 14px;
    background: var(--accent-info);
    color: var(--text-on-brand);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
}

#toolbar button:hover {
    background: var(--accent-info-hover);
}

/* Session Modal */
#session-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modal-overlay);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

#session-modal.active {
    display: flex;
}

#session-modal-content {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

#session-modal-content h2 {
    margin-top: 0;
    color: var(--text-primary);
}
