/* ============================================
   MODERN FRIENDS & MESSAGES PAGE STYLES
   ============================================ */

/* Page Container */
.friends-page-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.friends-header {
    margin-bottom: 2rem;
}

.friends-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.friends-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fef08a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.friends-title i {
    color: rgba(255, 159, 28, 0.9);
    filter: drop-shadow(0 2px 4px rgba(255, 159, 28, 0.3));
}

.friends-search-wrapper {
    flex: 1;
    max-width: 400px;
}

.friends-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.friends-search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(226, 232, 240, 0.6);
    z-index: 1;
}

.friends-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.friends-search-input:focus {
    outline: none;
    border-color: rgba(255, 159, 28, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.friends-search-input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

/* Layout */
.friends-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
    min-height: 600px;
}

@media (max-width: 992px) {
    .friends-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
}

/* Sidebar */
.friends-sidebar {
    display: flex;
    flex-direction: column;
}

.friends-sidebar-card {
    background: rgba(21, 27, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Tabs */
.friends-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem;
    gap: 0.5rem;
}

.friends-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.friends-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.friends-tab.active {
    background: rgba(255, 159, 28, 0.15);
    color: #fef08a;
}

.friends-tab i {
    font-size: 1rem;
}

.friends-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Tab Content */
.friends-tab-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.friends-tab-pane {
    display: none;
    flex: 1;
    overflow: hidden;
    flex-direction: column;
}

.friends-tab-pane.active {
    display: flex;
}

.friends-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.friends-list::-webkit-scrollbar {
    width: 6px;
}

.friends-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.friends-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.friends-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* List Items */
.friends-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.friends-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.friends-list-item.active {
    background: rgba(255, 159, 28, 0.12);
    border-color: rgba(255, 159, 28, 0.25);
}

.friends-list-item-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.friends-list-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friends-list-item-content {
    flex: 1;
    min-width: 0;
}

.friends-list-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friends-list-item-meta {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.6);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friends-list-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.friends-list-item-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 159, 28, 0.15);
    color: #fef08a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.friends-list-item-action:hover {
    background: rgba(255, 159, 28, 0.25);
    transform: scale(1.1);
}

.friends-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.friends-action-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: scale(1.1);
}

.friends-action-btn-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.friends-action-btn-success:hover {
    background: rgba(34, 197, 94, 0.25);
}

.friends-action-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.friends-action-btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Badges */
.friends-badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.friends-badge-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Empty States */
.friends-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(226, 232, 240, 0.6);
}

.friends-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: rgba(226, 232, 240, 0.4);
}

.friends-empty-state p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.7);
}

.friends-empty-state small {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.5);
}

/* Loading State */
.friends-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: rgba(226, 232, 240, 0.6);
}

.friends-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 159, 28, 0.8);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Requests Section */
.friends-requests-section {
    margin-bottom: 2rem;
}

.friends-requests-section:last-child {
    margin-bottom: 0;
}

.friends-requests-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

/* Pagination */
.friends-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.friends-pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.friends-pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 159, 28, 0.3);
    color: #fef08a;
}

.friends-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.friends-pagination-info {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.7);
}

/* Chat Area */
.friends-chat-area {
    display: flex;
    flex-direction: column;
}

.friends-chat-card {
    background: rgba(21, 27, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.friends-chat-header {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.friends-chat-header-placeholder {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(226, 232, 240, 0.6);
}

.friends-chat-header-placeholder i {
    font-size: 2rem;
    opacity: 0.5;
}

.friends-chat-header-placeholder h5 {
    margin: 0;
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.7);
}

.friends-chat-header-placeholder p {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.5);
}

.friends-chat-header-active {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.friends-chat-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 159, 28, 0.3);
}

.friends-chat-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friends-chat-header-info {
    flex: 1;
}

.friends-chat-header-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.friends-chat-header-meta {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.6);
}

.friends-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative !important;
}

.friends-chat-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, 0.5);
    padding: 3rem;
}

.friends-chat-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.friends-chat-placeholder h4 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: rgba(226, 232, 240, 0.7);
}

.friends-chat-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.5);
}

/* ============================================
   CHAT MESSAGES - REBUILT FROM SCRATCH
   ============================================ */

/* Chat Messages Wrapper */
.friends-chat-messages-wrapper {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-height: 0 !important;
    width: 100% !important;
}

/* Messages Container */
.friends-chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    min-height: 0 !important;
    max-height: 650px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.friends-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.friends-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.friends-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.friends-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Empty State */
.friends-chat-empty {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(226, 232, 240, 0.5) !important;
    padding: 2rem !important;
}

.friends-chat-empty i {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    opacity: 0.4 !important;
}

.friends-chat-empty p {
    margin: 0.5rem 0 !important;
    font-size: 1rem !important;
    color: rgba(226, 232, 240, 0.7) !important;
}

.friends-chat-empty small {
    font-size: 0.85rem !important;
    color: rgba(226, 232, 240, 0.5) !important;
}

/* Message Container */
.friends-message {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Incoming Messages - Left Aligned */
.friends-message-incoming {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Outgoing Messages - Right Aligned */
.friends-message-outgoing {
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Message Bubble */
.friends-message-bubble {
    max-width: 75% !important;
    min-width: 84px !important;
    padding: 0.5rem 0.7rem !important;
    border-radius: 13px !important;
    word-wrap: break-word !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.friends-message-incoming .friends-message-bubble {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom-left-radius: 4px !important;
    align-items: flex-start !important;
}

.friends-message-outgoing .friends-message-bubble {
    background: rgba(255, 159, 28, 0.15) !important;
    border: 1px solid rgba(255, 159, 28, 0.2) !important;
    border-bottom-right-radius: 4px !important;
    align-items: flex-end !important;
}

.friends-message-text {
    color: #e2e8f0 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.2rem !important;
    word-break: break-word !important;
}

.friends-message-time {
    font-size: 0.65rem !important;
    color: rgba(226, 232, 240, 0.5) !important;
    margin-top: 0.1rem !important;
    white-space: nowrap !important;
}

.friends-message-incoming .friends-message-time {
    text-align: left !important;
}

.friends-message-outgoing .friends-message-time {
    text-align: right !important;
}

.friends-message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.friends-message-clickable {
    cursor: pointer;
    transition: transform 0.1s, opacity 0.1s;
}

.friends-message-clickable:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.friends-message-context-menu {
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    min-width: 150px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.friends-message-context-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s;
    font-size: 0.9rem;
}

.friends-message-context-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.friends-message-context-item-danger {
    color: rgba(255, 107, 107, 0.9);
}

.friends-message-context-item-danger:hover {
    background: rgba(255, 107, 107, 0.1);
    color: rgba(255, 107, 107, 1);
}

.friends-message-context-item i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

/* Date Divider - Discord Style */
.friends-message-date-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1.5rem 0 !important;
    position: relative !important;
    width: 100% !important;
}

.friends-message-date-divider::before,
.friends-message-date-divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.friends-message-date-divider-text {
    padding: 0 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: rgba(226, 232, 240, 0.6) !important;
    background: rgba(21, 27, 41, 0.8) !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
}

/* ============================================
   CHAT INPUT - REBUILT FROM SCRATCH
   ============================================ */

.friends-chat-input-wrapper {
    padding: 1rem 1.5rem !important;
    background: rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.friends-chat-input-form {
    display: flex !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.friends-chat-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0.875rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    color: #e2e8f0 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    resize: none !important;
    min-height: 44px !important;
    max-height: 120px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.friends-chat-input:focus {
    outline: none !important;
    border-color: rgba(255, 159, 28, 0.4) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1) !important;
}

.friends-chat-input::placeholder {
    color: rgba(226, 232, 240, 0.5) !important;
}

.friends-chat-send-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 159, 28, 0.2) !important;
    border: 1px solid rgba(255, 159, 28, 0.3) !important;
    color: #fef08a !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(255, 159, 28, 0.2) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.friends-chat-send-btn:hover {
    background: rgba(255, 159, 28, 0.3) !important;
    border-color: rgba(255, 159, 28, 0.4) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3) !important;
}

.friends-chat-send-btn:active {
    transform: scale(0.95) !important;
}

.friends-chat-send-btn i {
    font-size: 1rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Scroll to Bottom Button */
.friends-scroll-to-bottom {
    position: absolute !important;
    bottom: 90px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: none !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 159, 28, 0.2) !important;
    border: 1px solid rgba(255, 159, 28, 0.3) !important;
    border-radius: 20px !important;
    color: #fef08a !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.friends-scroll-to-bottom.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
}

.friends-scroll-to-bottom:hover {
    background: rgba(255, 159, 28, 0.3) !important;
    border-color: rgba(255, 159, 28, 0.4) !important;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 159, 28, 0.3) !important;
}

.friends-scroll-to-bottom:active {
    transform: translateX(-50%) translateY(0) !important;
}

.friends-scroll-to-bottom i {
    font-size: 0.9rem !important;
}

.friends-chat-messages-wrapper {
    position: relative !important;
}

.friends-chat-body {
    position: relative !important;
}

/* Responsive */
@media (max-width: 992px) {
    .friends-layout {
        grid-template-columns: 1fr;
    }
    
    .friends-sidebar {
        margin-bottom: 1.5rem;
    }
    
    .friends-sidebar-card {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .friends-page-container {
        padding: 1rem;
    }
    
    .friends-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .friends-search-wrapper {
        max-width: 100%;
    }
    
    .friends-title {
        font-size: 1.5rem;
    }
    
    .friends-message-bubble {
        max-width: 85%;
    }
}




