html, body {
    height: 100vh;
    overflow: hidden;
}

.chat-container {
    height: 100vh;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.columns {
    height: 100%;
    margin: 0 !important;
}

.contacts-list {
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
    padding: 0 !important;
}

.contact-item {
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    padding: 15px;
}

.contact-item:hover {
    background-color: #f5f5f5;
}

.contact-item.active {
    background-color: #f0f0f0;
}

.chat-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f5f5f5;
}

.message {
    max-width: 75%;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
}

.message-user {
    background-color: #dcf8c6;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message-assistant {
    background-color: white;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

.chat-input-container {
    padding: 15px;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.no-chat-selected {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
    background-color: #f8f8f8;
}

.empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 20px;
}

.phone-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #25D366;
}

.preview-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
}

/* New chat button styles */
#new-chat-btn {
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Date separator styles */
.date-separator {
    text-align: center;
    margin: 15px 0;
}

.date-separator .tag {
    background-color: #f0f0f0;
    color: #666;
}

/* Make sure the columns fill the height */
.column {
    display: flex;
    flex-direction: column;
    height: 100%;
}