/* DOSYA: /assets/css/chat-desktop.css */

.chat-layout {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    min-height: 100vh;
    background: #ffffff;
    color: #111827;
}

.left-media {
    background: #f8fafc;
    border-right: 1px solid #e5e7eb;
    padding: 16px;
    overflow-y: auto;
}

.chat-main {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    min-width: 0;
}

.chat-messages-wrap {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #ffffff;
}

.chat-form-wrap {
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;
    background: #f9fafb;
}

.chat-right {
    background: #f8fafc;
    border-left: 1px solid #e5e7eb;
    padding: 16px;
    overflow-y: auto;
}

.room-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.room-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.room-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.room-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.room-header-actions {
    display: flex;
    gap: 10px;
}

.header-btn {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-btn:hover {
    background: #f3f4f6;
    border-color: #cbd5e1;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.message-item .message-user {
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.message-item .message-text {
    color: #374151;
    line-height: 1.5;
}

.nick-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.nick-item .nick-name {
    font-weight: 600;
    color: #111827;
}

.nick-item .nick-status {
    font-size: 12px;
    color: #6b7280;
}

.message-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-input {
    flex: 1;
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
    color: #111827;
}

.message-input:focus {
    border-color: #2563eb;
}

.send-button {
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.send-button:hover {
    background: #1d4ed8;
}

.media-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.media-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.media-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
}

.media-box p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}