/* Chat and Portal specific styles */
.chat-container {
    height: 500px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.message-mine {
    align-self: flex-end;
    background-color: var(--color-primary);
    color: white;
}

.message-theirs {
    align-self: flex-start;
    background-color: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.message-meta {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.chat-input {
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 1rem;
}

.chat-input textarea {
    flex: 1;
    resize: none;
    height: 60px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(143, 163, 154, 0.2);
}

/* Override portal container */
.portal-wrapper {
    margin-top: 120px;
}
