.chat-app {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 70px;

    background: #ffffff;

    display: flex;
    flex-direction: column;

    overflow: hidden;

}

.chat-header {

    height: 60px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 16px;

    background: white;

    border-bottom: 1px solid #e5e5ea;

}

.back-button {

    text-decoration: none;

    color: #007aff;

    font-size: 28px;

    line-height: 1;

}

.chat-name {

    font-size: 18px;

    font-weight: 600;

    color: #000;

}

.messages {

    flex: 1;

    overflow-y: auto;

    padding: 16px;

    background: #ffffff;

    display: flex;
    flex-direction: column;

    gap: 10px;

    box-sizing: border-box;

}

.bubble {

    max-width: 75%;

    padding: 10px 14px;

    border-radius: 20px;

    font-size: 16px;

    line-height: 1.4;

    word-wrap: break-word;

    box-sizing: border-box;

}

.incoming {

    align-self: flex-start;

    background: #e9e9eb;

    color: #000000;

}

.outgoing {

    align-self: flex-end;

    background: #34c759;

    color: white;

}

.messages::-webkit-scrollbar {

    width: 6px;

}

.messages::-webkit-scrollbar-thumb {

    background: #cccccc;

    border-radius: 999px;

}

.bubble a {

    color: inherit;

}