/* ============ INBOX COMPONENT STYLES ============ */
.inbox-section h2 {
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 2em;
}

.inbox-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.message-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9em;
}

.filter-btn:hover {
    border-color: #2196F3;
    background: #f5f5f5;
}

.filter-btn.active {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.message-item {
    transition: all 0.3s ease;
}

.message-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.message-item.unread {
    font-weight: bold;
}

.recipient-item {
    transition: background 0.2s ease;
}

.recipient-item:hover {
    background: #f0f0f0 !important;
}

#recipientDropdown {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Responsive Design */
@media (max-width: 768px) {
    .inbox-container {
        grid-template-columns: 1fr;
    }
    
    .message-filter {
        justify-content: space-between;
    }
    
    .filter-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 80px;
    }
}
