.chat-shell {

    display: grid;

    grid-template-columns: 340px 1fr;

    gap: 20px;

    min-height: 75vh;
}

/* SIDEBAR */

.chat-sidebar {

    background: white;

    border-radius: 28px;

    border: 1px solid #e5e7eb;

    overflow: hidden;

    display: flex;

    flex-direction: column;
}

.chat-users-list {

    overflow-y: auto;

    flex: 1;
}

.chat-user-card {

    padding: 18px;

    border-bottom: 1px solid #f1f5f9;

    cursor: pointer;

    transition: all 0.25s ease;
}

.chat-user-card:hover {

    background: #f8fafc;
}

/* WINDOW */

.chat-window {

    background: white;

    border-radius: 28px;

    border: 1px solid #e5e7eb;

    overflow: hidden;

    display: flex;

    flex-direction: column;
}

.chat-header {

    padding: 20px;

    border-bottom: 1px solid #e5e7eb;

    font-weight: 700;

    font-size: 18px;
}

.chat-messages {

    flex: 1;

    overflow-y: auto;

    padding: 24px;

    background: #f8fafc;
}

/* INPUT */

.chat-input-wrapper {

    display: flex;

    gap: 12px;

    padding: 20px;

    border-top: 1px solid #e5e7eb;
}

.chat-input {

    flex: 1;

    border: 1px solid #d1d5db;

    border-radius: 18px;

    padding: 14px 18px;
}

.chat-send-btn {

    background: #2563eb;

    color: white;

    border: none;

    padding: 14px 22px;

    border-radius: 18px;

    font-weight: 600;

    cursor: pointer;
}

/* MOBILE */

@media (max-width: 1024px) {

    .chat-shell {

        grid-template-columns: 1fr;
    }

    .chat-sidebar {

        min-height: 300px;
    }

    .chat-window {

        min-height: 70vh;
    }
}