/* Messages Page Styles */

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.messages-header .back-btn { font-size: 18px; color: #333; }
.messages-header .header-title { font-size: 17px; font-weight: 600; }
.messages-header .header-actions { color: #27ae60; font-size: 18px; }

.messages-content {
    background: #fff;
    padding-bottom: 40px;
}

/* Quick Nav */
.quick-nav {
    display: flex;
    justify-content: space-between;
    padding: 24px 16px;
    background: #fff;
}

.quick-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bg-green { background: #16a34a; }
.bg-blue { background: #2563eb; }
.bg-orange { background: #ea580c; }
.bg-red { background: #dc2626; }

.quick-nav .nav-item span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* Message List */
.message-list {
    padding: 0 16px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #f9f9f9;
}

.item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.bg-blue-light { background: #3b82f6; }
.bg-purple { background: #9333ea; }

.item-content {
    flex: 1;
}

.item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    position: relative;
}

.item-title-row .title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.item-title-row .time {
    font-size: 11px;
    color: #bbb;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.item-content .preview {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
